/** @generated */ private void createContents() { fFigureSequenceFigureNameLabel = new WrappingLabel(); fFigureSequenceFigureNameLabel.setText(""); this.add(fFigureSequenceFigureNameLabel); fFigureSequenceFigureCompartment = new RectangleFigure(); fFigureSequenceFigureCompartment.setLineWidth(1); this.add(fFigureSequenceFigureCompartment); fFigureSequenceFigureCompartment.setLayoutManager(new StackLayout()); }
/** @generated */ private void createContents() { fFigureIfFigureNameLabel = new WrappingLabel(); fFigureIfFigureNameLabel.setText(""); this.add(fFigureIfFigureNameLabel); fFigureIfFigureContainer = new RectangleFigure(); fFigureIfFigureContainer.setLineWidth(1); this.add(fFigureIfFigureContainer); fFigureIfFigureContainer.setLayoutManager(new StackLayout()); }
/** @generated */ private void createContents() { fFigureSplitJoinLabelFigure = new WrappingLabel(); fFigureSplitJoinLabelFigure.setText("SplitJoin"); fFigureSplitJoinLabelFigure.setMaximumSize( new Dimension(getMapMode().DPtoLP(10000), getMapMode().DPtoLP(50))); this.add(fFigureSplitJoinLabelFigure); fSplitJoinComponentsCompartmentFigure = new RectangleFigure(); fSplitJoinComponentsCompartmentFigure.setOutline(false); fSplitJoinComponentsCompartmentFigure.setLineWidth(1); this.add(fSplitJoinComponentsCompartmentFigure); }
/** @generated */ private void createContents() { WrappingLabel eventFigureTitleLabel0 = new WrappingLabel(); eventFigureTitleLabel0.setText("Event"); GridData constraintEventFigureTitleLabel0 = new GridData(); constraintEventFigureTitleLabel0.verticalAlignment = GridData.CENTER; constraintEventFigureTitleLabel0.horizontalAlignment = GridData.CENTER; constraintEventFigureTitleLabel0.horizontalIndent = 0; constraintEventFigureTitleLabel0.horizontalSpan = 1; constraintEventFigureTitleLabel0.verticalSpan = 1; constraintEventFigureTitleLabel0.grabExcessHorizontalSpace = false; constraintEventFigureTitleLabel0.grabExcessVerticalSpace = false; this.add(eventFigureTitleLabel0, constraintEventFigureTitleLabel0); fFigureEventFigureTimestampLabel = new WrappingLabel(); fFigureEventFigureTimestampLabel.setText(""); GridData constraintFFigureEventFigureTimestampLabel = new GridData(); constraintFFigureEventFigureTimestampLabel.verticalAlignment = GridData.CENTER; constraintFFigureEventFigureTimestampLabel.horizontalAlignment = GridData.CENTER; constraintFFigureEventFigureTimestampLabel.horizontalIndent = 0; constraintFFigureEventFigureTimestampLabel.horizontalSpan = 1; constraintFFigureEventFigureTimestampLabel.verticalSpan = 1; constraintFFigureEventFigureTimestampLabel.grabExcessHorizontalSpace = false; constraintFFigureEventFigureTimestampLabel.grabExcessVerticalSpace = false; this.add(fFigureEventFigureTimestampLabel, constraintFFigureEventFigureTimestampLabel); fFigureEventFigureCompartmentRectangle = new RectangleFigure(); fFigureEventFigureCompartmentRectangle.setLineWidth(1); GridData constraintFFigureEventFigureCompartmentRectangle = new GridData(); constraintFFigureEventFigureCompartmentRectangle.verticalAlignment = GridData.FILL; constraintFFigureEventFigureCompartmentRectangle.horizontalAlignment = GridData.FILL; constraintFFigureEventFigureCompartmentRectangle.horizontalIndent = 0; constraintFFigureEventFigureCompartmentRectangle.horizontalSpan = 1; constraintFFigureEventFigureCompartmentRectangle.verticalSpan = 1; constraintFFigureEventFigureCompartmentRectangle.grabExcessHorizontalSpace = true; constraintFFigureEventFigureCompartmentRectangle.grabExcessVerticalSpace = true; this.add( fFigureEventFigureCompartmentRectangle, constraintFFigureEventFigureCompartmentRectangle); }
/** @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() { ScalablePolygonShape deepHistoryFigure_Letter0 = new ScalablePolygonShape(); deepHistoryFigure_Letter0.addPoint( new Point(getMapMode().DPtoLP(0), getMapMode().DPtoLP(40))); deepHistoryFigure_Letter0.addPoint( new Point(getMapMode().DPtoLP(0), getMapMode().DPtoLP(20))); deepHistoryFigure_Letter0.addPoint( new Point(getMapMode().DPtoLP(40), getMapMode().DPtoLP(20))); deepHistoryFigure_Letter0.addPoint( new Point(getMapMode().DPtoLP(40), getMapMode().DPtoLP(40))); deepHistoryFigure_Letter0.addPoint( new Point(getMapMode().DPtoLP(40), getMapMode().DPtoLP(0))); deepHistoryFigure_Letter0.addPoint( new Point(getMapMode().DPtoLP(40), getMapMode().DPtoLP(20))); deepHistoryFigure_Letter0.addPoint( new Point(getMapMode().DPtoLP(0), getMapMode().DPtoLP(20))); deepHistoryFigure_Letter0.addPoint(new Point(getMapMode().DPtoLP(0), getMapMode().DPtoLP(0))); deepHistoryFigure_Letter0.setFill(true); deepHistoryFigure_Letter0.setLineWidth(1); deepHistoryFigure_Letter0.setPreferredSize( new Dimension(getMapMode().DPtoLP(15), getMapMode().DPtoLP(15))); deepHistoryFigure_Letter0.setMaximumSize( new Dimension(getMapMode().DPtoLP(15), getMapMode().DPtoLP(15))); GridData constraintDeepHistoryFigure_Letter0 = new GridData(); constraintDeepHistoryFigure_Letter0.verticalAlignment = GridData.FILL; constraintDeepHistoryFigure_Letter0.horizontalAlignment = GridData.FILL; constraintDeepHistoryFigure_Letter0.horizontalIndent = 0; constraintDeepHistoryFigure_Letter0.horizontalSpan = 1; constraintDeepHistoryFigure_Letter0.verticalSpan = 1; constraintDeepHistoryFigure_Letter0.grabExcessHorizontalSpace = true; constraintDeepHistoryFigure_Letter0.grabExcessVerticalSpace = true; this.add(deepHistoryFigure_Letter0, constraintDeepHistoryFigure_Letter0); RectangleFigure deepHistoryFigure_AsteriskContainer0 = new RectangleFigure(); deepHistoryFigure_AsteriskContainer0.setFill(false); deepHistoryFigure_AsteriskContainer0.setOutline(false); deepHistoryFigure_AsteriskContainer0.setLineWidth(1); deepHistoryFigure_AsteriskContainer0.setPreferredSize( new Dimension(getMapMode().DPtoLP(15), getMapMode().DPtoLP(15))); deepHistoryFigure_AsteriskContainer0.setMinimumSize( new Dimension(getMapMode().DPtoLP(15), getMapMode().DPtoLP(15))); deepHistoryFigure_AsteriskContainer0.setBorder( new MarginBorder( getMapMode().DPtoLP(0), getMapMode().DPtoLP(2), getMapMode().DPtoLP(5), getMapMode().DPtoLP(0))); GridData constraintDeepHistoryFigure_AsteriskContainer0 = new GridData(); constraintDeepHistoryFigure_AsteriskContainer0.verticalAlignment = GridData.FILL; constraintDeepHistoryFigure_AsteriskContainer0.horizontalAlignment = GridData.FILL; constraintDeepHistoryFigure_AsteriskContainer0.horizontalIndent = 0; constraintDeepHistoryFigure_AsteriskContainer0.horizontalSpan = 1; constraintDeepHistoryFigure_AsteriskContainer0.verticalSpan = 1; constraintDeepHistoryFigure_AsteriskContainer0.grabExcessHorizontalSpace = true; constraintDeepHistoryFigure_AsteriskContainer0.grabExcessVerticalSpace = true; this.add( deepHistoryFigure_AsteriskContainer0, constraintDeepHistoryFigure_AsteriskContainer0); deepHistoryFigure_AsteriskContainer0.setLayoutManager(new StackLayout()); ScalablePolygonShape deepHistoryFigure_Asterisk1 = new ScalablePolygonShape(); deepHistoryFigure_Asterisk1.addPoint( new Point(getMapMode().DPtoLP(10), getMapMode().DPtoLP(7))); deepHistoryFigure_Asterisk1.addPoint( new Point(getMapMode().DPtoLP(30), getMapMode().DPtoLP(33))); deepHistoryFigure_Asterisk1.addPoint( new Point(getMapMode().DPtoLP(20), getMapMode().DPtoLP(20))); deepHistoryFigure_Asterisk1.addPoint( new Point(getMapMode().DPtoLP(30), getMapMode().DPtoLP(7))); deepHistoryFigure_Asterisk1.addPoint( new Point(getMapMode().DPtoLP(10), getMapMode().DPtoLP(33))); deepHistoryFigure_Asterisk1.addPoint( new Point(getMapMode().DPtoLP(20), getMapMode().DPtoLP(20))); deepHistoryFigure_Asterisk1.addPoint( new Point(getMapMode().DPtoLP(40), getMapMode().DPtoLP(20))); deepHistoryFigure_Asterisk1.addPoint( new Point(getMapMode().DPtoLP(0), getMapMode().DPtoLP(20))); deepHistoryFigure_Asterisk1.addPoint( new Point(getMapMode().DPtoLP(20), getMapMode().DPtoLP(20))); deepHistoryFigure_Asterisk1.setFill(true); deepHistoryFigure_Asterisk1.setLineWidth(1); deepHistoryFigure_AsteriskContainer0.add(deepHistoryFigure_Asterisk1); }