org.eclipse.draw2d.GridData Java Examples

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

	WrappingLabel endErrorEventNameFigure0 = new WrappingLabel();

	endErrorEventNameFigure0.setText("");

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

}
 
Example #4
Source File: SendTask2EditPart.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: BoundarySignalEvent2EditPart.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 #6
Source File: NonInterruptingBoundaryTimerEventEditPart.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 #7
Source File: IntermediateErrorCatchEventEditPart.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: ReceiveTaskEditPart.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 #9
Source File: EndTerminatedEvent2EditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @generated
 */
private void createContents() {

	WrappingLabel terminatedEndEventNameFigure0 = new WrappingLabel();

	terminatedEndEventNameFigure0.setText("");

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

}
 
Example #10
Source File: TaskEditPart.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 #11
Source File: ProcessFigure.java    From olca-app with Mozilla Public License 2.0 6 votes vote down vote up
private void createHeader() {
	Figure top = new Figure();
	GridLayout topLayout = new GridLayout(3, false);
	topLayout.horizontalSpacing = 0;
	topLayout.verticalSpacing = 0;
	topLayout.marginHeight = 0;
	topLayout.marginWidth = 0;
	top.setLayoutManager(topLayout);
	leftExpander = new ProcessExpander(node, Side.INPUT);
	rightExpander = new ProcessExpander(node, Side.OUTPUT);
	top.add(leftExpander, new GridData(SWT.LEFT, SWT.CENTER, false, false));
	top.add(new Label(node.getName()), new GridData(SWT.FILL, SWT.FILL, true, false));
	top.add(rightExpander, new GridData(SWT.RIGHT, SWT.CENTER, false, false));
	add(top, new GridData(SWT.FILL, SWT.FILL, true, false));
	GridData dummyGridData = new GridData(SWT.FILL, SWT.FILL, true, false);
	dummyGridData.heightHint = TEXT_HEIGHT + 3 * MARGIN_HEIGHT;
	add(new Figure(), dummyGridData);
}
 
Example #12
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 #13
Source File: StartEventEditPart.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 #14
Source File: BoundaryTimerEventEditPart.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 #15
Source File: CallActivityEditPart.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 #16
Source File: StartErrorEvent2EditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @generated
 */
private void createContents() {

	WrappingLabel startErrorEventNameFigure0 = new WrappingLabel();

	startErrorEventNameFigure0.setText("");

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

}
 
Example #17
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 #18
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 #19
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 #20
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 #21
Source File: Activity2EditPart.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 #22
Source File: EndEventEditPart.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 #23
Source File: ServiceTaskEditPart.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 #24
Source File: EndErrorEventEditPart.java    From bonita-studio with GNU General Public License v2.0 6 votes vote down vote up
/**
 * @generated
 */
private void createContents() {

	WrappingLabel endErrorEventNameFigure0 = new WrappingLabel();

	endErrorEventNameFigure0.setText("");

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

}
 
Example #25
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 #26
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 #27
Source File: IntermediateErrorCatchEvent5EditPart.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 #28
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 #29
Source File: RoundDetailsPart.java    From neoscada with Eclipse Public License 1.0 6 votes vote down vote up
@Override
protected IFigure createMain ()
{
    final Figure rootFigure = new Figure ();

    rootFigure.setLayoutManager ( new GridLayout ( 3, true ) );

    rootFigure.add ( makeHeader (), new GridData ( GridData.BEGINNING, GridData.CENTER, true, false, 3, 1 ) );

    rootFigure.add ( createSourceValue (), new GridData ( GridData.CENTER, GridData.CENTER, true, true ) );
    rootFigure.add ( new Figure () );
    rootFigure.add ( createTargetValue (), new GridData ( GridData.CENTER, GridData.CENTER, true, true ) );

    rootFigure.add ( new Figure () );
    rootFigure.add ( createCommandPanel (), new GridData ( GridData.CENTER, GridData.CENTER, true, true ) );

    createRoundArrow ( rootFigure );

    return rootFigure;
}
 
Example #30
Source File: ReceiveTask2EditPart.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);

}