Java Code Examples for org.eclipse.draw2d.GridData#CENTER

The following examples show how to use org.eclipse.draw2d.GridData#CENTER . 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: SubProcessEventEditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @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 2
Source File: StartEvent2EditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @generated
 */
private void createContents() {

	WrappingLabel startEventNameFigure0 = new WrappingLabel();

	startEventNameFigure0.setText("");

	GridData constraintStartEventNameFigure0 = new GridData();
	constraintStartEventNameFigure0.verticalAlignment = GridData.CENTER;
	constraintStartEventNameFigure0.horizontalAlignment = GridData.CENTER;
	constraintStartEventNameFigure0.horizontalIndent = 0;
	constraintStartEventNameFigure0.horizontalSpan = 1;
	constraintStartEventNameFigure0.verticalSpan = 1;
	constraintStartEventNameFigure0.grabExcessHorizontalSpace = true;
	constraintStartEventNameFigure0.grabExcessVerticalSpace = true;
	this.add(startEventNameFigure0, constraintStartEventNameFigure0);

}
 
Example 3
Source File: ScriptTask2EditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @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 4
Source File: ServiceTask2EditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @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 5
Source File: ActivityEditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @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: BoundarySignalEventEditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @generated
 */
private void createContents() {

	WrappingLabel boundarySignalEventNameFigure0 = new WrappingLabel();

	boundarySignalEventNameFigure0.setText("");

	GridData constraintBoundarySignalEventNameFigure0 = new GridData();
	constraintBoundarySignalEventNameFigure0.verticalAlignment = GridData.CENTER;
	constraintBoundarySignalEventNameFigure0.horizontalAlignment = GridData.CENTER;
	constraintBoundarySignalEventNameFigure0.horizontalIndent = 0;
	constraintBoundarySignalEventNameFigure0.horizontalSpan = 1;
	constraintBoundarySignalEventNameFigure0.verticalSpan = 1;
	constraintBoundarySignalEventNameFigure0.grabExcessHorizontalSpace = true;
	constraintBoundarySignalEventNameFigure0.grabExcessVerticalSpace = true;
	this.add(boundarySignalEventNameFigure0, constraintBoundarySignalEventNameFigure0);

}
 
Example 7
Source File: IntermediateErrorCatchEvent6EditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @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 8
Source File: EndEvent2EditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @generated
 */
private void createContents() {

	WrappingLabel endEventNameFigure0 = new WrappingLabel();

	endEventNameFigure0.setText("");

	GridData constraintEndEventNameFigure0 = new GridData();
	constraintEndEventNameFigure0.verticalAlignment = GridData.CENTER;
	constraintEndEventNameFigure0.horizontalAlignment = GridData.CENTER;
	constraintEndEventNameFigure0.horizontalIndent = 0;
	constraintEndEventNameFigure0.horizontalSpan = 1;
	constraintEndEventNameFigure0.verticalSpan = 1;
	constraintEndEventNameFigure0.grabExcessHorizontalSpace = true;
	constraintEndEventNameFigure0.grabExcessVerticalSpace = true;
	this.add(endEventNameFigure0, constraintEndEventNameFigure0);

}
 
Example 9
Source File: TextAnnotation2EditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @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 10
Source File: TextAnnotationEditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @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 11
Source File: IntermediateErrorCatchEvent3EditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @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 12
Source File: CsvSinkEditPart.java    From scava with Eclipse Public License 2.0 6 votes vote down vote up
/**
 * @generated
 */
private void createContents() {

	fFigureCsvSinkLabelFigure = new WrappingLabel();

	fFigureCsvSinkLabelFigure.setText("CsvSink");

	GridData constraintFFigureCsvSinkLabelFigure = new GridData();
	constraintFFigureCsvSinkLabelFigure.verticalAlignment = GridData.CENTER;
	constraintFFigureCsvSinkLabelFigure.horizontalAlignment = GridData.CENTER;
	constraintFFigureCsvSinkLabelFigure.horizontalIndent = 0;
	constraintFFigureCsvSinkLabelFigure.horizontalSpan = 1;
	constraintFFigureCsvSinkLabelFigure.verticalSpan = 1;
	constraintFFigureCsvSinkLabelFigure.grabExcessHorizontalSpace = true;
	constraintFFigureCsvSinkLabelFigure.grabExcessVerticalSpace = true;
	this.add(fFigureCsvSinkLabelFigure, constraintFFigureCsvSinkLabelFigure);

}
 
Example 13
Source File: StreamFigure.java    From scava with Eclipse Public License 2.0 6 votes vote down vote up
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 14
Source File: TopicEditPart.java    From scava with Eclipse Public License 2.0 6 votes vote down vote up
/**
 * @generated
 */
private void createContents() {

	fFigureTopicLabelFigure = new WrappingLabel();

	fFigureTopicLabelFigure.setText("Topic");

	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 15
Source File: BoundaryTimerEvent2EditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @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 16
Source File: IntermediateErrorCatchEvent4EditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @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 17
Source File: IntermediateErrorCatchEvent2EditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @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 18
Source File: NonInterruptingBoundaryTimerEvent2EditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @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 19
Source File: SourceEditPart.java    From scava with Eclipse Public License 2.0 6 votes vote down vote up
/**
 * @generated
 */
private void createContents() {

	fFigureSourceLabelFigure = new WrappingLabel();

	fFigureSourceLabelFigure.setText("Source");

	GridData constraintFFigureSourceLabelFigure = new GridData();
	constraintFFigureSourceLabelFigure.verticalAlignment = GridData.CENTER;
	constraintFFigureSourceLabelFigure.horizontalAlignment = GridData.CENTER;
	constraintFFigureSourceLabelFigure.horizontalIndent = 0;
	constraintFFigureSourceLabelFigure.horizontalSpan = 1;
	constraintFFigureSourceLabelFigure.verticalSpan = 1;
	constraintFFigureSourceLabelFigure.grabExcessHorizontalSpace = true;
	constraintFFigureSourceLabelFigure.grabExcessVerticalSpace = true;
	this.add(fFigureSourceLabelFigure, constraintFFigureSourceLabelFigure);

}
 
Example 20
Source File: BoundaryMessageEvent2EditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @generated
 */
private void createContents() {

	WrappingLabel boundaryMessageEventNameFigure0 = new WrappingLabel();

	boundaryMessageEventNameFigure0.setText("");

	GridData constraintBoundaryMessageEventNameFigure0 = new GridData();
	constraintBoundaryMessageEventNameFigure0.verticalAlignment = GridData.CENTER;
	constraintBoundaryMessageEventNameFigure0.horizontalAlignment = GridData.CENTER;
	constraintBoundaryMessageEventNameFigure0.horizontalIndent = 0;
	constraintBoundaryMessageEventNameFigure0.horizontalSpan = 1;
	constraintBoundaryMessageEventNameFigure0.verticalSpan = 1;
	constraintBoundaryMessageEventNameFigure0.grabExcessHorizontalSpace = true;
	constraintBoundaryMessageEventNameFigure0.grabExcessVerticalSpace = true;
	this.add(boundaryMessageEventNameFigure0, constraintBoundaryMessageEventNameFigure0);

}