bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public void testPutTwoDaysGetOne() throws SQLException, IOException { PlottableChunk secondDay = new PlottableChunk(data.getData(), 0, 2, 2000, PIXELS, CHAN_ID); plottDb.put(new PlottableChunk[] {data, secondDay}); MicroSecondDate halfPastFirstDay = START.add((TimeInterval)ONE_DAY.divideBy(2)); MicroSecondTimeRange halfFirstToHalfSecond = new MicroSecondTimeRange(halfPastFirstDay, ONE_DAY); PlottableChunk[] out = plottDb.get(halfFirstToHalfSecond, data.getChannel(), data.getPixelsPerDay()); int halfLength = data.getData().x_coor.length / 2; int[] x = new int[halfLength]; int[] y = new int[halfLength]; for(int i = 0; i < halfLength; i++) { x[i] = (i + halfLength) / 2; } System.arraycopy(data.getData().y_coor, halfLength, y, 0, halfLength); PlottableChunk secondHalfFirstDay = new PlottableChunk(new Plottable(x, y), halfLength, 1, 2000, PIXELS, CHAN_ID); assertEquals(secondHalfFirstDay, out[0]); }
public void testPutTwoDaysGetOne() throws SQLException, IOException { PlottableChunk secondDay = new PlottableChunk(data.getData(), 0, 2, 2000, PIXELS, CHAN_ID); plottDb.put(new PlottableChunk[] {data, secondDay}); MicroSecondDate halfPastFirstDay = START.add((TimeInterval)ONE_DAY.divideBy(2)); MicroSecondTimeRange halfFirstToHalfSecond = new MicroSecondTimeRange(halfPastFirstDay, ONE_DAY); PlottableChunk[] out = plottDb.get(halfFirstToHalfSecond, data.getChannel(), data.getPixelsPerDay()); int halfLength = data.getData().x_coor.length / 2; int[] x = new int[halfLength]; int[] y = new int[halfLength]; for(int i = 0; i < halfLength; i++) { x[i] = (i + halfLength) / 2; } System.arraycopy(data.getData().y_coor, halfLength, y, 0, halfLength); PlottableChunk secondHalfFirstDay = new PlottableChunk(new Plottable(x, y), halfLength, 1, 2000, PIXELS, CHAN_ID); assertEquals(secondHalfFirstDay, out[0]); }
1,118,698
public ClassFigure() { org.eclipse.gmf.internal.codegen.draw2d.GridLayout layoutThis = new org.eclipse.gmf.internal.codegen.draw2d.GridLayout(); layoutThis.numColumns = 1; layoutThis.makeColumnsEqualWidth = true; layoutThis.horizontalSpacing = 0; layoutThis.verticalSpacing = 0; layoutThis.marginWidth = 0; layoutThis.marginHeight = 0; this.setLayoutManager(layoutThis); this.setFill(false); this.setFillXOR(false); this.setOutline(false); this.setOutlineXOR(false); this.setLineWidth(1); this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); createContents(); }
public ClassFigure() { GridLayout layoutThis = new GridLayout(); layoutThis.numColumns = 1; layoutThis.makeColumnsEqualWidth = true; layoutThis.horizontalSpacing = 0; layoutThis.verticalSpacing = 0; layoutThis.marginWidth = 0; layoutThis.marginHeight = 0; this.setLayoutManager(layoutThis); this.setFill(false); this.setFillXOR(false); this.setOutline(false); this.setOutlineXOR(false); this.setLineWidth(1); this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); createContents(); }
1,118,699
public ClassFigure() { org.eclipse.gmf.internal.codegen.draw2d.GridLayout layoutThis = new org.eclipse.gmf.internal.codegen.draw2d.GridLayout(); layoutThis.numColumns = 1; layoutThis.makeColumnsEqualWidth = true; layoutThis.horizontalSpacing = 0; layoutThis.verticalSpacing = 0; layoutThis.marginWidth = 0; layoutThis.marginHeight = 0; this.setLayoutManager(layoutThis); this.setFill(false); this.setFillXOR(false); this.setOutline(false); this.setOutlineXOR(false); this.setLineWidth(1); this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); createContents(); }
public ClassFigure() { org.eclipse.gmf.internal.codegen.draw2d.GridLayout layoutThis = new org.eclipse.gmf.internal.codegen.draw2d.GridLayout(); layoutThis.numColumns = 1; layoutThis.makeColumnsEqualWidth = true; layoutThis.horizontalSpacing = 0; layoutThis.verticalSpacing = 0; layoutThis.marginWidth = 0; layoutThis.marginHeight = 0; this.setLayoutManager(layoutThis); this.setFill(false); this.setFillXOR(false); this.setOutline(false); this.setOutlineXOR(false); this.setLineWidth(1); this.setLineStyle(Graphics.LINE_SOLID); createContents(); }
1,118,700
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { RectangleFigure classFigure_NameContainer0 = new RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,701
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,702
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,703
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); CenterLayout layoutClassFigure_NameContainer0 = new CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,704
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); WrapLabel classFigure_name1 = new WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,705
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); RectangleFigure classFigure_Body0 = new RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,706
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,707
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,708
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); ToolbarLayout layoutClassFigure_Body0 = new ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,709
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,710
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); RectangleFigure classFigure_PropertiesCompartment1 = new RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,711
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,712
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); RectangleFigure classFigure_OperationsCompartment1 = new RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,713
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,714
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); RectangleFigure classFigure_ClassesCompartment1 = new RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,715
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,716
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); RectangleFigure classFigure_LiteralsCompartment1 = new RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,717
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,718
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); RectangleFigure classFigure_OthersCompartment1 = new RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,719
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
private void createContents() { org.eclipse.draw2d.RectangleFigure classFigure_NameContainer0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_NameContainer0.setFill(true); classFigure_NameContainer0.setFillXOR(false); classFigure_NameContainer0.setOutline(true); classFigure_NameContainer0.setOutlineXOR(false); classFigure_NameContainer0.setLineWidth(1); classFigure_NameContainer0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_NameContainer0.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(0), getMapMode().DPtoLP(25))); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_NameContainer0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_NameContainer0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_NameContainer0.horizontalIndent = 0; constraintClassFigure_NameContainer0.horizontalSpan = 2; constraintClassFigure_NameContainer0.verticalSpan = 1; constraintClassFigure_NameContainer0.grabExcessHorizontalSpace = true; constraintClassFigure_NameContainer0.grabExcessVerticalSpace = false; this.add(classFigure_NameContainer0, constraintClassFigure_NameContainer0); org.eclipse.uml2.diagram.common.draw2d.CenterLayout layoutClassFigure_NameContainer0 = new org.eclipse.uml2.diagram.common.draw2d.CenterLayout(); classFigure_NameContainer0.setLayoutManager(layoutClassFigure_NameContainer0); org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel classFigure_name1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel(); classFigure_name1.setText(""); classFigure_NameContainer0.add(classFigure_name1); setFigureClassFigure_name(classFigure_name1); org.eclipse.draw2d.RectangleFigure classFigure_Body0 = new org.eclipse.draw2d.RectangleFigure(); classFigure_Body0.setFill(true); classFigure_Body0.setFillXOR(false); classFigure_Body0.setOutline(true); classFigure_Body0.setOutlineXOR(false); classFigure_Body0.setLineWidth(1); classFigure_Body0.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData constraintClassFigure_Body0 = new org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData(); constraintClassFigure_Body0.verticalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalAlignment = org.eclipse.gmf.internal.codegen.draw2d.GridLayoutData.FILL; constraintClassFigure_Body0.horizontalIndent = 0; constraintClassFigure_Body0.horizontalSpan = 2; constraintClassFigure_Body0.verticalSpan = 1; constraintClassFigure_Body0.grabExcessHorizontalSpace = true; constraintClassFigure_Body0.grabExcessVerticalSpace = true; this.add(classFigure_Body0, constraintClassFigure_Body0); org.eclipse.draw2d.ToolbarLayout layoutClassFigure_Body0 = new org.eclipse.draw2d.ToolbarLayout(); layoutClassFigure_Body0.setStretchMinorAxis(true); layoutClassFigure_Body0.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER ); layoutClassFigure_Body0.setSpacing(0); layoutClassFigure_Body0.setVertical(true); classFigure_Body0.setLayoutManager(layoutClassFigure_Body0); org.eclipse.draw2d.RectangleFigure classFigure_PropertiesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_PropertiesCompartment1.setFill(true); classFigure_PropertiesCompartment1.setFillXOR(false); classFigure_PropertiesCompartment1.setOutline(true); classFigure_PropertiesCompartment1.setOutlineXOR(false); classFigure_PropertiesCompartment1.setLineWidth(1); classFigure_PropertiesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_PropertiesCompartment1); setFigureClassFigure_PropertiesCompartment(classFigure_PropertiesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OperationsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OperationsCompartment1.setFill(true); classFigure_OperationsCompartment1.setFillXOR(false); classFigure_OperationsCompartment1.setOutline(true); classFigure_OperationsCompartment1.setOutlineXOR(false); classFigure_OperationsCompartment1.setLineWidth(1); classFigure_OperationsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OperationsCompartment1); setFigureClassFigure_OperationsCompartment(classFigure_OperationsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_ClassesCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_ClassesCompartment1.setFill(true); classFigure_ClassesCompartment1.setFillXOR(false); classFigure_ClassesCompartment1.setOutline(true); classFigure_ClassesCompartment1.setOutlineXOR(false); classFigure_ClassesCompartment1.setLineWidth(1); classFigure_ClassesCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_ClassesCompartment1); setFigureClassFigure_ClassesCompartment(classFigure_ClassesCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_LiteralsCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_LiteralsCompartment1.setFill(true); classFigure_LiteralsCompartment1.setFillXOR(false); classFigure_LiteralsCompartment1.setOutline(true); classFigure_LiteralsCompartment1.setOutlineXOR(false); classFigure_LiteralsCompartment1.setLineWidth(1); classFigure_LiteralsCompartment1.setLineStyle(org.eclipse.draw2d.Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_LiteralsCompartment1); setFigureClassFigure_LiteralsCompartment(classFigure_LiteralsCompartment1); org.eclipse.draw2d.RectangleFigure classFigure_OthersCompartment1 = new org.eclipse.draw2d.RectangleFigure(); classFigure_OthersCompartment1.setFill(true); classFigure_OthersCompartment1.setFillXOR(false); classFigure_OthersCompartment1.setOutline(true); classFigure_OthersCompartment1.setOutlineXOR(false); classFigure_OthersCompartment1.setLineWidth(1); classFigure_OthersCompartment1.setLineStyle(Graphics.LINE_SOLID); classFigure_Body0.add(classFigure_OthersCompartment1); setFigureClassFigure_OthersCompartment(classFigure_OthersCompartment1); }
1,118,720
public org.eclipse.draw2d.RectangleFigure getFigureClassFigure_ClassesCompartment() { return fClassFigure_ClassesCompartment; }
public RectangleFigure getFigureClassFigure_ClassesCompartment() { return fClassFigure_ClassesCompartment; }
1,118,721
public org.eclipse.draw2d.RectangleFigure getFigureClassFigure_LiteralsCompartment() { return fClassFigure_LiteralsCompartment; }
public RectangleFigure getFigureClassFigure_LiteralsCompartment() { return fClassFigure_LiteralsCompartment; }
1,118,722
public org.eclipse.draw2d.RectangleFigure getFigureClassFigure_OperationsCompartment() { return fClassFigure_OperationsCompartment; }
public RectangleFigure getFigureClassFigure_OperationsCompartment() { return fClassFigure_OperationsCompartment; }
1,118,723
public org.eclipse.draw2d.RectangleFigure getFigureClassFigure_OthersCompartment() { return fClassFigure_OthersCompartment; }
public RectangleFigure getFigureClassFigure_OthersCompartment() { return fClassFigure_OthersCompartment; }
1,118,724
public org.eclipse.draw2d.RectangleFigure getFigureClassFigure_PropertiesCompartment() { return fClassFigure_PropertiesCompartment; }
public RectangleFigure getFigureClassFigure_PropertiesCompartment() { return fClassFigure_PropertiesCompartment; }
1,118,725
public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureClassFigure_name() { return fClassFigure_name; }
public WrapLabel getFigureClassFigure_name() { return fClassFigure_name; }
1,118,726
private void setFigureClassFigure_ClassesCompartment(org.eclipse.draw2d.RectangleFigure fig) { fClassFigure_ClassesCompartment = fig; }
private void setFigureClassFigure_ClassesCompartment(RectangleFigure fig) { fClassFigure_ClassesCompartment = fig; }
1,118,727
private void setFigureClassFigure_LiteralsCompartment(org.eclipse.draw2d.RectangleFigure fig) { fClassFigure_LiteralsCompartment = fig; }
private void setFigureClassFigure_LiteralsCompartment(RectangleFigure fig) { fClassFigure_LiteralsCompartment = fig; }
1,118,728
private void setFigureClassFigure_OperationsCompartment(org.eclipse.draw2d.RectangleFigure fig) { fClassFigure_OperationsCompartment = fig; }
private void setFigureClassFigure_OperationsCompartment(RectangleFigure fig) { fClassFigure_OperationsCompartment = fig; }
1,118,729
private void setFigureClassFigure_OthersCompartment(org.eclipse.draw2d.RectangleFigure fig) { fClassFigure_OthersCompartment = fig; }
private void setFigureClassFigure_OthersCompartment(RectangleFigure fig) { fClassFigure_OthersCompartment = fig; }
1,118,730
private void setFigureClassFigure_PropertiesCompartment(org.eclipse.draw2d.RectangleFigure fig) { fClassFigure_PropertiesCompartment = fig; }
private void setFigureClassFigure_PropertiesCompartment(RectangleFigure fig) { fClassFigure_PropertiesCompartment = fig; }
1,118,731
private void setFigureClassFigure_name(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig) { fClassFigure_name = fig; }
private void setFigureClassFigure_name(WrapLabel fig) { fClassFigure_name = fig; }
1,118,732
public void remove(MouseEvent me){ logger.debug(name + " being removed"); Iterator e = plotters.keySet().iterator(); while(e.hasNext()){ LocalSeismogram current = ((SeismogramPlotter)e.next()).getSeismogram(); timeRegistrar.removeSeismogram(current); ampRegistrar.removeSeismogram(current); } this.stopImageCreation(); timeRegistrar.removeTimeSyncListener(this); ampRegistrar.removeAmpSyncListener(this); parent.removeDisplay(this); }
public void remove(MouseEvent me){ logger.debug(name + " being removed"); Iterator e = plotters.keySet().iterator(); while(e.hasNext()){ LocalSeismogram current = ((SeismogramPlotter)e.next()).getSeismogram(); timeRegistrar.removeSeismogram(current); ampRegistrar.removeSeismogram(current); } this.stopImageCreation(); timeRegistrar.removeTimeSyncListener(this); ampRegistrar.removeAmpSyncListener(this); parent.removeDisplay(this); }
1,118,734
public void setSuperUser(boolean val) { superUser = val; }
public void setSuperUser(boolean val) throws CalFacadeException { superUser = val; }
1,118,735
public void update(HashMap seismos, UnitRangeImpl generalRange){ this.generalRange = generalRange; Iterator e = seismos.keySet().iterator(); while(e.hasNext()){ DataSetSeismogram current = (DataSetSeismogram)e.next(); UnitRangeImpl currentUnit = (UnitRangeImpl)seismos.get(current); this.seismoAmpRange.put(current, new UnitRangeImpl(currentUnit.getMinValue(), currentUnit.getMaxValue(), currentUnit.getUnit())); } }
public void update(HashMap seismos, UnitRangeImpl generalRange){ this.generalRange = generalRange; Iterator e = seismos.keySet().iterator(); while(e.hasNext()){ DataSetSeismogram current = (DataSetSeismogram)e.next(); UnitRangeImpl currentUnit = (UnitRangeImpl)seismos.get(current); this.seismoAmpRange.put(current, new UnitRangeImpl(currentUnit.getMinValue(), currentUnit.getMaxValue(), currentUnit.getUnit())); } }
1,118,737
public void back(int n) throws AccessException { if (pos - n < 0) { throw AccessException.badACLRewind(); } pos -= n; }
public void back(int n) throws AccessException { if (pos - n < 0) { throw AccessException.badACLRewind(); } pos -= n; }
1,118,738
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Graphics2D copy = (Graphics2D)g; if (copy != null) { try { Font f = new Font("SansSerif", Font.PLAIN, 9); copy.setFont(f); // in case there are borders inside of this one Insets insets = ((JComponent)c).getInsets(); insets.top -= y+top; insets.bottom -= bottom + y; FontMetrics fm = copy.getFontMetrics(); String labelTemp; // top int numTicks; int pixelLoc; if (topScaleMap != null) { numTicks = topScaleMap.getNumTicks(); for (int i=0; i<numTicks; i++) { pixelLoc = insets.left + topScaleMap.getPixelLocation(i); if(topScaleMap.isMajorTick(i)) copy.draw(new Line2D.Float(pixelLoc, top, pixelLoc, top - majorTickLength)); else copy.draw(new Line2D.Float(pixelLoc, top, pixelLoc, top - minorTickLength)); labelTemp = topScaleMap.getLabel(i); if (labelTemp != null && labelTemp.length() != 0) { copy.drawString(labelTemp, pixelLoc, top - majorTickLength- fm.getLeading()); } } } // left if (leftScaleMap != null) { numTicks = leftScaleMap.getNumTicks(); for (int i=0; i<numTicks; i++) { pixelLoc = height - leftScaleMap.getPixelLocation(i) - bottom; if (leftScaleMap.isMajorTick(i)) { copy.draw(new Line2D.Float(insets.left -majorTickLength - insets.right, pixelLoc, insets.left - insets.right, pixelLoc)); } else { copy.draw(new Line2D.Float(insets.left - insets.right - minorTickLength, pixelLoc, insets.left - insets.right, pixelLoc)); } labelTemp = leftScaleMap.getLabel(i); if (labelTemp != null && labelTemp.length() != 0) { if(i == 0) copy.drawString(labelTemp, insets.left - insets.right - 45, pixelLoc + 5); else if(i == numTicks - 1) copy.drawString(labelTemp, insets.left - insets.right - 45, pixelLoc - 5); else copy.drawString(labelTemp, insets.left - insets.right - 45, pixelLoc); } } } // bottom if (bottomScaleMap != null) { numTicks = bottomScaleMap.getNumTicks(); for (int i=0; i<numTicks; i++) { pixelLoc = insets.left + bottomScaleMap.getPixelLocation(i); if (bottomScaleMap.isMajorTick(i)) { copy.draw(new Line2D.Float(pixelLoc, height-bottom, pixelLoc, height-bottom+majorTickLength)); } else { copy.draw(new Line2D.Float(pixelLoc, height-bottom, pixelLoc, height-bottom+minorTickLength)); } labelTemp = bottomScaleMap.getLabel(i); if (labelTemp != null && labelTemp.length() != 0) { copy.drawString(labelTemp, pixelLoc, height-fm.getLeading()); } } } // right if (rightScaleMap != null) { numTicks = rightScaleMap.getNumTicks(); for (int i=0; i<numTicks; i++) { pixelLoc = height - rightScaleMap.getPixelLocation(i) - bottom; System.out.println("HScaleBorder pixelLoc="+pixelLoc); copy.draw(new Line2D.Float(pixelLoc, c.getSize().height-bottom, pixelLoc, c.getSize().height-bottom/2)); labelTemp = rightScaleMap.getLabel(i); if (labelTemp != null && labelTemp.length() != 0) { copy.drawString(labelTemp, pixelLoc, c.getSize().height-fm.getLeading()); } } } } finally { copy.dispose(); } } }
public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { Graphics2D copy = (Graphics2D)g; if (copy != null) { try { Font f = new Font("SansSerif", Font.PLAIN, 9); copy.setFont(f); // in case there are borders inside of this one Insets insets = ((JComponent)c).getInsets(); insets.top -= y+top; insets.bottom -= bottom + y; FontMetrics fm = copy.getFontMetrics(); String labelTemp; // top int numTicks; int pixelLoc; if (topScaleMap != null) { numTicks = topScaleMap.getNumTicks(); for (int i=0; i<numTicks; i++) { pixelLoc = insets.left + topScaleMap.getPixelLocation(i); if(topScaleMap.isMajorTick(i)) copy.draw(new Line2D.Float(pixelLoc, top, pixelLoc, top - majorTickLength)); else copy.draw(new Line2D.Float(pixelLoc, top, pixelLoc, top - minorTickLength)); labelTemp = topScaleMap.getLabel(i); if (labelTemp != null && labelTemp.length() != 0) { copy.drawString(labelTemp, pixelLoc, top - majorTickLength- fm.getLeading()); } } } // left if (leftScaleMap != null) { numTicks = leftScaleMap.getNumTicks(); for (int i=0; i<numTicks; i++) { pixelLoc = height - leftScaleMap.getPixelLocation(i) - bottom; if (leftScaleMap.isMajorTick(i)) { copy.draw(new Line2D.Float(insets.left -majorTickLength - insets.right, pixelLoc, insets.left - insets.right, pixelLoc)); } else { copy.draw(new Line2D.Float(insets.left - insets.right - minorTickLength, pixelLoc, insets.left - insets.right, pixelLoc)); } labelTemp = leftScaleMap.getLabel(i); if (labelTemp != null && labelTemp.length() != 0) { if(i == 0) copy.drawString(labelTemp, insets.left - insets.right - 45, pixelLoc + 5); else if(i == numTicks - 1) copy.drawString(labelTemp, insets.left - insets.right - 45, pixelLoc - 5); else copy.drawString(labelTemp, insets.left - insets.right - 45, pixelLoc); } } } // bottom if (bottomScaleMap != null) { numTicks = bottomScaleMap.getNumTicks(); for (int i=0; i<numTicks; i++) { pixelLoc = insets.left + bottomScaleMap.getPixelLocation(i); if (bottomScaleMap.isMajorTick(i)) { copy.draw(new Line2D.Float(pixelLoc, height-bottom, pixelLoc, height-bottom+majorTickLength)); } else { copy.draw(new Line2D.Float(pixelLoc, height-bottom, pixelLoc, height-bottom+minorTickLength)); } labelTemp = bottomScaleMap.getLabel(i); if (labelTemp != null && labelTemp.length() != 0) { copy.drawString(labelTemp, pixelLoc, height-fm.getLeading()); } } } // right if (rightScaleMap != null) { numTicks = rightScaleMap.getNumTicks(); for (int i=0; i<numTicks; i++) { pixelLoc = height - rightScaleMap.getPixelLocation(i) - bottom; System.out.println("HScaleBorder pixelLoc="+pixelLoc); copy.draw(new Line2D.Float(pixelLoc, c.getSize().height-bottom, pixelLoc, c.getSize().height-bottom/2)); labelTemp = rightScaleMap.getLabel(i); if (labelTemp != null && labelTemp.length() != 0) { copy.drawString(labelTemp, pixelLoc, c.getSize().height-fm.getLeading()); } } } } finally { copy.dispose(); } } }
1,118,739
public void setBottomScaleMapper(ScaleMapper scaleMap) { this.bottomScaleMap = scaleMap; bottom = majorTickLength+15; //guess as not sure of what font will be }
public void setBottomScaleMapper(ScaleMapper scaleMap) { this.bottomScaleMap = scaleMap; bottom = 20; //guess as not sure of what font will be }
1,118,740
public void setRightScaleMapper(ScaleMapper scaleMap) { this.rightScaleMap = scaleMap; right = 40; }
public void setRightScaleMapper(ScaleMapper scaleMap) { this.rightScaleMap = scaleMap; right = 50; }
1,118,741
public void playbackCompleted() { if (!random) { playNext(); } else { playRandom(); } }
public void playbackCompleted() { if (!random) { playNext(); } else { playRandom(); } }
1,118,742
public void playbackCompleted() { if (!random) { playNext(); } else { playRandom(); } }
public void playbackCompleted() { if (!random) { playNext(); else { playRandom();
1,118,743
public void playbackStarted() { }
public void playbackStarted() { firePlaybackStarted(player); }
1,118,744
public void playbackStopped() { }
public void playbackStopped() { firePlaybackStopped(player); }
1,118,745
public DataSetSeismogram (LocalSeismogramImpl seismo, DataSet ds){ this.seis = seismo; this.dataSet = ds; }
public DataSetSeismogram (LocalSeismogramImpl seismo, DataSet ds){ this.seis = seismo; this.dataSet = ds; }
1,118,746
public Calendars(Calintf cal, AccessUtil access, BwUser user, int currentMode, boolean ignoreCreator, boolean debug) throws CalFacadeException { super(cal, access, user, currentMode, ignoreCreator, debug); publicCalendarRootPath = "/" + getSyspars().getPublicCalendarRoot(); userCalendarRootPath = "/" + getSyspars().getUserCalendarRoot(); }
public Calendars(Calintf cal, AccessUtil access, int currentMode, boolean ignoreCreator, boolean debug) throws CalFacadeException { super(cal, access, user, currentMode, ignoreCreator, debug); publicCalendarRootPath = "/" + getSyspars().getPublicCalendarRoot(); userCalendarRootPath = "/" + getSyspars().getUserCalendarRoot(); }
1,118,747
public Calendars(Calintf cal, AccessUtil access, BwUser user, int currentMode, boolean ignoreCreator, boolean debug) throws CalFacadeException { super(cal, access, user, currentMode, ignoreCreator, debug); publicCalendarRootPath = "/" + getSyspars().getPublicCalendarRoot(); userCalendarRootPath = "/" + getSyspars().getUserCalendarRoot(); }
public Calendars(Calintf cal, AccessUtil access, BwUser user, int currentMode, boolean ignoreCreator, boolean debug) throws CalFacadeException { super(cal, access, currentMode, ignoreCreator, debug); publicCalendarRootPath = "/" + getSyspars().getPublicCalendarRoot(); userCalendarRootPath = "/" + getSyspars().getUserCalendarRoot(); }
1,118,748
public void addCalendar(BwCalendar val, BwCalendar parent) throws CalFacadeException { HibSession sess = getSess(); /* We need write access to the parent */ access.accessible(parent, privWrite, false); /** Is the parent a calendar collection? *//* sess.namedQuery("countCalendarEventRefs"); sess.setEntity("cal", parent); Integer res = (Integer)sess.getUnique(); if (res.intValue() > 0) {*/ if (parent.getCalendarCollection()) { throw new CalFacadeException(CalFacadeException.illegalCalendarCreation); } /* Ensure the path is unique */ String path = parent.getPath(); if (path == null) { if (parent.getPublick()) { path = ""; } else { path = "/users/" + parent.getOwner().getAccount(); } } path += "/" + val.getName(); sess.namedQuery("getCalendarByPath"); sess.setString("path", path); if (sess.getUnique() != null) { throw new CalFacadeException(CalFacadeException.duplicateCalendar); } val.setPath(path); val.setOwner(user); val.setCalendar(parent); parent.addChild(val); sess.save(parent); }
public void addCalendar(BwCalendar val, BwCalendar parent) throws CalFacadeException { HibSession sess = getSess(); /* We need write access to the parent */ access.accessible(parent, privWrite, false); /** Is the parent a calendar collection? *//* sess.namedQuery("countCalendarEventRefs"); sess.setEntity("cal", parent); Integer res = (Integer)sess.getUnique(); if (res.intValue() > 0) {*/ if (parent.getCalendarCollection()) { throw new CalFacadeException(CalFacadeException.illegalCalendarCreation); } /* Ensure the path is unique */ String path = parent.getPath(); if (path == null) { if (parent.getPublick()) { path = ""; } else { path = "/users/" + parent.getOwner().getAccount(); } } path += "/" + val.getName(); sess.namedQuery("getCalendarByPath"); sess.setString("path", path); if (sess.getUnique() != null) { throw new CalFacadeException(CalFacadeException.duplicateCalendar); } val.setPath(path); val.setOwner(getUser()); val.setCalendar(parent); parent.addChild(val); sess.save(parent); }
1,118,749
public Collection getAddContentCalendarCollections() throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getUserCalendarCollections"); sess.setEntity("owner", user); sess.cacheableQuery(); return access.checkAccess(sess.getList(), privWriteContent, noAccessReturnsNull); }
public Collection getAddContentCalendarCollections() throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getUserCalendarCollections"); sess.setEntity("owner", getUser()); sess.cacheableQuery(); return access.checkAccess(sess.getList(), privWriteContent, noAccessReturnsNull); }
1,118,750
public Collection getCalendarCollections() throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getUserCalendarCollections"); sess.setEntity("owner", user); sess.cacheableQuery(); return access.checkAccess(sess.getList(), privWrite, noAccessReturnsNull); }
public Collection getCalendarCollections() throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getUserCalendarCollections"); sess.setEntity("owner", getUser()); sess.cacheableQuery(); return access.checkAccess(sess.getList(), privWrite, noAccessReturnsNull); }
1,118,751
public BwCalendar getCalendars() throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getCalendarByPath"); sess.setString("path", userCalendarRootPath + "/" + user.getAccount()); sess.cacheableQuery(); BwCalendar cal = (BwCalendar)sess.getUnique(); return cloneAndCheckAccess(cal, privRead, noAccessReturnsNull); }
public BwCalendar getCalendars() throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getCalendarByPath"); sess.setString("path", userCalendarRootPath + "/" + getUser().getAccount()); sess.cacheableQuery(); BwCalendar cal = (BwCalendar)sess.getUnique(); return cloneAndCheckAccess(cal, privRead, noAccessReturnsNull); }
1,118,752
public Collection getSubscriptions() throws CalFacadeException { return getPreferences().getSubscriptions(); }
public Collection getSubscriptions() throws CalFacadeException { Collection c = getPreferences().getSubscriptions(); Iterator it = c.iterator(); while (it.hasNext()) { BwSubscription sub = (BwSubscription)it.next(); getSubCalendar(sub); } return c; }
1,118,753
public ViewNode getWorkspaceRoot(){ //ViewNode workspaceNode = getApplicationRoot().getChild("workspace"); if(workspaceNode==null){ DefaultViewNode node = new DefaultViewNode(iwma); node.setViewId("workspace"); //getApplicationRoot().addChildViewNode(node); node.setParent(getApplicationRoot()); node.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/workspace.jsf"); workspaceNode = node; } return workspaceNode; }
public ViewNode getWorkspaceRoot(){ //ViewNode workspaceNode = getApplicationRoot().getChild("workspace"); if(workspaceNode==null){ DefaultViewNode node = new DefaultViewNode(iwma); node.setViewId("workspace"); //getApplicationRoot().addChildViewNode(node); node.setParent(getApplicationRoot()); node.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/workspace.jsp"); workspaceNode = node; } return workspaceNode; }
1,118,754
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/cmspage.jsf"); //TODO: move these specific views DefaultViewNode articleNode = new ApplicationViewNode("article",contentNode); articleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/articles.jsf"); DefaultViewNode createNewArticleNode = new ApplicationViewNode("create",articleNode); createNewArticleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/createarticle.jsf"); DefaultViewNode previewArticlesNode = new ApplicationViewNode("preview",articleNode); previewArticlesNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/previewarticle.jsf"); //DefaultViewNode listArticlesNode = new ApplicationViewNode("listarticles",articleNode); DefaultViewNode documentNode = new ApplicationViewNode("document",contentNode); DefaultViewNode searchNode = new ApplicationViewNode("search",contentNode); searchNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/searcharticle.jsf"); DefaultViewNode webviewNode = new ApplicationViewNode("webview",getWorkspaceRoot()); DefaultViewNode loginViewNode = new WindowViewNode("login",getApplicationRoot()); DefaultViewNode pagesViewNode = new BuilderPageViewNode("pages",getApplicationRoot()); DefaultViewNode windowViewNode = new WindowViewNode("window",getApplicationRoot()); }
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); try { Class applicationClass = Class.forName("com.idega.builder.app.IBApplication"); FramedWindowClassViewNode builderNode = new FramedWindowClassViewNode("builder",getWorkspaceRoot()); builderNode.setWindowClass(applicationClass); builderNode.setJspUri(getWorkspaceRoot().getJSPURI()); } catch (ClassNotFoundException e) { e.printStackTrace(); } try { Class applicationClass = Class.forName("com.idega.user.app.UserApplication"); FramedWindowClassViewNode userNode = new FramedWindowClassViewNode("user",getWorkspaceRoot()); userNode.setWindowClass(applicationClass); userNode.setJspUri(getWorkspaceRoot().getJSPURI()); } catch (ClassNotFoundException e) { e.printStackTrace(); } try { Class applicationClass = Class.forName("com.idega.development.presentation.IWDeveloper"); FramedWindowClassViewNode developerNode = new FramedWindowClassViewNode("developer",getWorkspaceRoot()); developerNode.setWindowClass(applicationClass); developerNode.setJspUri(getWorkspaceRoot().getJSPURI()); } catch (ClassNotFoundException e) { e.printStackTrace(); } DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/cmspage.jsf"); //TODO: move these specific views DefaultViewNode articleNode = new ApplicationViewNode("article",contentNode); articleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/articles.jsf"); DefaultViewNode createNewArticleNode = new ApplicationViewNode("create",articleNode); createNewArticleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/createarticle.jsf"); DefaultViewNode previewArticlesNode = new ApplicationViewNode("preview",articleNode); previewArticlesNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/previewarticle.jsf"); //DefaultViewNode listArticlesNode = new ApplicationViewNode("listarticles",articleNode); DefaultViewNode documentNode = new ApplicationViewNode("document",contentNode); DefaultViewNode searchNode = new ApplicationViewNode("search",contentNode); searchNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/searcharticle.jsf"); DefaultViewNode webviewNode = new ApplicationViewNode("webview",getWorkspaceRoot()); DefaultViewNode loginViewNode = new WindowViewNode("login",getApplicationRoot()); DefaultViewNode pagesViewNode = new BuilderPageViewNode("pages",getApplicationRoot()); DefaultViewNode windowViewNode = new WindowViewNode("window",getApplicationRoot()); }
1,118,755
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/cmspage.jsf"); //TODO: move these specific views DefaultViewNode articleNode = new ApplicationViewNode("article",contentNode); articleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/articles.jsf"); DefaultViewNode createNewArticleNode = new ApplicationViewNode("create",articleNode); createNewArticleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/createarticle.jsf"); DefaultViewNode previewArticlesNode = new ApplicationViewNode("preview",articleNode); previewArticlesNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/previewarticle.jsf"); //DefaultViewNode listArticlesNode = new ApplicationViewNode("listarticles",articleNode); DefaultViewNode documentNode = new ApplicationViewNode("document",contentNode); DefaultViewNode searchNode = new ApplicationViewNode("search",contentNode); searchNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/searcharticle.jsf"); DefaultViewNode webviewNode = new ApplicationViewNode("webview",getWorkspaceRoot()); DefaultViewNode loginViewNode = new WindowViewNode("login",getApplicationRoot()); DefaultViewNode pagesViewNode = new BuilderPageViewNode("pages",getApplicationRoot()); DefaultViewNode windowViewNode = new WindowViewNode("window",getApplicationRoot()); }
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/cmspage.jsp"); //TODO: move these specific views DefaultViewNode articleNode = new ApplicationViewNode("article",contentNode); articleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/articles.jsf"); DefaultViewNode createNewArticleNode = new ApplicationViewNode("create",articleNode); createNewArticleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/createarticle.jsf"); DefaultViewNode previewArticlesNode = new ApplicationViewNode("preview",articleNode); previewArticlesNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/previewarticle.jsf"); //DefaultViewNode listArticlesNode = new ApplicationViewNode("listarticles",articleNode); DefaultViewNode documentNode = new ApplicationViewNode("document",contentNode); DefaultViewNode searchNode = new ApplicationViewNode("search",contentNode); searchNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/searcharticle.jsf"); DefaultViewNode webviewNode = new ApplicationViewNode("webview",getWorkspaceRoot()); DefaultViewNode loginViewNode = new WindowViewNode("login",getApplicationRoot()); DefaultViewNode pagesViewNode = new BuilderPageViewNode("pages",getApplicationRoot()); DefaultViewNode windowViewNode = new WindowViewNode("window",getApplicationRoot()); }
1,118,756
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/cmspage.jsf"); //TODO: move these specific views DefaultViewNode articleNode = new ApplicationViewNode("article",contentNode); articleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/articles.jsf"); DefaultViewNode createNewArticleNode = new ApplicationViewNode("create",articleNode); createNewArticleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/createarticle.jsf"); DefaultViewNode previewArticlesNode = new ApplicationViewNode("preview",articleNode); previewArticlesNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/previewarticle.jsf"); //DefaultViewNode listArticlesNode = new ApplicationViewNode("listarticles",articleNode); DefaultViewNode documentNode = new ApplicationViewNode("document",contentNode); DefaultViewNode searchNode = new ApplicationViewNode("search",contentNode); searchNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/searcharticle.jsf"); DefaultViewNode webviewNode = new ApplicationViewNode("webview",getWorkspaceRoot()); DefaultViewNode loginViewNode = new WindowViewNode("login",getApplicationRoot()); DefaultViewNode pagesViewNode = new BuilderPageViewNode("pages",getApplicationRoot()); DefaultViewNode windowViewNode = new WindowViewNode("window",getApplicationRoot()); }
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/cmspage.jsf"); //TODO: move these specific views DefaultViewNode articleNode = new ApplicationViewNode("article",contentNode); articleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/articles.jsf"); DefaultViewNode createNewArticleNode = new ApplicationViewNode("create",articleNode); createNewArticleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/createarticle.jsf"); DefaultViewNode previewArticlesNode = new ApplicationViewNode("preview",articleNode); previewArticlesNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/previewarticle.jsf"); //DefaultViewNode listArticlesNode = new ApplicationViewNode("listarticles",articleNode); DefaultViewNode documentNode = new ApplicationViewNode("document",contentNode); DefaultViewNode searchNode = new ApplicationViewNode("search",contentNode); searchNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/searcharticle.jsf"); DefaultViewNode webviewNode = new ApplicationViewNode("webview",getWorkspaceRoot()); DefaultViewNode loginViewNode = new WindowViewNode("login",getApplicationRoot()); DefaultViewNode pagesViewNode = new BuilderPageViewNode("pages",getApplicationRoot()); DefaultViewNode windowViewNode = new WindowViewNode("window",getApplicationRoot()); }
1,118,757
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/cmspage.jsf"); //TODO: move these specific views DefaultViewNode articleNode = new ApplicationViewNode("article",contentNode); articleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/articles.jsf"); DefaultViewNode createNewArticleNode = new ApplicationViewNode("create",articleNode); createNewArticleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/createarticle.jsf"); DefaultViewNode previewArticlesNode = new ApplicationViewNode("preview",articleNode); previewArticlesNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/previewarticle.jsf"); //DefaultViewNode listArticlesNode = new ApplicationViewNode("listarticles",articleNode); DefaultViewNode documentNode = new ApplicationViewNode("document",contentNode); DefaultViewNode searchNode = new ApplicationViewNode("search",contentNode); searchNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/searcharticle.jsf"); DefaultViewNode webviewNode = new ApplicationViewNode("webview",getWorkspaceRoot()); DefaultViewNode loginViewNode = new WindowViewNode("login",getApplicationRoot()); DefaultViewNode pagesViewNode = new BuilderPageViewNode("pages",getApplicationRoot()); DefaultViewNode windowViewNode = new WindowViewNode("window",getApplicationRoot()); }
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/cmspage.jsf"); //TODO: move these specific views DefaultViewNode articleNode = new ApplicationViewNode("article",contentNode); articleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/articles.jsf"); DefaultViewNode createNewArticleNode = new ApplicationViewNode("create",articleNode); createNewArticleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/createarticle.jsf"); DefaultViewNode previewArticlesNode = new ApplicationViewNode("preview",articleNode); previewArticlesNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/previewarticle.jsf"); //DefaultViewNode listArticlesNode = new ApplicationViewNode("listarticles",articleNode); DefaultViewNode documentNode = new ApplicationViewNode("document",contentNode); DefaultViewNode searchNode = new ApplicationViewNode("search",contentNode); searchNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/searcharticle.jsf"); DefaultViewNode webviewNode = new ApplicationViewNode("webview",getWorkspaceRoot()); DefaultViewNode loginViewNode = new WindowViewNode("login",getApplicationRoot()); DefaultViewNode pagesViewNode = new BuilderPageViewNode("pages",getApplicationRoot()); DefaultViewNode windowViewNode = new WindowViewNode("window",getApplicationRoot()); }
1,118,758
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/cmspage.jsf"); //TODO: move these specific views DefaultViewNode articleNode = new ApplicationViewNode("article",contentNode); articleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/articles.jsf"); DefaultViewNode createNewArticleNode = new ApplicationViewNode("create",articleNode); createNewArticleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/createarticle.jsf"); DefaultViewNode previewArticlesNode = new ApplicationViewNode("preview",articleNode); previewArticlesNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/previewarticle.jsf"); //DefaultViewNode listArticlesNode = new ApplicationViewNode("listarticles",articleNode); DefaultViewNode documentNode = new ApplicationViewNode("document",contentNode); DefaultViewNode searchNode = new ApplicationViewNode("search",contentNode); searchNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/searcharticle.jsf"); DefaultViewNode webviewNode = new ApplicationViewNode("webview",getWorkspaceRoot()); DefaultViewNode loginViewNode = new WindowViewNode("login",getApplicationRoot()); DefaultViewNode pagesViewNode = new BuilderPageViewNode("pages",getApplicationRoot()); DefaultViewNode windowViewNode = new WindowViewNode("window",getApplicationRoot()); }
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/cmspage.jsf"); //TODO: move these specific views DefaultViewNode articleNode = new ApplicationViewNode("article",contentNode); articleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/articles.jsf"); DefaultViewNode createNewArticleNode = new ApplicationViewNode("create",articleNode); createNewArticleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/createarticle.jsf"); DefaultViewNode previewArticlesNode = new ApplicationViewNode("preview",articleNode); previewArticlesNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/previewarticle.jsf"); //DefaultViewNode listArticlesNode = new ApplicationViewNode("listarticles",articleNode); DefaultViewNode documentNode = new DefaultViewNode("document",contentNode); DefaultViewNode searchNode = new ApplicationViewNode("search",contentNode); searchNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/searcharticle.jsf"); DefaultViewNode webviewNode = new ApplicationViewNode("webview",getWorkspaceRoot()); DefaultViewNode loginViewNode = new WindowViewNode("login",getApplicationRoot()); DefaultViewNode pagesViewNode = new BuilderPageViewNode("pages",getApplicationRoot()); DefaultViewNode windowViewNode = new WindowViewNode("window",getApplicationRoot()); }
1,118,759
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/cmspage.jsf"); //TODO: move these specific views DefaultViewNode articleNode = new ApplicationViewNode("article",contentNode); articleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/articles.jsf"); DefaultViewNode createNewArticleNode = new ApplicationViewNode("create",articleNode); createNewArticleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/createarticle.jsf"); DefaultViewNode previewArticlesNode = new ApplicationViewNode("preview",articleNode); previewArticlesNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/previewarticle.jsf"); //DefaultViewNode listArticlesNode = new ApplicationViewNode("listarticles",articleNode); DefaultViewNode documentNode = new ApplicationViewNode("document",contentNode); DefaultViewNode searchNode = new ApplicationViewNode("search",contentNode); searchNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/searcharticle.jsf"); DefaultViewNode webviewNode = new ApplicationViewNode("webview",getWorkspaceRoot()); DefaultViewNode loginViewNode = new WindowViewNode("login",getApplicationRoot()); DefaultViewNode pagesViewNode = new BuilderPageViewNode("pages",getApplicationRoot()); DefaultViewNode windowViewNode = new WindowViewNode("window",getApplicationRoot()); }
public void initializeStandardViews(ViewHandler handler){ setApplicationRoot(iwma,handler); DefaultViewNode builderNode = new ApplicationViewNode("builder",getWorkspaceRoot()); DefaultViewNode contentNode = new ApplicationViewNode("content",getWorkspaceRoot()); contentNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/cmspage.jsf"); //TODO: move these specific views DefaultViewNode articleNode = new ApplicationViewNode("article",contentNode); articleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/articles.jsf"); DefaultViewNode createNewArticleNode = new ApplicationViewNode("create",articleNode); createNewArticleNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/createarticle.jsf"); DefaultViewNode previewArticlesNode = new ApplicationViewNode("preview",articleNode); previewArticlesNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/previewarticle.jsf"); //DefaultViewNode listArticlesNode = new ApplicationViewNode("listarticles",articleNode); DefaultViewNode documentNode = new ApplicationViewNode("document",contentNode); DefaultViewNode searchNode = new ApplicationViewNode("search",contentNode); searchNode.setJspUri("/idegaweb/bundles/com.idega.webface.bundle/jsp/searcharticle.jsf"); DefaultViewNode webviewNode = new ApplicationViewNode("webview",getWorkspaceRoot()); DefaultViewNode loginViewNode = new WindowViewNode("login",getApplicationRoot()); DefaultViewNode pagesViewNode = new BuilderPageViewNode("pages",getApplicationRoot()); DefaultViewNode windowViewNode = new WindowViewNode("window",getApplicationRoot()); }
1,118,760
public DefaultViewNode(IWMainApplication iwma) { this.setIWMainApplication(iwma); }
public DefaultViewNode(IWMainApplication iwma) { this.setIWMainApplication(iwma); }
1,118,761
public Collection getGroups(BwPrincipal val) throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getAdminGroups"); sess.setInt("entId", val.getId()); /* This is what I want to do but it inserts 'true' or 'false' sess.setBool("isgroup", (val instanceof BwGroup)); */ if (val instanceof BwGroup) { sess.setString("isgroup", "T"); } else { sess.setString("isgroup", "F"); } Collection gs = sess.getList(); if (val instanceof BwUser) { /* Event owner for group is implicit member of group. */ sess.namedQuery("getAdminGroupsByEventOwner"); sess.setEntity("owner", val); gs.addAll(sess.getList()); } return gs; }
public Collection getGroups(BwPrincipal val) throws CalFacadeException { HibSession sess = getSess(); sess.namedQuery("getAdminGroups"); sess.setInt("entId", val.getId()); /* This is what I want to do but it inserts 'true' or 'false' sess.setBool("isgroup", (val instanceof BwGroup)); */ if (val instanceof BwGroup) { sess.setString("isgroup", "T"); } else { sess.setString("isgroup", "F"); } Set gs = new TreeSet(sess.getList()); if (val instanceof BwUser) { /* Event owner for group is implicit member of group. */ sess.namedQuery("getAdminGroupsByEventOwner"); sess.setEntity("owner", val); gs.addAll(sess.getList()); } return gs; }
1,118,765
public BasicSeismogramDisplay addDisplay(DataSetSeismogram dss, String name){ return addDisplay(dss, globalTimeRegistrar, name); }
public BasicSeismogramDisplay addDisplay(DataSetSeismogram dss, String name){ return addDisplay(dss, globalTimeRegistrar, globalAmpRegistrar, name); }
1,118,766
public void createParticleDisplay(BasicSeismogramDisplay creator){ if(particleDisplay == null){ logger.debug("creating particle display"); particleWindow = new JFrame(); LocalSeismogramImpl seis = (((LocalSeismogramImpl)((DataSetSeismogram)creator.getSeismograms().getFirst()).getSeismogram())); particleDisplay = new ParticleMotionDisplay(seis, creator.getTimeRegistrar(), creator.getAmpRegistrar(), creator.getAmpRegistrar(), ((DataSetSeismogram)creator.getSeismograms().getFirst()).getDataSet()); particleDisplay.addAzimuthLine(15); particleDisplay.addSector(10, 20); JPanel displayPanel = new JPanel(); JButton zoomIn = new JButton("zoomIn"); JButton zoomOut = new JButton("zoomOut"); JPanel buttonPanel = new JPanel(); buttonPanel.setLayout(new FlowLayout()); buttonPanel.add(zoomIn); buttonPanel.add(zoomOut); displayPanel.setLayout(new BorderLayout()); displayPanel.add(particleDisplay, java.awt.BorderLayout.CENTER); displayPanel.add(buttonPanel, java.awt.BorderLayout.SOUTH); java.awt.Dimension size = new java.awt.Dimension(400, 400); displayPanel.setSize(size); particleWindow.getContentPane().add(displayPanel); //particleWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); particleWindow.setSize(size); zoomIn.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae) { particleDisplay.setZoomIn(true); // particleDisplay.setZoomOut(false); } }); zoomOut.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae) { particleDisplay.setZoomOut(true); // particleDisplay.setZoomIn(false); } }); Toolkit tk = Toolkit.getDefaultToolkit(); if(400*particleDisplays < tk.getScreenSize().width){ particleWindow.setLocation(400 * particleDisplays, tk.getScreenSize().height - 400); }else{ particleWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - 400); } particleDisplays++; particleWindow.setVisible(true); } }
public void createParticleDisplay(BasicSeismogramDisplay creator){ if(particleDisplay == null){ logger.debug("creating particle display"); particleWindow = new JFrame(); LocalSeismogramImpl seis = (((LocalSeismogramImpl)((DataSetSeismogram)creator.getSeismograms().getFirst()).getSeismogram())); particleDisplay = new ParticleMotionDisplay(seis, creator.getTimeRegistrar(), creator.getAmpRegistrar(), creator.getAmpRegistrar(), ((DataSetSeismogram)creator.getSeismograms().getFirst()).getDataSet()); particleDisplay.addAzimuthLine(15); particleDisplay.addSector(10, 20); JPanel displayPanel = new JPanel(); JButton zoomIn = new JButton("zoomIn"); JButton zoomOut = new JButton("zoomOut"); JPanel buttonPanel = new JPanel(); buttonPanel.setLayout(new FlowLayout()); buttonPanel.add(zoomIn); buttonPanel.add(zoomOut); displayPanel.setLayout(new BorderLayout()); displayPanel.add(particleDisplay, java.awt.BorderLayout.CENTER); displayPanel.add(buttonPanel, java.awt.BorderLayout.SOUTH); java.awt.Dimension size = new java.awt.Dimension(400, 400); displayPanel.setSize(size); particleWindow.getContentPane().add(displayPanel); //particleWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); particleWindow.setSize(size); zoomIn.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae) { particleDisplay.setZoomIn(true); // particleDisplay.setZoomOut(false); } }); zoomOut.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae) { particleDisplay.setZoomOut(true); // particleDisplay.setZoomIn(false); } }); Toolkit tk = Toolkit.getDefaultToolkit(); if(400*particleDisplays < tk.getScreenSize().width){ particleWindow.setLocation(400 * particleDisplays, tk.getScreenSize().height - 400); }else{ particleWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - 400); } particleDisplays++; particleWindow.setVisible(true); } }
1,118,768
public void createParticleDisplay(BasicSeismogramDisplay creator){ if(particleDisplay == null){ logger.debug("creating particle display"); particleWindow = new JFrame(); LocalSeismogramImpl seis = (((LocalSeismogramImpl)((DataSetSeismogram)creator.getSeismograms().getFirst()).getSeismogram())); particleDisplay = new ParticleMotionDisplay(seis, creator.getTimeRegistrar(), creator.getAmpRegistrar(), creator.getAmpRegistrar(), ((DataSetSeismogram)creator.getSeismograms().getFirst()).getDataSet()); particleDisplay.addAzimuthLine(15); particleDisplay.addSector(10, 20); JPanel displayPanel = new JPanel(); JButton zoomIn = new JButton("zoomIn"); JButton zoomOut = new JButton("zoomOut"); JPanel buttonPanel = new JPanel(); buttonPanel.setLayout(new FlowLayout()); buttonPanel.add(zoomIn); buttonPanel.add(zoomOut); displayPanel.setLayout(new BorderLayout()); displayPanel.add(particleDisplay, java.awt.BorderLayout.CENTER); displayPanel.add(buttonPanel, java.awt.BorderLayout.SOUTH); java.awt.Dimension size = new java.awt.Dimension(400, 400); displayPanel.setSize(size); particleWindow.getContentPane().add(displayPanel); //particleWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); particleWindow.setSize(size); zoomIn.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae) { particleDisplay.setZoomIn(true); // particleDisplay.setZoomOut(false); } }); zoomOut.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae) { particleDisplay.setZoomOut(true); // particleDisplay.setZoomIn(false); } }); Toolkit tk = Toolkit.getDefaultToolkit(); if(400*particleDisplays < tk.getScreenSize().width){ particleWindow.setLocation(400 * particleDisplays, tk.getScreenSize().height - 400); }else{ particleWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - 400); } particleDisplays++; particleWindow.setVisible(true); } }
public void createParticleDisplay(BasicSeismogramDisplay creator){ if(particleDisplay == null){ logger.debug("creating particle display"); particleWindow = new JFrame(); LocalSeismogramImpl seis = (((LocalSeismogramImpl)((DataSetSeismogram)creator.getSeismograms().getFirst()).getSeismogram())); particleDisplay = new ParticleMotionDisplay(seis, creator.getTimeRegistrar(), creator.getAmpRegistrar(), creator.getAmpRegistrar(), ((DataSetSeismogram)creator.getSeismograms().getFirst()).getDataSet()); particleDisplay.addAzimuthLine(15); particleDisplay.addSector(10, 20); JPanel displayPanel = new JPanel(); JButton zoomIn = new JButton("zoomIn"); JButton zoomOut = new JButton("zoomOut"); JPanel buttonPanel = new JPanel(); buttonPanel.setLayout(new FlowLayout()); buttonPanel.add(zoomIn); buttonPanel.add(zoomOut); displayPanel.setLayout(new BorderLayout()); displayPanel.add(particleDisplay, java.awt.BorderLayout.CENTER); displayPanel.add(buttonPanel, java.awt.BorderLayout.SOUTH); java.awt.Dimension size = new java.awt.Dimension(400, 400); displayPanel.setSize(size); particleWindow.getContentPane().add(displayPanel); //particleWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); particleWindow.setSize(size); zoomIn.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae) { particleDisplay.setZoomIn(true); // particleDisplay.setZoomOut(false); } }); zoomOut.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent ae) { particleDisplay.setZoomOut(true); // particleDisplay.setZoomIn(false); } }); Toolkit tk = Toolkit.getDefaultToolkit(); if(400*particleDisplays < tk.getScreenSize().width){ particleWindow.setLocation(400 * particleDisplays, tk.getScreenSize().height - 400); }else{ particleWindow.setLocation(tk.getScreenSize().width - particleWindow.getSize().width, tk.getScreenSize().height - particleWindow.getSize().height); } particleDisplays++; particleWindow.setVisible(true); } }
1,118,769
public void actionPerformed(ActionEvent ae) { particleDisplay.setZoomOut(true); // particleDisplay.setZoomIn(false); }
public void actionPerformed(ActionEvent ae) { particleDisplay.setZoomIn(true); // particleDisplay.setZoomIn(false); }
1,118,770
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.setSize(400, 200); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); selectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } selectionWindow.getContentPane().add(selectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if(selectionDisplays + 220 < tk.getScreenSize().height){ selectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 220)); }else{ selectionWindow.setLocation(tk.getScreenSize().width - 400, 0); } selectionDisplays += 220; selectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { selectionDisplay.removeAll(); } }); selectionWindow.setSize(400, 200); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); selectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } selectionWindow.getContentPane().add(selectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if(selectionDisplays + 220 < tk.getScreenSize().height){ selectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 220)); }else{ selectionWindow.setLocation(tk.getScreenSize().width - 400, 0); } selectionDisplays += 220; selectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
1,118,771
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.setSize(400, 200); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); selectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } selectionWindow.getContentPane().add(selectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if(selectionDisplays + 220 < tk.getScreenSize().height){ selectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 220)); }else{ selectionWindow.setLocation(tk.getScreenSize().width - 400, 0); } selectionDisplays += 220; selectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.setSize(400, 200); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); selectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); creator.setDisplay(selectionDisplay.addDisplay(first, tr, ar, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } selectionWindow.getContentPane().add(selectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if(selectionDisplays + 220 < tk.getScreenSize().height){ selectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 220)); }else{ selectionWindow.setLocation(tk.getScreenSize().width - 400, 0); } selectionDisplays += 220; selectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(selectionDisplay.addDisplay(first, tr, ar, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
1,118,772
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.setSize(400, 200); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); selectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } selectionWindow.getContentPane().add(selectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if(selectionDisplays + 220 < tk.getScreenSize().height){ selectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 220)); }else{ selectionWindow.setLocation(tk.getScreenSize().width - 400, 0); } selectionDisplays += 220; selectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.setSize(400, 200); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); selectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } selectionWindow.getContentPane().add(selectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if(selectionDisplays + 220 < tk.getScreenSize().height){ selectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 220)); }else{ selectionWindow.setLocation(tk.getScreenSize().width - 400, 0); } selectionDisplays += 220; selectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
1,118,773
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.setSize(400, 200); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); selectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } selectionWindow.getContentPane().add(selectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if(selectionDisplays + 220 < tk.getScreenSize().height){ selectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 220)); }else{ selectionWindow.setLocation(tk.getScreenSize().width - 400, 0); } selectionDisplays += 220; selectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.setSize(400, 200); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); selectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } selectionWindow.getContentPane().add(selectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if(selectionDisplays + 220 < tk.getScreenSize().height){ selectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 220)); }else{ selectionWindow.setLocation(tk.getScreenSize().width - selectionWindow.getSize().width, 0); } selectionDisplays += 220; selectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
1,118,774
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.setSize(400, 200); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); selectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } selectionWindow.getContentPane().add(selectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if(selectionDisplays + 220 < tk.getScreenSize().height){ selectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 220)); }else{ selectionWindow.setLocation(tk.getScreenSize().width - 400, 0); } selectionDisplays += 220; selectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionWindow = new JFrame(); //selectionWindow.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); selectionWindow.setSize(400, 200); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); selectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } selectionWindow.getContentPane().add(selectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if(selectionDisplays + 220 < tk.getScreenSize().height){ selectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 220)); }else{ selectionWindow.setLocation(tk.getScreenSize().width - 400, 0); } selectionDisplays += selectionWindow.getSize().height; selectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(selectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ selectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
1,118,775
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionWindow.setSize(400, 400); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); XMLDataSet dataSet = (XMLDataSet)first.getDataSet(); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ threeSelectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } threeSelectionWindow.getContentPane().add(threeSelectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if((selectionDisplays + 400) < tk.getScreenSize().height){ threeSelectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 400)); }else{ threeSelectionWindow.setLocation(tk.getScreenSize().width - 400, 0); } selectionDisplays+= 400; threeSelectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ threeSelectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionWindow.setSize(400, 400); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); XMLDataSet dataSet = (XMLDataSet)first.getDataSet(); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, ar, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ threeSelectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } threeSelectionWindow.getContentPane().add(threeSelectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if((selectionDisplays + 400) < tk.getScreenSize().height){ threeSelectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 400)); }else{ threeSelectionWindow.setLocation(tk.getScreenSize().width - 400, 0); } selectionDisplays+= 400; threeSelectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, ar, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ threeSelectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
1,118,776
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionWindow.setSize(400, 400); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); XMLDataSet dataSet = (XMLDataSet)first.getDataSet(); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ threeSelectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } threeSelectionWindow.getContentPane().add(threeSelectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if((selectionDisplays + 400) < tk.getScreenSize().height){ threeSelectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 400)); }else{ threeSelectionWindow.setLocation(tk.getScreenSize().width - 400, 0); } selectionDisplays+= 400; threeSelectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ threeSelectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionWindow.setSize(400, 400); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); XMLDataSet dataSet = (XMLDataSet)first.getDataSet(); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ threeSelectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } threeSelectionWindow.getContentPane().add(threeSelectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if((selectionDisplays + 400) < tk.getScreenSize().height){ threeSelectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 400)); }else{ threeSelectionWindow.setLocation(tk.getScreenSize().width - 400, 0); } selectionDisplays+= 400; threeSelectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ threeSelectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
1,118,777
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionWindow.setSize(400, 400); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); XMLDataSet dataSet = (XMLDataSet)first.getDataSet(); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ threeSelectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } threeSelectionWindow.getContentPane().add(threeSelectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if((selectionDisplays + 400) < tk.getScreenSize().height){ threeSelectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 400)); }else{ threeSelectionWindow.setLocation(tk.getScreenSize().width - 400, 0); } selectionDisplays+= 400; threeSelectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ threeSelectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionWindow.setSize(400, 400); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); XMLDataSet dataSet = (XMLDataSet)first.getDataSet(); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ threeSelectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } threeSelectionWindow.getContentPane().add(threeSelectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if((selectionDisplays + 400) < tk.getScreenSize().height){ threeSelectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 400)); }else{ threeSelectionWindow.setLocation(tk.getScreenSize().width - threeSelectionWindow.getSize().width, 0); } selectionDisplays+= 400; threeSelectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ threeSelectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
1,118,778
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionWindow.setSize(400, 400); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); XMLDataSet dataSet = (XMLDataSet)first.getDataSet(); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ threeSelectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } threeSelectionWindow.getContentPane().add(threeSelectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if((selectionDisplays + 400) < tk.getScreenSize().height){ threeSelectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 400)); }else{ threeSelectionWindow.setLocation(tk.getScreenSize().width - 400, 0); } selectionDisplays+= 400; threeSelectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ threeSelectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
public void createThreeSelectionDisplay(Selection creator){ if(threeSelectionDisplay == null){ logger.debug("creating 3C selection display"); threeSelectionWindow = new JFrame(); threeSelectionWindow.setSize(400, 400); threeSelectionDisplay = new VerticalSeismogramDisplay(mouseForwarder, motionForwarder, this); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); XMLDataSet dataSet = (XMLDataSet)first.getDataSet(); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); ar.visibleAmpCalc(tr); while(e.hasNext()){ threeSelectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } threeSelectionWindow.getContentPane().add(threeSelectionDisplay); Toolkit tk = Toolkit.getDefaultToolkit(); if((selectionDisplays + 400) < tk.getScreenSize().height){ threeSelectionWindow.setLocation(tk.getScreenSize().width - 400, tk.getScreenSize().height - (selectionDisplays + 400)); }else{ threeSelectionWindow.setLocation(tk.getScreenSize().width - 400, 0); } selectionDisplays+= threeSelectionWindow.getSize().height; threeSelectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); Iterator e = creator.getSeismograms().iterator(); TimeConfigRegistrar tr = creator.getInternalConfig(); DataSetSeismogram first = ((DataSetSeismogram)e.next()); AmpConfigRegistrar ar = new AmpConfigRegistrar(new OffsetMeanAmpConfig(((LocalSeismogramImpl)first.getSeismogram()), tr.getTimeRange(first.getSeismogram()))); ar.visibleAmpCalc(tr); creator.setDisplay(threeSelectionDisplay.addDisplay(first, tr, creator.getParent().getName() + "." + creator.getColor())); while(e.hasNext()){ threeSelectionDisplay.addSeismogram(((DataSetSeismogram)e.next()), 0); } } }
1,118,779
public void removeAll(){ logger.debug("removing all displays"); if(parent != null){ parent.removeSelectionDisplay(this); } this.stopImageCreation(); seismograms.removeAll(); remove(seismograms); basicDisplays = new LinkedList(); sorter = new AlphaSeisSorter(); globalTimeRegistrar = new TimeConfigRegistrar(); globalAmpRegistrar = new AmpConfigRegistrar(new RMeanAmpConfig()); this.time.setText(" Time: "); this.amp.setText(" Amplitude: "); if(selectionDisplay != null){ selectionDisplay.removeAll(); selectionWindow.dispose(); selectionDisplays -= 220; selectionDisplay = null; } if(threeSelectionDisplay != null){ threeSelectionDisplay.removeAll(); threeSelectionWindow.dispose(); selectionDisplays -= 400; selectionDisplay = null; } if(particleDisplay != null){ particleWindow.dispose(); particleDisplays--; particleDisplay = null; } repaint(); }
public void removeAll(){ logger.debug("removing all displays"); if(parent != null){ parent.removeSelectionDisplay(this); } this.stopImageCreation(); seismograms.removeAll(); remove(seismograms); basicDisplays = new LinkedList(); sorter = new AlphaSeisSorter(); globalTimeRegistrar = new TimeConfigRegistrar(); globalAmpRegistrar = new AmpConfigRegistrar(new RMeanAmpConfig()); this.time.setText(" Time: "); this.amp.setText(" Amplitude: "); if(selectionDisplay != null){ selectionDisplay.removeAll(); selectionWindow.dispose(); selectionDisplays -= selectionWindow.getSize().height; selectionDisplay = null; } if(threeSelectionDisplay != null){ threeSelectionDisplay.removeAll(); threeSelectionWindow.dispose(); selectionDisplays -= 400; selectionDisplay = null; } if(particleDisplay != null){ particleWindow.dispose(); particleDisplays--; particleDisplay = null; } repaint(); }
1,118,780
public void removeAll(){ logger.debug("removing all displays"); if(parent != null){ parent.removeSelectionDisplay(this); } this.stopImageCreation(); seismograms.removeAll(); remove(seismograms); basicDisplays = new LinkedList(); sorter = new AlphaSeisSorter(); globalTimeRegistrar = new TimeConfigRegistrar(); globalAmpRegistrar = new AmpConfigRegistrar(new RMeanAmpConfig()); this.time.setText(" Time: "); this.amp.setText(" Amplitude: "); if(selectionDisplay != null){ selectionDisplay.removeAll(); selectionWindow.dispose(); selectionDisplays -= 220; selectionDisplay = null; } if(threeSelectionDisplay != null){ threeSelectionDisplay.removeAll(); threeSelectionWindow.dispose(); selectionDisplays -= 400; selectionDisplay = null; } if(particleDisplay != null){ particleWindow.dispose(); particleDisplays--; particleDisplay = null; } repaint(); }
public void removeAll(){ logger.debug("removing all displays"); if(parent != null){ parent.removeSelectionDisplay(this); } this.stopImageCreation(); seismograms.removeAll(); remove(seismograms); basicDisplays = new LinkedList(); sorter = new AlphaSeisSorter(); globalTimeRegistrar = new TimeConfigRegistrar(); globalAmpRegistrar = new AmpConfigRegistrar(new RMeanAmpConfig()); this.time.setText(" Time: "); this.amp.setText(" Amplitude: "); if(selectionDisplay != null){ selectionDisplay.removeAll(); selectionWindow.dispose(); selectionDisplays -= 220; selectionDisplay = null; } if(threeSelectionDisplay != null){ threeSelectionDisplay.removeAll(); threeSelectionWindow.dispose(); selectionDisplays -= threeSelectionWindow.getSize().height; selectionDisplay = null; } if(particleDisplay != null){ particleWindow.dispose(); particleDisplays--; particleDisplay = null; } repaint(); }
1,118,781
public void removeSelectionDisplay(VerticalSeismogramDisplay display){ if(display == selectionDisplay){ selectionWindow.dispose(); selectionDisplays -= 220; selectionDisplay = null; }else{ threeSelectionWindow.dispose(); selectionDisplays -= 400; threeSelectionDisplay = null; } }
public void removeSelectionDisplay(VerticalSeismogramDisplay display){ if(display == selectionDisplay){ selectionWindow.dispose(); selectionDisplays -= selectionWindow.getSize().height; selectionDisplay = null; }else{ threeSelectionWindow.dispose(); selectionDisplays -= 400; threeSelectionDisplay = null; } }
1,118,782
public void removeSelectionDisplay(VerticalSeismogramDisplay display){ if(display == selectionDisplay){ selectionWindow.dispose(); selectionDisplays -= 220; selectionDisplay = null; }else{ threeSelectionWindow.dispose(); selectionDisplays -= 400; threeSelectionDisplay = null; } }
public void removeSelectionDisplay(VerticalSeismogramDisplay display){ if(display == selectionDisplay){ selectionWindow.dispose(); selectionDisplays -= 220; selectionDisplay = null; }else{ threeSelectionWindow.dispose(); selectionDisplays -= threeSelectionWindow.getSize().height; threeSelectionDisplay = null; } }
1,118,783
public void testAcquisition() { try { ATMethod nativeMethod = evalAndReturn("mirrorOn1.grabMethod(`+).base").base_asMethod(); assertEquals(NativeMethod.class, nativeMethod.getClass()); assertEquals(AGSymbol.alloc("+"), nativeMethod.base_getName()); } catch (InterpreterException e) { fail(e.getMessage()); } }
public void testAcquisition() { try { ATMethod nativeMethod = evalAndReturn("mirrorOn1.grabMethod(`+).base").base_asMethod(); assertEquals(NativeMethod.class, nativeMethod.getClass()); assertEquals(AGSymbol.jAlloc("+"), nativeMethod.base_getName()); } catch (InterpreterException e) { fail(e.getMessage()); } }
1,118,784
public void testSelection() { try { ATObject clo = evalAndReturn("mirrorOn1.select(mirrorOn1.base, `+).base"); assertTrue(clo.base_isClosure()); ATClosure c = clo.base_asClosure(); ATMethod m = c.base_getMethod(); assertEquals(NativeMethod.class, m.getClass()); assertEquals(AGSymbol.alloc("+"), m.base_getName()); assertEquals(NATNumber.atValue(2), c.base_apply(new NATTable(new ATObject[] { NATNumber.ONE }))); } catch (InterpreterException e) { fail(e.getMessage()); } }
public void testSelection() { try { ATObject clo = evalAndReturn("mirrorOn1.select(mirrorOn1.base, `+).base"); assertTrue(clo.base_isClosure()); ATClosure c = clo.base_asClosure(); ATMethod m = c.base_getMethod(); assertEquals(NativeMethod.class, m.getClass()); assertEquals(AGSymbol.jAlloc("+"), m.base_getName()); assertEquals(NATNumber.atValue(2), c.base_apply(new NATTable(new ATObject[] { NATNumber.ONE }))); } catch (InterpreterException e) { fail(e.getMessage()); } }
1,118,785
public static int[][] calculatePlottable(LocalSeismogram seismogram, UnitRangeImpl a, MicroSecondTimeRange t, Dimension size) throws UnsupportedDataEncoding { LocalSeismogramImpl seis = (LocalSeismogramImpl)seismogram; double pointsPerPixal = t.getInterval().divideBy(seis.getSampling().getPeriod()).getValue() / size.width; if (pointsPerPixal > 3) { return getPlottableCompress(seis, a, t, size); } else { return getPlottableSimple(seis, a, t, size); } }
public static int[][] calculatePlottable(LocalSeismogram seismogram, UnitRangeImpl a, MicroSecondTimeRange t, Dimension size) throws UnsupportedDataEncoding { LocalSeismogramImpl seis = (LocalSeismogramImpl)seismogram; double pointsPerPixal = t.getInterval().divideBy(seis.getSampling().getPeriod()).getValue() / size.width/1000; if (pointsPerPixal > 3) { return getPlottableCompress(seis, a, t, size); } else { return getPlottableSimple(seis, a, t, size); } }
1,118,786
private void reviewMode() { setMode(MODE_REVIEW); review.loadLogFile("C:/programming/acquire/logs/06.11.18-17.10.46 - 940 - tlstyer (501), Marnie (462), Chumba (446), trump (344).log"); synchronized (this) { while (!leaveReviewModeFlag) { try { wait(); } catch (InterruptedException e) { e.printStackTrace(); } } } leaveReviewModeFlag = false; }
private void reviewMode() { setMode(MODE_REVIEW); synchronized (this) { while (!leaveReviewModeFlag) { try { wait(); } catch (InterruptedException e) { e.printStackTrace(); } } } leaveReviewModeFlag = false; }
1,118,788
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 100000){ timeFormat = new SimpleDateFormat("ss.S"); if(majTickTime <= 1000){ majTickTime = 1000; }else if(majTickTime <= 10000){ majTickTime = 10000; }else if(majTickTime <= 100000){ majTickTime = 100000; } }else if(majTickTime <= 30000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 1000000){ majTickTime = 1000000; }else if(majTickTime <= 5000000){ majTickTime = 5000000; }else if(majTickTime <= 1000000){ majTickTime = 10000000; }else majTickTime = 30000000; } else if(majTickTime <= 180000000){ majTickRatio = 6; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 60000000){ majTickTime = 60000000; }else if(majTickTime <= 120000000){ majTickTime = 120000000; }else majTickTime = 180000000; } else if(majTickTime <= 1800000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 300000000) majTickTime = 300000000; else if(majTickTime <= 600000000) majTickTime = 600000000; else if(majTickTime <= 1200000000){ majTickTime = 1200000000; }else majTickTime = 1800000000; } else if(majTickTime <= 43200000000l){ majTickRatio = 6; timeFormat = new SimpleDateFormat("MM/dd HH:mm"); if(majTickTime <= 3600000000l){ majTickTime = 3600000000l; }else if(majTickTime <= 7200000000l){ majTickTime = 7200000000l; }else if(majTickTime <= 10800000000l){ majTickTime = 10800000000l; }else if(majTickTime <= 21600000000l){ majTickTime = 21600000000l; }else majTickTime = 43200000000l; } else{ majTickRatio = 6; timeFormat = new SimpleDateFormat("MM/dd"); majTickTime = 86400000000l; } timeFormat.setTimeZone(TimeZone.getTimeZone("GMT")); numTicks = ((int)(timeIntv/(double)majTickTime) * majTickRatio); firstLabelTime = (beginTime/majTickTime + 1) * majTickTime; majTickOffset = (int)((firstLabelTime - beginTime)/(double)timeIntv * numTicks); tickOffset = (firstLabelTime - beginTime)/(double)timeIntv/majTickRatio * totalPixels; tickSpacing = totalPixels/(double)numTicks; }
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 100000){ timeFormat = new SimpleDateFormat("ss.S"); if(majTickTime <= 1000){ majTickTime = 1000; }else if(majTickTime <= 10000){ majTickTime = 10000; }else if(majTickTime <= 100000){ majTickTime = 100000; } }else if(majTickTime <= 30 * 1000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 1000000){ majTickTime = 1000000; }else if(majTickTime <= 5000000){ majTickTime = 5000000; }else if(majTickTime <= 1000000){ majTickTime = 10000000; }else majTickTime = 30000000; } else if(majTickTime <= 180000000){ majTickRatio = 6; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 60000000){ majTickTime = 60000000; }else if(majTickTime <= 120000000){ majTickTime = 120000000; }else majTickTime = 180000000; } else if(majTickTime <= 1800000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 300000000) majTickTime = 300000000; else if(majTickTime <= 600000000) majTickTime = 600000000; else if(majTickTime <= 1200000000){ majTickTime = 1200000000; }else majTickTime = 1800000000; } else if(majTickTime <= 43200000000l){ majTickRatio = 6; timeFormat = new SimpleDateFormat("MM/dd HH:mm"); if(majTickTime <= 3600000000l){ majTickTime = 3600000000l; }else if(majTickTime <= 7200000000l){ majTickTime = 7200000000l; }else if(majTickTime <= 10800000000l){ majTickTime = 10800000000l; }else if(majTickTime <= 21600000000l){ majTickTime = 21600000000l; }else majTickTime = 43200000000l; } else{ majTickRatio = 6; timeFormat = new SimpleDateFormat("MM/dd"); majTickTime = 86400000000l; } timeFormat.setTimeZone(TimeZone.getTimeZone("GMT")); numTicks = ((int)(timeIntv/(double)majTickTime) * majTickRatio); firstLabelTime = (beginTime/majTickTime + 1) * majTickTime; majTickOffset = (int)((firstLabelTime - beginTime)/(double)timeIntv * numTicks); tickOffset = (firstLabelTime - beginTime)/(double)timeIntv/majTickRatio * totalPixels; tickSpacing = totalPixels/(double)numTicks; }
1,118,790
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 100000){ timeFormat = new SimpleDateFormat("ss.S"); if(majTickTime <= 1000){ majTickTime = 1000; }else if(majTickTime <= 10000){ majTickTime = 10000; }else if(majTickTime <= 100000){ majTickTime = 100000; } }else if(majTickTime <= 30000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 1000000){ majTickTime = 1000000; }else if(majTickTime <= 5000000){ majTickTime = 5000000; }else if(majTickTime <= 1000000){ majTickTime = 10000000; }else majTickTime = 30000000; } else if(majTickTime <= 180000000){ majTickRatio = 6; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 60000000){ majTickTime = 60000000; }else if(majTickTime <= 120000000){ majTickTime = 120000000; }else majTickTime = 180000000; } else if(majTickTime <= 1800000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 300000000) majTickTime = 300000000; else if(majTickTime <= 600000000) majTickTime = 600000000; else if(majTickTime <= 1200000000){ majTickTime = 1200000000; }else majTickTime = 1800000000; } else if(majTickTime <= 43200000000l){ majTickRatio = 6; timeFormat = new SimpleDateFormat("MM/dd HH:mm"); if(majTickTime <= 3600000000l){ majTickTime = 3600000000l; }else if(majTickTime <= 7200000000l){ majTickTime = 7200000000l; }else if(majTickTime <= 10800000000l){ majTickTime = 10800000000l; }else if(majTickTime <= 21600000000l){ majTickTime = 21600000000l; }else majTickTime = 43200000000l; } else{ majTickRatio = 6; timeFormat = new SimpleDateFormat("MM/dd"); majTickTime = 86400000000l; } timeFormat.setTimeZone(TimeZone.getTimeZone("GMT")); numTicks = ((int)(timeIntv/(double)majTickTime) * majTickRatio); firstLabelTime = (beginTime/majTickTime + 1) * majTickTime; majTickOffset = (int)((firstLabelTime - beginTime)/(double)timeIntv * numTicks); tickOffset = (firstLabelTime - beginTime)/(double)timeIntv/majTickRatio * totalPixels; tickSpacing = totalPixels/(double)numTicks; }
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 100000){ timeFormat = new SimpleDateFormat("ss.S"); if(majTickTime <= 1000){ majTickTime = 1000; }else if(majTickTime <= 10000){ majTickTime = 10000; }else if(majTickTime <= 100000){ majTickTime = 100000; } }else if(majTickTime <= 30000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 1000000){ majTickTime = 1000000; }else if(majTickTime <= 5000000){ majTickTime = 5000000; }else if(majTickTime <= 1000000){ majTickTime = 10000000; }else majTickTime = 30000000; } else if(majTickTime <= 180000000){ majTickRatio = 6; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 60000000){ majTickTime = 60000000; }else if(majTickTime <= 120000000){ majTickTime = 120000000; }else majTickTime = 180000000; } else if(majTickTime <= 1800000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 300000000) majTickTime = 300000000; else if(majTickTime <= 600000000) majTickTime = 600000000; else if(majTickTime <= 1200000000){ majTickTime = 1200000000; }else majTickTime = 1800000000; } else if(majTickTime <= 43200000000l){ majTickRatio = 6; timeFormat = new SimpleDateFormat("MM/dd HH:mm"); if(majTickTime <= 3600000000l){ majTickTime = 3600000000l; }else if(majTickTime <= 7200000000l){ majTickTime = 7200000000l; }else if(majTickTime <= 10800000000l){ majTickTime = 10800000000l; }else if(majTickTime <= 21600000000l){ majTickTime = 21600000000l; }else majTickTime = 43200000000l; } else{ majTickRatio = 6; timeFormat = new SimpleDateFormat("MM/dd"); majTickTime = 86400000000l; } timeFormat.setTimeZone(TimeZone.getTimeZone("GMT")); double numTicksDbl = ((timeIntv/(double)majTickTime) * majTickRatio); numTicks = (int)numTicksDbl; firstLabelTime = (beginTime/majTickTime + 1) * majTickTime; majTickOffset = (int)((firstLabelTime - beginTime)/(double)timeIntv * numTicks); tickOffset = (firstLabelTime - beginTime)/(double)timeIntv/majTickRatio * totalPixels; tickSpacing = totalPixels/(double)numTicks; }
1,118,791
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 100000){ timeFormat = new SimpleDateFormat("ss.S"); if(majTickTime <= 1000){ majTickTime = 1000; }else if(majTickTime <= 10000){ majTickTime = 10000; }else if(majTickTime <= 100000){ majTickTime = 100000; } }else if(majTickTime <= 30000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 1000000){ majTickTime = 1000000; }else if(majTickTime <= 5000000){ majTickTime = 5000000; }else if(majTickTime <= 1000000){ majTickTime = 10000000; }else majTickTime = 30000000; } else if(majTickTime <= 180000000){ majTickRatio = 6; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 60000000){ majTickTime = 60000000; }else if(majTickTime <= 120000000){ majTickTime = 120000000; }else majTickTime = 180000000; } else if(majTickTime <= 1800000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 300000000) majTickTime = 300000000; else if(majTickTime <= 600000000) majTickTime = 600000000; else if(majTickTime <= 1200000000){ majTickTime = 1200000000; }else majTickTime = 1800000000; } else if(majTickTime <= 43200000000l){ majTickRatio = 6; timeFormat = new SimpleDateFormat("MM/dd HH:mm"); if(majTickTime <= 3600000000l){ majTickTime = 3600000000l; }else if(majTickTime <= 7200000000l){ majTickTime = 7200000000l; }else if(majTickTime <= 10800000000l){ majTickTime = 10800000000l; }else if(majTickTime <= 21600000000l){ majTickTime = 21600000000l; }else majTickTime = 43200000000l; } else{ majTickRatio = 6; timeFormat = new SimpleDateFormat("MM/dd"); majTickTime = 86400000000l; } timeFormat.setTimeZone(TimeZone.getTimeZone("GMT")); numTicks = ((int)(timeIntv/(double)majTickTime) * majTickRatio); firstLabelTime = (beginTime/majTickTime + 1) * majTickTime; majTickOffset = (int)((firstLabelTime - beginTime)/(double)timeIntv * numTicks); tickOffset = (firstLabelTime - beginTime)/(double)timeIntv/majTickRatio * totalPixels; tickSpacing = totalPixels/(double)numTicks; }
public void calculateTicks(){ int majTickNum = totalPixels/50; majTickTime = timeIntv/majTickNum; majTickRatio = 10; if(majTickTime <= 100000){ timeFormat = new SimpleDateFormat("ss.S"); if(majTickTime <= 1000){ majTickTime = 1000; }else if(majTickTime <= 10000){ majTickTime = 10000; }else if(majTickTime <= 100000){ majTickTime = 100000; } }else if(majTickTime <= 30000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 1000000){ majTickTime = 1000000; }else if(majTickTime <= 5000000){ majTickTime = 5000000; }else if(majTickTime <= 1000000){ majTickTime = 10000000; }else majTickTime = 30000000; } else if(majTickTime <= 180000000){ majTickRatio = 6; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 60000000){ majTickTime = 60000000; }else if(majTickTime <= 120000000){ majTickTime = 120000000; }else majTickTime = 180000000; } else if(majTickTime <= 1800000000){ majTickRatio = 10; timeFormat = new SimpleDateFormat("HH:mm:ss"); if(majTickTime <= 300000000) majTickTime = 300000000; else if(majTickTime <= 600000000) majTickTime = 600000000; else if(majTickTime <= 1200000000){ majTickTime = 1200000000; }else majTickTime = 1800000000; } else if(majTickTime <= 43200000000l){ majTickRatio = 6; timeFormat = new SimpleDateFormat("MM/dd HH:mm"); if(majTickTime <= 3600000000l){ majTickTime = 3600000000l; }else if(majTickTime <= 7200000000l){ majTickTime = 7200000000l; }else if(majTickTime <= 10800000000l){ majTickTime = 10800000000l; }else if(majTickTime <= 21600000000l){ majTickTime = 21600000000l; }else majTickTime = 43200000000l; } else{ majTickRatio = 6; timeFormat = new SimpleDateFormat("MM/dd"); majTickTime = 86400000000l; } timeFormat.setTimeZone(TimeZone.getTimeZone("GMT")); numTicks = ((int)(timeIntv/(double)majTickTime) * majTickRatio); firstLabelTime = (beginTime/majTickTime + 1) * majTickTime; majTickOffset = (int)((firstLabelTime - beginTime)/(double)timeIntv * numTicks); tickOffset = (firstLabelTime - beginTime)/(double)timeIntv/majTickRatio * totalPixels; tickSpacing = totalPixels/numTicksDbl; }
1,118,792
private boolean isDeleted(Collection deleted, CoreEventInfo tryCei) { if ((deleted == null) || (deleted.size() == 0)) { return false; } boolean try1 = false; Iterator it = deleted.iterator(); while (it.hasNext()) { CoreEventInfo cei = (CoreEventInfo)it.next(); BwEventProxy pr = (BwEventProxy)cei.getEvent(); if (debug) { trace("Deleted: " + pr.getTarget().getId()); } if (cei.equals(tryCei)) { if (!debug) { return true; } trace("Matched: " + tryCei.getEvent().getId()); try1 = true; break; } } // only here for debug mode boolean try2 = deleted.contains(tryCei); trace(" try2 for : " + tryCei.getEvent().getId() + " gives " + try2); return try1 || try2; }
private boolean isDeleted(Collection deleted, CoreEventInfo tryCei) { if ((deleted == null) || (deleted.size() == 0)) { return false; } Iterator it = deleted.iterator(); while (it.hasNext()) { CoreEventInfo cei = (CoreEventInfo)it.next(); BwEventProxy pr = (BwEventProxy)cei.getEvent(); if (debug) { trace("Deleted: " + pr.getTarget().getId()); } if (cei.equals(tryCei)) { if (!debug) { return true; } trace("Matched: " + tryCei.getEvent().getId()); try1 = true; break; } } // only here for debug mode boolean try2 = deleted.contains(tryCei); trace(" try2 for : " + tryCei.getEvent().getId() + " gives " + try2); return try1 || try2; }
1,118,793
private boolean isDeleted(Collection deleted, CoreEventInfo tryCei) { if ((deleted == null) || (deleted.size() == 0)) { return false; } boolean try1 = false; Iterator it = deleted.iterator(); while (it.hasNext()) { CoreEventInfo cei = (CoreEventInfo)it.next(); BwEventProxy pr = (BwEventProxy)cei.getEvent(); if (debug) { trace("Deleted: " + pr.getTarget().getId()); } if (cei.equals(tryCei)) { if (!debug) { return true; } trace("Matched: " + tryCei.getEvent().getId()); try1 = true; break; } } // only here for debug mode boolean try2 = deleted.contains(tryCei); trace(" try2 for : " + tryCei.getEvent().getId() + " gives " + try2); return try1 || try2; }
private boolean isDeleted(Collection deleted, CoreEventInfo tryCei) { if ((deleted == null) || (deleted.size() == 0)) { return false; } boolean try1 = false; Iterator it = deleted.iterator(); while (it.hasNext()) { CoreEventInfo cei = (CoreEventInfo)it.next(); BwEventProxy pr = (BwEventProxy)cei.getEvent(); if (debug) { trace("Deleted: " + pr.getTarget().getId()); } if (cei.equals(tryCei)) { if (!debug) { return true; } trace("Matched: " + tryCei.getEvent().getId()); try1 = true; break; } } // only here for debug mode boolean try2 = deleted.contains(tryCei); trace(" try2 for : " + tryCei.getEvent().getId() + " gives " + try2); return try1 || try2; }
1,118,794
private boolean isDeleted(Collection deleted, CoreEventInfo tryCei) { if ((deleted == null) || (deleted.size() == 0)) { return false; } boolean try1 = false; Iterator it = deleted.iterator(); while (it.hasNext()) { CoreEventInfo cei = (CoreEventInfo)it.next(); BwEventProxy pr = (BwEventProxy)cei.getEvent(); if (debug) { trace("Deleted: " + pr.getTarget().getId()); } if (cei.equals(tryCei)) { if (!debug) { return true; } trace("Matched: " + tryCei.getEvent().getId()); try1 = true; break; } } // only here for debug mode boolean try2 = deleted.contains(tryCei); trace(" try2 for : " + tryCei.getEvent().getId() + " gives " + try2); return try1 || try2; }
private boolean isDeleted(Collection deleted, CoreEventInfo tryCei) { if ((deleted == null) || (deleted.size() == 0)) { return false; } boolean try1 = false; Iterator it = deleted.iterator(); while (it.hasNext()) { CoreEventInfo cei = (CoreEventInfo)it.next(); BwEventProxy pr = (BwEventProxy)cei.getEvent(); if (debug) { trace("Deleted: " + pr.getTarget().getId()); } if (cei.equals(tryCei)) { if (!debug) { return true; } trace("Matched: " + tryCei.getEvent().getId()); try1 = true; break; } } // only here for debug mode boolean try2 = deleted.contains(tryCei); trace(" try2 for : " + tryCei.getEvent().getId() + " gives " + try2); return try1 || try2; }
1,118,795
private boolean isDeleted(Collection deleted, CoreEventInfo tryCei) { if ((deleted == null) || (deleted.size() == 0)) { return false; } boolean try1 = false; Iterator it = deleted.iterator(); while (it.hasNext()) { CoreEventInfo cei = (CoreEventInfo)it.next(); BwEventProxy pr = (BwEventProxy)cei.getEvent(); if (debug) { trace("Deleted: " + pr.getTarget().getId()); } if (cei.equals(tryCei)) { if (!debug) { return true; } trace("Matched: " + tryCei.getEvent().getId()); try1 = true; break; } } // only here for debug mode boolean try2 = deleted.contains(tryCei); trace(" try2 for : " + tryCei.getEvent().getId() + " gives " + try2); return try1 || try2; }
private boolean isDeleted(Collection deleted, CoreEventInfo tryCei) { if ((deleted == null) || (deleted.size() == 0)) { return false; } boolean try1 = false; Iterator it = deleted.iterator(); while (it.hasNext()) { CoreEventInfo cei = (CoreEventInfo)it.next(); BwEventProxy pr = (BwEventProxy)cei.getEvent(); if (debug) { trace("Deleted: " + pr.getTarget().getId()); } if (cei.equals(tryCei)) { if (!debug) { return true; } trace("Matched: " + tryCei.getEvent().getId()); try1 = true; break; } } // only here for debug mode boolean try2 = deleted.contains(tryCei); trace(" try2 for : " + tryCei.getEvent().getId() + " gives " + try2); return try1 || try2; }
1,118,796
public void remove(MouseEvent me){ logger.debug(name + " being removed"); this.stopImageCreation(); parent.removeDisplay(this); timeRegistrar.removeTimeSyncListener(this); ampRegistrar.removeAmpSyncListener(this); Iterator e = seismos.iterator(); while(e.hasNext()){ LocalSeismogram current = ((LocalSeismogram)e.next()); timeRegistrar.removeSeismogram(current); ampRegistrar.removeSeismogram(current); } }
public void remove(){ logger.debug(name + " being removed"); this.stopImageCreation(); parent.removeDisplay(this); timeRegistrar.removeTimeSyncListener(this); ampRegistrar.removeAmpSyncListener(this); Iterator e = seismos.iterator(); while(e.hasNext()){ LocalSeismogram current = ((LocalSeismogram)e.next()); timeRegistrar.removeSeismogram(current); ampRegistrar.removeSeismogram(current); } }
1,118,797
public void remove(MouseEvent me){ logger.debug(name + " being removed"); this.stopImageCreation(); parent.removeDisplay(this); timeRegistrar.removeTimeSyncListener(this); ampRegistrar.removeAmpSyncListener(this); Iterator e = seismos.iterator(); while(e.hasNext()){ LocalSeismogram current = ((LocalSeismogram)e.next()); timeRegistrar.removeSeismogram(current); ampRegistrar.removeSeismogram(current); } }
public void remove(MouseEvent me){ logger.debug(name + " being removed"); this.stopImageCreation(); parent.removeDisplay(this); timeRegistrar.removeTimeSyncListener(this); ampRegistrar.removeAmpSyncListener(this); e = seismos.iterator(); while(e.hasNext()){ LocalSeismogram current = ((LocalSeismogram)e.next()); timeRegistrar.removeSeismogram(current); ampRegistrar.removeSeismogram(current); } }
1,118,798
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionDisplay = new MultiSeismogramWindowDisplay(mouseForwarder, motionForwarder, this); addSelection(creator, selectionDisplay); selectionWindow = new JFrame(tagWindowName); selectionWindow.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { selectionDisplay.removeAll(); } }); selectionWindow.setSize(400, 200); selectionWindow.getContentPane().add(new JScrollPane(selectionDisplay)); Toolkit tk = Toolkit.getDefaultToolkit(); selectionWindow.setLocation((tk.getScreenSize().width - selectionWindow.getSize().width)/2, (tk.getScreenSize().height - selectionWindow.getSize().height)/2); selectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); addSelection(creator,selectionDisplay); selectionWindow.toFront(); } }
public void createSelectionDisplay(Selection creator){ if(selectionDisplay == null){ logger.debug("creating selection display"); selectionDisplay = new MultiSeismogramWindowDisplay(mouseForwarder, motionForwarder, this); addSelection(creator, selectionDisplay); selectionWindow = new JFrame(tagWindowName); selectionWindow.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { removeSelectionDisplay(); } }); selectionWindow.setSize(400, 200); selectionWindow.getContentPane().add(new JScrollPane(selectionDisplay)); Toolkit tk = Toolkit.getDefaultToolkit(); selectionWindow.setLocation((tk.getScreenSize().width - selectionWindow.getSize().width)/2, (tk.getScreenSize().height - selectionWindow.getSize().height)/2); selectionWindow.setVisible(true); }else{ logger.debug("adding another selection"); addSelection(creator,selectionDisplay); selectionWindow.toFront(); } }
1,118,800
public void dump(Logger log, String indent) { StringBuffer sb = new StringBuffer(indent); sb.append("<comp-filter name=\""); sb.append(name); sb.append("\">"); log.debug(sb.toString()); if (isDefined) { log.debug(indent + " " + "<is-defined/>"); } else if (timeRange != null) { timeRange.dump(log, indent + " "); } if (compFilters != null) { Iterator it = compFilters.iterator(); while (it.hasNext()) { CompFilter cf = (CompFilter)it.next(); cf.dump(log, indent + " "); } } if (propFilters != null) { Iterator it = propFilters.iterator(); while (it.hasNext()) { PropFilter pf = (PropFilter)it.next(); pf.dump(log, indent + " "); } } log.debug(indent + "<comp-filter/>"); }
public void dump(Logger log, String indent) { StringBuffer sb = new StringBuffer(indent); sb.append("<comp-filter name=\""); sb.append(name); sb.append("\">"); log.debug(sb.toString()); if (isDefined) { log.debug(indent + " " + "<is-defined/>"); } else if (timeRange != null) { timeRange.dump(log, indent + " "); } if (compFilters != null) { Iterator it = compFilters.iterator(); while (it.hasNext()) { CompFilter cf = (CompFilter)it.next(); cf.dump(log, indent + " "); } } if (propFilters != null) { Iterator it = propFilters.iterator(); while (it.hasNext()) { PropFilter pf = (PropFilter)it.next(); pf.dump(log, indent + " "); } } log.debug(indent + "<comp-filter/>"); }
1,118,802
protected Command getConnectionWithReorientedViewCompleteCommand( CreateConnectionRequest request) { EtoolsProxyCommand c = (EtoolsProxyCommand) super .getConnectionCompleteCommand(request); CompositeCommand cc = (CompositeCommand) c.getICommand(); TransactionalEditingDomain editingDomain = ((IGraphicalEditPart) getHost()) .getEditingDomain(); ProVerVisualReorientConnectionViewCommand rcvCommand = new ProVerVisualReorientConnectionViewCommand( editingDomain, null); rcvCommand.setEdgeAdaptor(getViewAdapter()); cc.compose(rcvCommand); return c; }
protected Command getConnectionWithReorientedViewCompleteCommand( CreateConnectionRequest request) { ICommandProxy c = (ICommandProxy) super .getConnectionCompleteCommand(request); CompositeCommand cc = (CompositeCommand) c.getICommand(); TransactionalEditingDomain editingDomain = ((IGraphicalEditPart) getHost()) .getEditingDomain(); ProVerVisualReorientConnectionViewCommand rcvCommand = new ProVerVisualReorientConnectionViewCommand( editingDomain, null); rcvCommand.setEdgeAdaptor(getViewAdapter()); cc.compose(rcvCommand); return c; }
1,118,803
public void doMethod(HttpServletRequest req, HttpServletResponse resp) throws WebdavException { if (debug) { trace("GetMethod: doMethod"); } try { WebdavNsNode node = getNsIntf().getNode(getResourceUri(req)); /* Apparently if the node doesn't exist we're supposed to respond * not found, rather than indicate if PUT is allowed for example. */ if ((node == null) || !node.getExists()) { resp.setStatus(HttpServletResponse.SC_NOT_FOUND); return; } if (getNsIntf().getAccessControl()) { resp.addHeader("DAV", "1, 2, access-control"); } else { resp.addHeader("DAV", "1, 2"); } // Lisa say's we need this resp.addHeader("MS-Author-Via", "DAV"); // This probably needs changes StringBuffer methods = new StringBuffer(); Iterator mnames = getNsIntf().getMethods().keySet().iterator(); while (mnames.hasNext()) { if (methods.length() > 0) { methods.append(", "); } methods.append(mnames.next()); } resp.addHeader("Allow", methods.toString()); } catch (WebdavException we) { throw we; } catch (Throwable t) { throw new WebdavException(t); } }
public void doMethod(HttpServletRequest req, HttpServletResponse resp) throws WebdavException { if (debug) { trace("GetMethod: doMethod"); } try { WebdavNsNode node = getNsIntf().getNode(getResourceUri(req)); /* Apparently if the node doesn't exist we're supposed to respond * not found, rather than indicate if PUT is allowed for example. */ if ((node == null) || !node.getExists()) { resp.setStatus(HttpServletResponse.SC_NOT_FOUND); return; } if (getNsIntf().getAccessControl()) { resp.addHeader("DAV", "1, 2, access-control"); } else { resp.addHeader("DAV", "1, 2"); } // Lisa say's we need this resp.addHeader("MS-Author-Via", "DAV"); // This probably needs changes StringBuffer methods = new StringBuffer(); Iterator mnames = getNsIntf().getMethods().keySet().iterator(); while (mnames.hasNext()) { if (methods.length() > 0) { methods.append(", "); } methods.append(mnames.next()); } resp.addHeader("Allow", methods.toString()); } catch (WebdavException we) { throw we; } catch (Throwable t) { throw new WebdavException(t); } }
1,118,804
public void mouseClicked(MouseEvent evt) { Dimension size = this.ideaMap.getSize(); Point2D p = new Point2D.Double(evt.getX() - (size.width / 2), evt.getY() - (size.height / 2)); IdeaView hit = this.ideaMap.getRootView().getViewAt(p); if (hit != null) { this.ideaMap.setSelectedView(hit); } }
public void mouseClicked(MouseEvent evt) { Dimension size = this.ideaMap.getSize(); Point2D p = new Point2D.Double(evt.getX() - (size.width / 2), evt.getY() - (size.height / 2)); IdeaView hit = this.ideaMap.getRootView().getViewAt(p); if (hit != null) { this.ideaMap.setSelectedView(hit); } }
1,118,806
public ParticleMotionView (final LocalSeismogramImpl hseis, LocalSeismogramImpl vseis, TimeRangeConfig timeRangeConfig, final AmpRangeConfig hAmpRangeConfig, AmpRangeConfig vAmpRangeConfig, ParticleMotionDisplay particleMotionDisplay){ this.particleMotionDisplay = particleMotionDisplay; if(timeRangeConfig != null) { this.microSecondTimeRange = timeRangeConfig.getTimeRange(); } ParticleMotion particleMotion = new ParticleMotion(hseis, vseis, hAmpRangeConfig, vAmpRangeConfig); displays.add(particleMotion); vunitRangeImpl = vAmpRangeConfig.getAmpRange(vseis); hunitRangeImpl = hAmpRangeConfig.getAmpRange(hseis); this.addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent me) { //UnitRangeImpl unitRangeImpl = hAmpRangeConfig.getAmpRange(hseis); //double min = unitRangeImpl.getMinValue(); //double max = unitRangeImpl.getMaxValue(); ///Insets insets = getInsets(); //double fmin = getSize().getWidth() - insets.left - insets.right; //double fmax = getSize().getHeight() - insets.top - insets.bottom; //int newx = (int)(((max - min) / fmin * me.getX()) - max); //(int)(max - (((max - min) * (fmin - me.getX()) )/ (fmax - me.getY()))); //int newy = (int)(((min - max) / fmax * me.getY()) + max); int clickCount = 0; if(zoomIn) clickCount = 1; if(zoomOut) clickCount = 2; zoomInParticleMotionDisplay(clickCount, me.getX(), me.getY()); //logger.debug("me x "+me.getX()+" me y "+me.getY()); //findPoint(me.getClickCount(), me.getX(), me.getY()); startPoint = null; endPoint = null; } public void mousePressed(MouseEvent me) { startPoint = new java.awt.geom.Point2D.Float((float)me.getX(), (float)me.getY()); } public void mouseReleased(MouseEvent me) { // endPoint = new java.awt.geom.Point2D.Float(me.getX(), me.getY()); // zoomInParticleMotionDisplay(me.getX(), me.getY()); } }); this.addMouseMotionListener(new MouseMotionAdapter() { public void mouseDragged(MouseEvent me) { endPoint = new java.awt.geom.Point2D.Float((float)me.getX(), (float)me.getY()); repaint(); } }); }
public ParticleMotionView (final LocalSeismogramImpl hseis, LocalSeismogramImpl vseis, TimeRangeConfig timeRangeConfig, final AmpRangeConfig hAmpRangeConfig, AmpRangeConfig vAmpRangeConfig, ParticleMotionDisplay particleMotionDisplay){ this.particleMotionDisplay = particleMotionDisplay; if(timeRangeConfig != null) { this.microSecondTimeRange = timeRangeConfig.getTimeRange(); } ParticleMotion particleMotion = new ParticleMotion(hseis, vseis, hAmpRangeConfig, vAmpRangeConfig); displays.add(particleMotion); vunitRangeImpl = vAmpRangeConfig.getAmpRange(vseis); hunitRangeImpl = hAmpRangeConfig.getAmpRange(hseis); this.addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent me) { //UnitRangeImpl unitRangeImpl = hAmpRangeConfig.getAmpRange(hseis); //double min = unitRangeImpl.getMinValue(); //double max = unitRangeImpl.getMaxValue(); ///Insets insets = getInsets(); //double fmin = getSize().getWidth() - insets.left - insets.right; //double fmax = getSize().getHeight() - insets.top - insets.bottom; //int newx = (int)(((max - min) / fmin * me.getX()) - max); //(int)(max - (((max - min) * (fmin - me.getX()) )/ (fmax - me.getY()))); //int newy = (int)(((min - max) / fmax * me.getY()) + max); int clickCount = 0; if(zoomIn) clickCount = 1; if(zoomOut) clickCount = 2; zoomInParticleMotionDisplay(clickCount, me.getX(), me.getY()); //logger.debug("me x "+me.getX()+" me y "+me.getY()); //findPoint(me.getClickCount(), me.getX(), me.getY()); startPoint = null; endPoint = null; } public void mousePressed(MouseEvent me) { startPoint = new java.awt.geom.Point2D.Float((float)me.getX(), (float)me.getY()); } public void mouseReleased(MouseEvent me) { // endPoint = new java.awt.geom.Point2D.Float(me.getX(), me.getY()); // zoomInParticleMotionDisplay(me.getX(), me.getY()); } }); this.addMouseMotionListener(new MouseMotionAdapter() { public void mouseDragged(MouseEvent me) { endPoint = new java.awt.geom.Point2D.Float((float)me.getX(), (float)me.getY()); repaint(); } }); }
1,118,808
public void mouseClicked(MouseEvent me) { //UnitRangeImpl unitRangeImpl = hAmpRangeConfig.getAmpRange(hseis); //double min = unitRangeImpl.getMinValue(); //double max = unitRangeImpl.getMaxValue(); ///Insets insets = getInsets(); //double fmin = getSize().getWidth() - insets.left - insets.right; //double fmax = getSize().getHeight() - insets.top - insets.bottom; //int newx = (int)(((max - min) / fmin * me.getX()) - max); //(int)(max - (((max - min) * (fmin - me.getX()) )/ (fmax - me.getY()))); //int newy = (int)(((min - max) / fmax * me.getY()) + max); int clickCount = 0; if(zoomIn) clickCount = 1; if(zoomOut) clickCount = 2; zoomInParticleMotionDisplay(clickCount, me.getX(), me.getY()); //logger.debug("me x "+me.getX()+" me y "+me.getY()); //findPoint(me.getClickCount(), me.getX(), me.getY()); startPoint = null; endPoint = null; }
public void mouseClicked(MouseEvent me) { //UnitRangeImpl unitRangeImpl = hAmpRangeConfig.getAmpRange(hseis); //double min = unitRangeImpl.getMinValue(); //double max = unitRangeImpl.getMaxValue(); ///Insets insets = getInsets(); //double fmin = getSize().getWidth() - insets.left - insets.right; //double fmax = getSize().getHeight() - insets.top - insets.bottom; //int newx = (int)(((max - min) / fmin * me.getX()) - max); //(int)(max - (((max - min) * (fmin - me.getX()) )/ (fmax - me.getY()))); //int newy = (int)(((min - max) / fmax * me.getY()) + max); int clickCount = 0; if(zoomIn) clickCount = 1; if(zoomOut) clickCount = 2; zoomInParticleMotionDisplay(clickCount, me.getX(), me.getY()); //logger.debug("me x "+me.getX()+" me y "+me.getY()); //findPoint(me.getClickCount(), me.getX(), me.getY()); startPoint = null; endPoint = null; }
1,118,809