/** @generated */ private void createContents() { fFigureLinkMappingNameFigure = new WrappingLabel(); fFigureLinkMappingNameFigure.setText("<..>"); fFigureLinkMappingNameFigure.setFont(FFIGURELINKMAPPINGNAMEFIGURE_FONT); this.add(fFigureLinkMappingNameFigure); }
/** @generated */ private void createContents() { fFigureVariableName = new WrappingLabel(); fFigureVariableName.setText("Name"); fFigureVariableName.setFont(FFIGUREVARIABLENAME_FONT); fFigureVariableName.setBorder( new MarginBorder( getMapMode().DPtoLP(5), getMapMode().DPtoLP(10), getMapMode().DPtoLP(5), getMapMode().DPtoLP(10))); this.add(fFigureVariableName, BorderLayout.TOP); fFigureVartype = new RoundedRectangle(); fFigureVartype.setCornerDimensions( new Dimension(getMapMode().DPtoLP(8), getMapMode().DPtoLP(8))); fFigureVartype.setBackgroundColor(FFIGUREVARTYPE_BACK); this.add(fFigureVartype, BorderLayout.CENTER); BorderLayout layoutFFigureVartype = new BorderLayout(); fFigureVartype.setLayoutManager(layoutFFigureVartype); fFigureVariableType = new WrappingLabel(); fFigureVariableType.setText("Type"); fFigureVariableType.setFont(FFIGUREVARIABLETYPE_FONT); fFigureVariableType.setBorder( new MarginBorder( getMapMode().DPtoLP(5), getMapMode().DPtoLP(10), getMapMode().DPtoLP(5), getMapMode().DPtoLP(10))); fFigureVartype.add(fFigureVariableType, BorderLayout.CENTER); }
/** @generated NOT */ private void createContents() { fFigureSceneTopicFigure = new WrappingLabel(); fFigureSceneTopicFigure.setText("Untitled Scene"); fFigureSceneTopicFigure.setFont(FFIGURESCENETOPICFIGURE_FONT); GridData constraintFFigureSceneTopicFigure = new GridData(); constraintFFigureSceneTopicFigure.verticalAlignment = GridData.BEGINNING; constraintFFigureSceneTopicFigure.horizontalAlignment = GridData.CENTER; constraintFFigureSceneTopicFigure.horizontalIndent = 0; constraintFFigureSceneTopicFigure.horizontalSpan = 1; constraintFFigureSceneTopicFigure.verticalSpan = 1; constraintFFigureSceneTopicFigure.grabExcessHorizontalSpace = true; constraintFFigureSceneTopicFigure.grabExcessVerticalSpace = false; this.add(fFigureSceneTopicFigure, constraintFFigureSceneTopicFigure); RectangleFigure dialogueRectangle0 = new RectangleFigure(); dialogueRectangle0.setFill(false); dialogueRectangle0.setOutline(false); dialogueRectangle0.setLineWidth(1); GridData constraintDialogueRectangle0 = new GridData(); constraintDialogueRectangle0.verticalAlignment = GridData.BEGINNING; constraintDialogueRectangle0.horizontalAlignment = GridData.FILL; constraintDialogueRectangle0.horizontalIndent = 0; constraintDialogueRectangle0.horizontalSpan = 0; constraintDialogueRectangle0.verticalSpan = 0; constraintDialogueRectangle0.grabExcessHorizontalSpace = true; constraintDialogueRectangle0.grabExcessVerticalSpace = true; this.add(dialogueRectangle0, constraintDialogueRectangle0); GridLayout layoutDialogueRectangle0 = new GridLayout(); layoutDialogueRectangle0.numColumns = 1; layoutDialogueRectangle0.makeColumnsEqualWidth = true; dialogueRectangle0.setLayoutManager(layoutDialogueRectangle0); RectangleFigure line1 = new RectangleFigure(); // line1.setSize(400, 1); line1.setFill(false); line1.setLineWidth(2); line1.setForegroundColor(ColorConstants.black); line1.setPreferredSize(new Dimension(getMapMode().DPtoLP(100), getMapMode().DPtoLP(1))); GridData constraintLine1 = new GridData(); constraintLine1.verticalAlignment = GridData.BEGINNING; constraintLine1.horizontalAlignment = GridData.FILL; constraintLine1.horizontalIndent = 0; constraintLine1.horizontalSpan = 0; constraintLine1.verticalSpan = 0; constraintLine1.grabExcessHorizontalSpace = true; constraintLine1.grabExcessVerticalSpace = false; dialogueRectangle0.add(line1, constraintLine1); fFigureDialogueFigure = new WrappingLabel(); fFigureDialogueFigure.setTextWrap(true); fFigureDialogueFigure.setText("Click to edit..."); fFigureDialogueFigure.setPreferredSize( new Dimension(getMapMode().DPtoLP(100), getMapMode().DPtoLP(100))); GridData constraintFFigureDialogueFigure = new GridData(); constraintFFigureDialogueFigure.verticalAlignment = GridData.FILL; constraintFFigureDialogueFigure.horizontalAlignment = GridData.BEGINNING; constraintFFigureDialogueFigure.horizontalIndent = 0; constraintFFigureDialogueFigure.horizontalSpan = 1; constraintFFigureDialogueFigure.verticalSpan = 1; constraintFFigureDialogueFigure.grabExcessHorizontalSpace = true; constraintFFigureDialogueFigure.grabExcessVerticalSpace = true; dialogueRectangle0.add(fFigureDialogueFigure, constraintFFigureDialogueFigure); fFigureSketchesCompartmentFigure = new org.eclipse.draw2d.RectangleFigure(); fFigureSketchesCompartmentFigure.setLineWidth(1); fFigureSketchesCompartmentFigure.setForegroundColor( org.eclipse.draw2d.ColorConstants.lightGray); org.eclipse.draw2d.GridData constraintFFigureSketchesCompartmentFigure = new org.eclipse.draw2d.GridData(); // constraintFFigureSketchesCompartmentFigure.verticalAlignment = // org.eclipse.draw2d.GridData.FILL; constraintFFigureSketchesCompartmentFigure.horizontalAlignment = org.eclipse.draw2d.GridData.FILL; constraintFFigureSketchesCompartmentFigure.horizontalIndent = 0; constraintFFigureSketchesCompartmentFigure.horizontalSpan = 1; constraintFFigureSketchesCompartmentFigure.verticalSpan = 1; constraintFFigureSketchesCompartmentFigure.grabExcessHorizontalSpace = true; // constraintFFigureSketchesCompartmentFigure.grabExcessVerticalSpace = true; this.add(fFigureSketchesCompartmentFigure, constraintFFigureSketchesCompartmentFigure); }
/** @generated */ private void createContents() { RectangleFigure innerRectangle0 = new RectangleFigure(); innerRectangle0.setFill(false); innerRectangle0.setOutline(false); this.add(innerRectangle0); GridLayout layoutInnerRectangle0 = new GridLayout(); layoutInnerRectangle0.numColumns = 4; layoutInnerRectangle0.makeColumnsEqualWidth = false; layoutInnerRectangle0.horizontalSpacing = 0; layoutInnerRectangle0.verticalSpacing = 0; layoutInnerRectangle0.marginWidth = 3; layoutInnerRectangle0.marginHeight = 0; innerRectangle0.setLayoutManager(layoutInnerRectangle0); fFigureMethodNameFigure = new WrappingLabel(); fFigureMethodNameFigure.setText(""); fFigureMethodNameFigure.setFont(FFIGUREMETHODNAMEFIGURE_FONT); GridData constraintFFigureMethodNameFigure = new GridData(); constraintFFigureMethodNameFigure.verticalAlignment = GridData.CENTER; constraintFFigureMethodNameFigure.horizontalAlignment = GridData.BEGINNING; constraintFFigureMethodNameFigure.horizontalIndent = 0; constraintFFigureMethodNameFigure.horizontalSpan = 1; constraintFFigureMethodNameFigure.verticalSpan = 1; constraintFFigureMethodNameFigure.grabExcessHorizontalSpace = false; constraintFFigureMethodNameFigure.grabExcessVerticalSpace = false; innerRectangle0.add(fFigureMethodNameFigure, constraintFFigureMethodNameFigure); fFigureMethodPotencyFigure = new WrappingLabel(); fFigureMethodPotencyFigure.setText(""); fFigureMethodPotencyFigure.setFont(FFIGUREMETHODPOTENCYFIGURE_FONT); fFigureMethodPotencyFigure.setBorder( new MarginBorder( getMapMode().DPtoLP(0), getMapMode().DPtoLP(0), getMapMode().DPtoLP(10), getMapMode().DPtoLP(0))); GridData constraintFFigureMethodPotencyFigure = new GridData(); constraintFFigureMethodPotencyFigure.verticalAlignment = GridData.CENTER; constraintFFigureMethodPotencyFigure.horizontalAlignment = GridData.BEGINNING; constraintFFigureMethodPotencyFigure.horizontalIndent = 0; constraintFFigureMethodPotencyFigure.horizontalSpan = 1; constraintFFigureMethodPotencyFigure.verticalSpan = 1; constraintFFigureMethodPotencyFigure.grabExcessHorizontalSpace = false; constraintFFigureMethodPotencyFigure.grabExcessVerticalSpace = false; innerRectangle0.add(fFigureMethodPotencyFigure, constraintFFigureMethodPotencyFigure); fFigureMethodInputFigure = new WrappingLabel(); fFigureMethodInputFigure.setText(""); fFigureMethodInputFigure.setFont(FFIGUREMETHODINPUTFIGURE_FONT); GridData constraintFFigureMethodInputFigure = new GridData(); constraintFFigureMethodInputFigure.verticalAlignment = GridData.CENTER; constraintFFigureMethodInputFigure.horizontalAlignment = GridData.BEGINNING; constraintFFigureMethodInputFigure.horizontalIndent = 0; constraintFFigureMethodInputFigure.horizontalSpan = 1; constraintFFigureMethodInputFigure.verticalSpan = 1; constraintFFigureMethodInputFigure.grabExcessHorizontalSpace = false; constraintFFigureMethodInputFigure.grabExcessVerticalSpace = false; innerRectangle0.add(fFigureMethodInputFigure, constraintFFigureMethodInputFigure); fFigureMethodOutputFigure = new WrappingLabel(); fFigureMethodOutputFigure.setText(""); fFigureMethodOutputFigure.setFont(FFIGUREMETHODOUTPUTFIGURE_FONT); GridData constraintFFigureMethodOutputFigure = new GridData(); constraintFFigureMethodOutputFigure.verticalAlignment = GridData.CENTER; constraintFFigureMethodOutputFigure.horizontalAlignment = GridData.BEGINNING; constraintFFigureMethodOutputFigure.horizontalIndent = 0; constraintFFigureMethodOutputFigure.horizontalSpan = 1; constraintFFigureMethodOutputFigure.verticalSpan = 1; constraintFFigureMethodOutputFigure.grabExcessHorizontalSpace = false; constraintFFigureMethodOutputFigure.grabExcessVerticalSpace = false; innerRectangle0.add(fFigureMethodOutputFigure, constraintFFigureMethodOutputFigure); }