Java Code Examples for org.eclipse.draw2d.GridData#FILL
The following examples show how to use
org.eclipse.draw2d.GridData#FILL .
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: 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 2
Source File: TaskEditPart.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 3
Source File: ReceiveTaskEditPart.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 4
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 5
Source File: ScriptTaskEditPart.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: 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 7
Source File: ServiceTask2EditPart.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 8
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 9
Source File: Task2EditPart.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: GridContainerController.java From neoscada with Eclipse Public License 1.0 | 6 votes |
private int convert ( final GridAlignment alignment ) { switch ( alignment ) { case BEGINNING: return GridData.BEGINNING; case END: return GridData.END; case CENTER: return GridData.CENTER; case FILL: return GridData.FILL; default: return GridData.BEGINNING; } }
Example 11
Source File: Activity2EditPart.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 12
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 13
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 14
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 15
Source File: CallActivity2EditPart.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 16
Source File: CustomSubProcessEvent2EditPart.java From bonita-studio with GNU General Public License v2.0 | 5 votes |
protected void addChildVisual(EditPart childEditPart, int index) { if (addFixedChild(childEditPart)) { return; } IFigure child = ((GraphicalEditPart) childEditPart).getFigure(); GridData constaint = new GridData(); constaint.grabExcessHorizontalSpace = true ; constaint.grabExcessVerticalSpace = true ; constaint.verticalAlignment = GridData.FILL ; constaint.horizontalAlignment = GridData.FILL ; getContentPane().add(child, constaint); }
Example 17
Source File: LaneEditPart.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
/** * @generated */ private void createContents() { RectangleFigure nameContainerFigure0 = new RectangleFigure(); GridData constraintNameContainerFigure0 = new GridData(); constraintNameContainerFigure0.verticalAlignment = GridData.FILL; constraintNameContainerFigure0.horizontalAlignment = GridData.BEGINNING; constraintNameContainerFigure0.horizontalIndent = 0; constraintNameContainerFigure0.horizontalSpan = 1; constraintNameContainerFigure0.verticalSpan = 1; constraintNameContainerFigure0.grabExcessHorizontalSpace = false; constraintNameContainerFigure0.grabExcessVerticalSpace = true; constraintNameContainerFigure0.widthHint = 20; constraintNameContainerFigure0.heightHint = 0; this.add(nameContainerFigure0, constraintNameContainerFigure0); GridLayout layoutNameContainerFigure0 = new GridLayout(); layoutNameContainerFigure0.numColumns = 1; layoutNameContainerFigure0.makeColumnsEqualWidth = true; layoutNameContainerFigure0.horizontalSpacing = 0; layoutNameContainerFigure0.verticalSpacing = 0; layoutNameContainerFigure0.marginWidth = 0; layoutNameContainerFigure0.marginHeight = 0; nameContainerFigure0.setLayoutManager(layoutNameContainerFigure0); fFigureLaneNameFigure = new WrappingLabel(); fFigureLaneNameFigure.setText(""); GridData constraintFFigureLaneNameFigure = new GridData(); constraintFFigureLaneNameFigure.verticalAlignment = GridData.FILL; constraintFFigureLaneNameFigure.horizontalAlignment = GridData.FILL; constraintFFigureLaneNameFigure.horizontalIndent = 2; constraintFFigureLaneNameFigure.horizontalSpan = 1; constraintFFigureLaneNameFigure.verticalSpan = 1; constraintFFigureLaneNameFigure.grabExcessHorizontalSpace = true; constraintFFigureLaneNameFigure.grabExcessVerticalSpace = true; nameContainerFigure0.add(fFigureLaneNameFigure, constraintFFigureLaneNameFigure); fFigureLaneContainerFigure = new RectangleFigure(); GridData constraintFFigureLaneContainerFigure = new GridData(); constraintFFigureLaneContainerFigure.verticalAlignment = GridData.FILL; constraintFFigureLaneContainerFigure.horizontalAlignment = GridData.FILL; constraintFFigureLaneContainerFigure.horizontalIndent = 0; constraintFFigureLaneContainerFigure.horizontalSpan = 1; constraintFFigureLaneContainerFigure.verticalSpan = 1; constraintFFigureLaneContainerFigure.grabExcessHorizontalSpace = true; constraintFFigureLaneContainerFigure.grabExcessVerticalSpace = true; this.add(fFigureLaneContainerFigure, constraintFFigureLaneContainerFigure); }
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: CustomPoolEditPart.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
/** * @generated */ private void createContents() { final RectangleFigure poolNameContainerFigure0 = new RectangleFigure(); poolNameContainerFigure0.setOutline(true); poolNameContainerFigure0.setFill(false); constraintPoolNameContainerFigure0 = new GridData(); constraintPoolNameContainerFigure0.verticalAlignment = GridData.FILL; constraintPoolNameContainerFigure0.horizontalAlignment = GridData.FILL; constraintPoolNameContainerFigure0.grabExcessHorizontalSpace = false; constraintPoolNameContainerFigure0.grabExcessVerticalSpace = true; this.add(poolNameContainerFigure0, constraintPoolNameContainerFigure0); final GridLayout layoutPoolNameContainerFigure0 = new GridLayout(); layoutPoolNameContainerFigure0.numColumns = 1; layoutPoolNameContainerFigure0.marginWidth = 0; layoutPoolNameContainerFigure0.marginHeight = 0; poolNameContainerFigure0.setLayoutManager(layoutPoolNameContainerFigure0); fFigurePoolNameFigure = new VerticalLabel(); fFigurePoolNameFigure.setText(""); //$NON-NLS-1$ final GridData constraintFFigurePoolNameFigure = new GridData(); constraintFFigurePoolNameFigure.verticalAlignment = GridData.FILL; constraintFFigurePoolNameFigure.horizontalAlignment = GridData.FILL; constraintFFigurePoolNameFigure.grabExcessHorizontalSpace = true; constraintFFigurePoolNameFigure.grabExcessVerticalSpace = true; poolNameContainerFigure0.add(fFigurePoolNameFigure, constraintFFigurePoolNameFigure); fFigurePoolContainerFigure = new RectangleFigure(); fFigurePoolContainerFigure.setOutline(true); final GridData constraintFFigurePoolContainerFigure = new GridData(); constraintFFigurePoolContainerFigure.verticalAlignment = GridData.FILL; constraintFFigurePoolContainerFigure.horizontalAlignment = GridData.FILL; constraintFFigurePoolContainerFigure.grabExcessHorizontalSpace = true; constraintFFigurePoolContainerFigure.grabExcessVerticalSpace = true; this.add(fFigurePoolContainerFigure, constraintFFigurePoolContainerFigure); }
Example 20
Source File: CustomLaneEditPart.java From bonita-studio with GNU General Public License v2.0 | 4 votes |
private void createContents() { final RectangleFigure laneNameContainerFigure0 = new RectangleFigure(); laneNameContainerFigure0.setOutline(false); laneNameContainerFigure0.setFill(false); GridData constraintLaneNameContainerFigure0 = new GridData(); constraintLaneNameContainerFigure0.verticalAlignment = GridData.FILL; constraintLaneNameContainerFigure0.horizontalAlignment = GridData.FILL; constraintLaneNameContainerFigure0.grabExcessHorizontalSpace = false; constraintLaneNameContainerFigure0.grabExcessVerticalSpace = true; this.add(laneNameContainerFigure0, constraintLaneNameContainerFigure0); final GridLayout layoutPoolNameContainerFigure0 = new GridLayout(); layoutPoolNameContainerFigure0.numColumns = 1; layoutPoolNameContainerFigure0.marginWidth = 0; layoutPoolNameContainerFigure0.marginHeight = 0; laneNameContainerFigure0.setLayoutManager(layoutPoolNameContainerFigure0); fFigureLaneNameFigure = new VerticalLabel(); fFigureLaneNameFigure.setText(""); //$NON-NLS-1$ constraintNameContainerFigure0 = new GridData(); constraintNameContainerFigure0.verticalAlignment = GridData.FILL; constraintNameContainerFigure0.horizontalAlignment = GridData.FILL; constraintNameContainerFigure0.grabExcessHorizontalSpace = true; constraintNameContainerFigure0.grabExcessVerticalSpace = true; laneNameContainerFigure0.add(fFigureLaneNameFigure, constraintNameContainerFigure0); fFigureLaneContainerFigure = new RectangleFigure(); fFigureLaneContainerFigure.setBorder(null); fFigureLaneContainerFigure.setOutline(false); fFigureLaneContainerFigure.setLineWidth(0); fFigureLaneContainerFigure.setFill(false); fFigureLaneContainerFigure.setXOR(false);// BUG : XOR=true cause error on export as image final GridData constraintFFigureLaneContainerFigure = new GridData(); constraintFFigureLaneContainerFigure.verticalAlignment = GridData.FILL; constraintFFigureLaneContainerFigure.horizontalAlignment = GridData.FILL; constraintFFigureLaneContainerFigure.grabExcessHorizontalSpace = true; constraintFFigureLaneContainerFigure.grabExcessVerticalSpace = true; this.add(fFigureLaneContainerFigure, constraintFFigureLaneContainerFigure); }