Java Code Examples for org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel#setText()
The following examples show how to use
org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel#setText() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SendTaskEditPart.java From bonita-studio with GNU General Public License v2.0 | 6 votes |
/** * @generated */ private void createContents() { fFigureActivityNameFigure = new WrappingLabel(); fFigureActivityNameFigure.setText(""); GridData constraintFFigureActivityNameFigure = new GridData(); constraintFFigureActivityNameFigure.verticalAlignment = GridData.CENTER; constraintFFigureActivityNameFigure.horizontalAlignment = GridData.FILL; constraintFFigureActivityNameFigure.horizontalIndent = 0; constraintFFigureActivityNameFigure.horizontalSpan = 1; constraintFFigureActivityNameFigure.verticalSpan = 1; constraintFFigureActivityNameFigure.grabExcessHorizontalSpace = true; constraintFFigureActivityNameFigure.grabExcessVerticalSpace = true; this.add(fFigureActivityNameFigure, constraintFFigureActivityNameFigure); }
Example 2
Source File: TextAnnotation2EditPart.java From bonita-studio with GNU General Public License v2.0 | 6 votes |
/** * @generated */ private void createContents() { fFigureNoteMessage = new WrappingLabel(); fFigureNoteMessage.setText(""); GridData constraintFFigureNoteMessage = new GridData(); constraintFFigureNoteMessage.verticalAlignment = GridData.CENTER; constraintFFigureNoteMessage.horizontalAlignment = GridData.CENTER; constraintFFigureNoteMessage.horizontalIndent = 0; constraintFFigureNoteMessage.horizontalSpan = 1; constraintFFigureNoteMessage.verticalSpan = 1; constraintFFigureNoteMessage.grabExcessHorizontalSpace = true; constraintFFigureNoteMessage.grabExcessVerticalSpace = true; this.add(fFigureNoteMessage, constraintFFigureNoteMessage); }
Example 3
Source File: IntermediateErrorCatchEvent2EditPart.java From bonita-studio with GNU General Public License v2.0 | 6 votes |
/** * @generated */ private void createContents() { WrappingLabel intermediateCatchErrorEventNameFigure0 = new WrappingLabel(); intermediateCatchErrorEventNameFigure0.setText(""); GridData constraintIntermediateCatchErrorEventNameFigure0 = new GridData(); constraintIntermediateCatchErrorEventNameFigure0.verticalAlignment = GridData.CENTER; constraintIntermediateCatchErrorEventNameFigure0.horizontalAlignment = GridData.CENTER; constraintIntermediateCatchErrorEventNameFigure0.horizontalIndent = 0; constraintIntermediateCatchErrorEventNameFigure0.horizontalSpan = 1; constraintIntermediateCatchErrorEventNameFigure0.verticalSpan = 1; constraintIntermediateCatchErrorEventNameFigure0.grabExcessHorizontalSpace = true; constraintIntermediateCatchErrorEventNameFigure0.grabExcessVerticalSpace = true; this.add(intermediateCatchErrorEventNameFigure0, constraintIntermediateCatchErrorEventNameFigure0); }
Example 4
Source File: NonInterruptingBoundaryTimerEventEditPart.java From bonita-studio with GNU General Public License v2.0 | 6 votes |
/** * @generated */ private void createContents() { WrappingLabel nonInterruptingBoundaryTimerEventNameFigure0 = new WrappingLabel(); nonInterruptingBoundaryTimerEventNameFigure0.setText(""); GridData constraintNonInterruptingBoundaryTimerEventNameFigure0 = new GridData(); constraintNonInterruptingBoundaryTimerEventNameFigure0.verticalAlignment = GridData.CENTER; constraintNonInterruptingBoundaryTimerEventNameFigure0.horizontalAlignment = GridData.CENTER; constraintNonInterruptingBoundaryTimerEventNameFigure0.horizontalIndent = 0; constraintNonInterruptingBoundaryTimerEventNameFigure0.horizontalSpan = 1; constraintNonInterruptingBoundaryTimerEventNameFigure0.verticalSpan = 1; constraintNonInterruptingBoundaryTimerEventNameFigure0.grabExcessHorizontalSpace = true; constraintNonInterruptingBoundaryTimerEventNameFigure0.grabExcessVerticalSpace = true; this.add(nonInterruptingBoundaryTimerEventNameFigure0, constraintNonInterruptingBoundaryTimerEventNameFigure0); }
Example 5
Source File: ActivityEditPart.java From bonita-studio with GNU General Public License v2.0 | 6 votes |
/** * @generated */ private void createContents() { fFigureActivityNameFigure = new WrappingLabel(); fFigureActivityNameFigure.setText(""); GridData constraintFFigureActivityNameFigure = new GridData(); constraintFFigureActivityNameFigure.verticalAlignment = GridData.CENTER; constraintFFigureActivityNameFigure.horizontalAlignment = GridData.FILL; constraintFFigureActivityNameFigure.horizontalIndent = 0; constraintFFigureActivityNameFigure.horizontalSpan = 1; constraintFFigureActivityNameFigure.verticalSpan = 1; constraintFFigureActivityNameFigure.grabExcessHorizontalSpace = true; constraintFFigureActivityNameFigure.grabExcessVerticalSpace = true; this.add(fFigureActivityNameFigure, constraintFFigureActivityNameFigure); }
Example 6
Source File: StreamFigure.java From scava with Eclipse Public License 2.0 | 6 votes |
private void createContents() { fFigureTopicLabelFigure = new WrappingLabel(); fFigureTopicLabelFigure.setText(isTopic ? "Topic" : "Queue"); GridData constraintFFigureTopicLabelFigure = new GridData(); constraintFFigureTopicLabelFigure.verticalAlignment = GridData.CENTER; constraintFFigureTopicLabelFigure.horizontalAlignment = GridData.CENTER; constraintFFigureTopicLabelFigure.horizontalIndent = 0; constraintFFigureTopicLabelFigure.horizontalSpan = 1; constraintFFigureTopicLabelFigure.verticalSpan = 1; constraintFFigureTopicLabelFigure.grabExcessHorizontalSpace = true; constraintFFigureTopicLabelFigure.grabExcessVerticalSpace = true; this.add(fFigureTopicLabelFigure, constraintFFigureTopicLabelFigure); }
Example 7
Source File: BoundaryTimerEventEditPart.java From bonita-studio with GNU General Public License v2.0 | 6 votes |
/** * @generated */ private void createContents() { WrappingLabel boundaryTimerEventNameFigure0 = new WrappingLabel(); boundaryTimerEventNameFigure0.setText(""); GridData constraintBoundaryTimerEventNameFigure0 = new GridData(); constraintBoundaryTimerEventNameFigure0.verticalAlignment = GridData.CENTER; constraintBoundaryTimerEventNameFigure0.horizontalAlignment = GridData.CENTER; constraintBoundaryTimerEventNameFigure0.horizontalIndent = 0; constraintBoundaryTimerEventNameFigure0.horizontalSpan = 1; constraintBoundaryTimerEventNameFigure0.verticalSpan = 1; constraintBoundaryTimerEventNameFigure0.grabExcessHorizontalSpace = true; constraintBoundaryTimerEventNameFigure0.grabExcessVerticalSpace = true; this.add(boundaryTimerEventNameFigure0, constraintBoundaryTimerEventNameFigure0); }
Example 8
Source File: SinkEditPart.java From scava with Eclipse Public License 2.0 | 6 votes |
/** * @generated */ private void createContents() { fFigureSinkLabelFigure = new WrappingLabel(); fFigureSinkLabelFigure.setText("Sink"); GridData constraintFFigureSinkLabelFigure = new GridData(); constraintFFigureSinkLabelFigure.verticalAlignment = GridData.CENTER; constraintFFigureSinkLabelFigure.horizontalAlignment = GridData.CENTER; constraintFFigureSinkLabelFigure.horizontalIndent = 0; constraintFFigureSinkLabelFigure.horizontalSpan = 1; constraintFFigureSinkLabelFigure.verticalSpan = 1; constraintFFigureSinkLabelFigure.grabExcessHorizontalSpace = true; constraintFFigureSinkLabelFigure.grabExcessVerticalSpace = true; this.add(fFigureSinkLabelFigure, constraintFFigureSinkLabelFigure); }
Example 9
Source File: SendTask2EditPart.java From bonita-studio with GNU General Public License v2.0 | 6 votes |
/** * @generated */ private void createContents() { fFigureActivityNameFigure = new WrappingLabel(); fFigureActivityNameFigure.setText(""); GridData constraintFFigureActivityNameFigure = new GridData(); constraintFFigureActivityNameFigure.verticalAlignment = GridData.CENTER; constraintFFigureActivityNameFigure.horizontalAlignment = GridData.FILL; constraintFFigureActivityNameFigure.horizontalIndent = 0; constraintFFigureActivityNameFigure.horizontalSpan = 1; constraintFFigureActivityNameFigure.verticalSpan = 1; constraintFFigureActivityNameFigure.grabExcessHorizontalSpace = true; constraintFFigureActivityNameFigure.grabExcessVerticalSpace = true; this.add(fFigureActivityNameFigure, constraintFFigureActivityNameFigure); }
Example 10
Source File: CommitmentTaskEditPart.java From scava with Eclipse Public License 2.0 | 6 votes |
/** * @generated */ private void createContents() { fFigureCommitmentTaskLabelFigure = new WrappingLabel(); fFigureCommitmentTaskLabelFigure.setText("CommitmentTask"); GridData constraintFFigureCommitmentTaskLabelFigure = new GridData(); constraintFFigureCommitmentTaskLabelFigure.verticalAlignment = GridData.CENTER; constraintFFigureCommitmentTaskLabelFigure.horizontalAlignment = GridData.CENTER; constraintFFigureCommitmentTaskLabelFigure.horizontalIndent = 0; constraintFFigureCommitmentTaskLabelFigure.horizontalSpan = 1; constraintFFigureCommitmentTaskLabelFigure.verticalSpan = 1; constraintFFigureCommitmentTaskLabelFigure.grabExcessHorizontalSpace = true; constraintFFigureCommitmentTaskLabelFigure.grabExcessVerticalSpace = true; this.add(fFigureCommitmentTaskLabelFigure, constraintFFigureCommitmentTaskLabelFigure); }
Example 11
Source File: SubProcessEventEditPart.java From bonita-studio with GNU General Public License v2.0 | 6 votes |
/** * @generated */ private void createContents() { fFigureEventSubProcessNameFigure = new WrappingLabel(); fFigureEventSubProcessNameFigure.setText(""); GridData constraintFFigureEventSubProcessNameFigure = new GridData(); constraintFFigureEventSubProcessNameFigure.verticalAlignment = GridData.CENTER; constraintFFigureEventSubProcessNameFigure.horizontalAlignment = GridData.CENTER; constraintFFigureEventSubProcessNameFigure.horizontalIndent = 0; constraintFFigureEventSubProcessNameFigure.horizontalSpan = 1; constraintFFigureEventSubProcessNameFigure.verticalSpan = 1; constraintFFigureEventSubProcessNameFigure.grabExcessHorizontalSpace = true; constraintFFigureEventSubProcessNameFigure.grabExcessVerticalSpace = false; this.add(fFigureEventSubProcessNameFigure, constraintFFigureEventSubProcessNameFigure); }
Example 12
Source File: CallActivityEditPart.java From bonita-studio with GNU General Public License v2.0 | 6 votes |
/** * @generated */ private void createContents() { fFigureActivityNameFigure = new WrappingLabel(); fFigureActivityNameFigure.setText(""); GridData constraintFFigureActivityNameFigure = new GridData(); constraintFFigureActivityNameFigure.verticalAlignment = GridData.CENTER; constraintFFigureActivityNameFigure.horizontalAlignment = GridData.FILL; constraintFFigureActivityNameFigure.horizontalIndent = 0; constraintFFigureActivityNameFigure.horizontalSpan = 1; constraintFFigureActivityNameFigure.verticalSpan = 1; constraintFFigureActivityNameFigure.grabExcessHorizontalSpace = true; constraintFFigureActivityNameFigure.grabExcessVerticalSpace = true; this.add(fFigureActivityNameFigure, constraintFFigureActivityNameFigure); }
Example 13
Source File: ScriptTask2EditPart.java From bonita-studio with GNU General Public License v2.0 | 6 votes |
/** * @generated */ private void createContents() { fFigureActivityNameFigure = new WrappingLabel(); fFigureActivityNameFigure.setText(""); GridData constraintFFigureActivityNameFigure = new GridData(); constraintFFigureActivityNameFigure.verticalAlignment = GridData.CENTER; constraintFFigureActivityNameFigure.horizontalAlignment = GridData.FILL; constraintFFigureActivityNameFigure.horizontalIndent = 0; constraintFFigureActivityNameFigure.horizontalSpan = 1; constraintFFigureActivityNameFigure.verticalSpan = 1; constraintFFigureActivityNameFigure.grabExcessHorizontalSpace = true; constraintFFigureActivityNameFigure.grabExcessVerticalSpace = true; this.add(fFigureActivityNameFigure, constraintFFigureActivityNameFigure); }
Example 14
Source File: ReceiveTask2EditPart.java From bonita-studio with GNU General Public License v2.0 | 6 votes |
/** * @generated */ private void createContents() { fFigureActivityNameFigure = new WrappingLabel(); fFigureActivityNameFigure.setText(""); GridData constraintFFigureActivityNameFigure = new GridData(); constraintFFigureActivityNameFigure.verticalAlignment = GridData.CENTER; constraintFFigureActivityNameFigure.horizontalAlignment = GridData.FILL; constraintFFigureActivityNameFigure.horizontalIndent = 0; constraintFFigureActivityNameFigure.horizontalSpan = 1; constraintFFigureActivityNameFigure.verticalSpan = 1; constraintFFigureActivityNameFigure.grabExcessHorizontalSpace = true; constraintFFigureActivityNameFigure.grabExcessVerticalSpace = true; this.add(fFigureActivityNameFigure, constraintFFigureActivityNameFigure); }
Example 15
Source File: CsvSourceEditPart.java From scava with Eclipse Public License 2.0 | 6 votes |
/** * @generated */ private void createContents() { fFigureCsvSourceLabelFigure = new WrappingLabel(); fFigureCsvSourceLabelFigure.setText("CsvSource"); GridData constraintFFigureCsvSourceLabelFigure = new GridData(); constraintFFigureCsvSourceLabelFigure.verticalAlignment = GridData.CENTER; constraintFFigureCsvSourceLabelFigure.horizontalAlignment = GridData.CENTER; constraintFFigureCsvSourceLabelFigure.horizontalIndent = 0; constraintFFigureCsvSourceLabelFigure.horizontalSpan = 1; constraintFFigureCsvSourceLabelFigure.verticalSpan = 1; constraintFFigureCsvSourceLabelFigure.grabExcessHorizontalSpace = true; constraintFFigureCsvSourceLabelFigure.grabExcessVerticalSpace = true; this.add(fFigureCsvSourceLabelFigure, constraintFFigureCsvSourceLabelFigure); }
Example 16
Source File: ServiceTaskEditPart.java From bonita-studio with GNU General Public License v2.0 | 6 votes |
/** * @generated */ private void createContents() { fFigureActivityNameFigure = new WrappingLabel(); fFigureActivityNameFigure.setText(""); GridData constraintFFigureActivityNameFigure = new GridData(); constraintFFigureActivityNameFigure.verticalAlignment = GridData.CENTER; constraintFFigureActivityNameFigure.horizontalAlignment = GridData.FILL; constraintFFigureActivityNameFigure.horizontalIndent = 0; constraintFFigureActivityNameFigure.horizontalSpan = 1; constraintFFigureActivityNameFigure.verticalSpan = 1; constraintFFigureActivityNameFigure.grabExcessHorizontalSpace = true; constraintFFigureActivityNameFigure.grabExcessVerticalSpace = true; this.add(fFigureActivityNameFigure, constraintFFigureActivityNameFigure); }
Example 17
Source File: ScriptedTaskEditPart.java From scava with Eclipse Public License 2.0 | 4 votes |
/** * @generated */ private void createContents() { fFigureScriptedTaskLabelFigure = new WrappingLabel(); fFigureScriptedTaskLabelFigure.setText("ScriptedTask"); fFigureScriptedTaskLabelFigure .setMaximumSize(new Dimension(getMapMode().DPtoLP(10000), getMapMode().DPtoLP(50))); this.add(fFigureScriptedTaskLabelFigure); fScriptedTaskOutputVariablesCompartmentFigure = new RectangleFigure(); fScriptedTaskOutputVariablesCompartmentFigure.setOutline(false); this.add(fScriptedTaskOutputVariablesCompartmentFigure); }
Example 18
Source File: PoolEditPart.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
/** * @generated */ private void createContents() { RectangleFigure poolNameContainerFigure0 = new RectangleFigure(); GridData constraintPoolNameContainerFigure0 = new GridData(); constraintPoolNameContainerFigure0.verticalAlignment = GridData.FILL; constraintPoolNameContainerFigure0.horizontalAlignment = GridData.BEGINNING; constraintPoolNameContainerFigure0.horizontalIndent = 0; constraintPoolNameContainerFigure0.horizontalSpan = 1; constraintPoolNameContainerFigure0.verticalSpan = 1; constraintPoolNameContainerFigure0.grabExcessHorizontalSpace = false; constraintPoolNameContainerFigure0.grabExcessVerticalSpace = true; constraintPoolNameContainerFigure0.widthHint = 20; constraintPoolNameContainerFigure0.heightHint = 0; this.add(poolNameContainerFigure0, constraintPoolNameContainerFigure0); GridLayout layoutPoolNameContainerFigure0 = new GridLayout(); layoutPoolNameContainerFigure0.numColumns = 1; layoutPoolNameContainerFigure0.makeColumnsEqualWidth = true; layoutPoolNameContainerFigure0.horizontalSpacing = 0; layoutPoolNameContainerFigure0.verticalSpacing = 0; layoutPoolNameContainerFigure0.marginWidth = 0; layoutPoolNameContainerFigure0.marginHeight = 0; poolNameContainerFigure0.setLayoutManager(layoutPoolNameContainerFigure0); fFigurePoolNameFigure = new WrappingLabel(); fFigurePoolNameFigure.setText(""); GridData constraintFFigurePoolNameFigure = new GridData(); constraintFFigurePoolNameFigure.verticalAlignment = GridData.FILL; constraintFFigurePoolNameFigure.horizontalAlignment = GridData.FILL; constraintFFigurePoolNameFigure.horizontalIndent = 2; constraintFFigurePoolNameFigure.horizontalSpan = 1; constraintFFigurePoolNameFigure.verticalSpan = 1; constraintFFigurePoolNameFigure.grabExcessHorizontalSpace = true; constraintFFigurePoolNameFigure.grabExcessVerticalSpace = true; poolNameContainerFigure0.add(fFigurePoolNameFigure, constraintFFigurePoolNameFigure); fFigurePoolContainerFigure = new RectangleFigure(); GridData constraintFFigurePoolContainerFigure = new GridData(); constraintFFigurePoolContainerFigure.verticalAlignment = GridData.FILL; constraintFFigurePoolContainerFigure.horizontalAlignment = GridData.FILL; constraintFFigurePoolContainerFigure.horizontalIndent = 0; constraintFFigurePoolContainerFigure.horizontalSpan = 1; constraintFFigurePoolContainerFigure.verticalSpan = 1; constraintFFigurePoolContainerFigure.grabExcessHorizontalSpace = true; constraintFFigurePoolContainerFigure.grabExcessVerticalSpace = true; this.add(fFigurePoolContainerFigure, constraintFFigurePoolContainerFigure); }
Example 19
Source File: CustomSequenceFlowEditPart.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
/** * @generated */ private void createContents() { fFigureLinkLabel = new WrappingLabel(); fFigureLinkLabel.setText(""); this.add(fFigureLinkLabel); fFigureLinkConditionLabel = new WrappingLabel(); fFigureLinkConditionLabel.setText(""); this.add(fFigureLinkConditionLabel); }
Example 20
Source File: Field3EditPart.java From scava with Eclipse Public License 2.0 | 3 votes |
/** * @generated */ private void createContents() { fFigureFieldLabelFigure = new WrappingLabel(); fFigureFieldLabelFigure.setText("Field"); this.add(fFigureFieldLabelFigure); }