/** @generated */ public DeepHistoryFigure() { GridLayout layoutThis = new GridLayout(); layoutThis.numColumns = 2; layoutThis.makeColumnsEqualWidth = true; layoutThis.horizontalSpacing = 0; layoutThis.verticalSpacing = 0; layoutThis.marginWidth = 0; layoutThis.marginHeight = 0; this.setLayoutManager(layoutThis); this.setLineWidth(1); this.setPreferredSize(new Dimension(getMapMode().DPtoLP(25), getMapMode().DPtoLP(25))); this.setMaximumSize(new Dimension(getMapMode().DPtoLP(25), getMapMode().DPtoLP(25))); this.setMinimumSize(new Dimension(getMapMode().DPtoLP(25), getMapMode().DPtoLP(25))); this.setBorder( new MarginBorder( getMapMode().DPtoLP(6), getMapMode().DPtoLP(6), getMapMode().DPtoLP(6), getMapMode().DPtoLP(3))); createContents(); }
/** @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); }