diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.examples.acore/model/acore.gmfgen')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.dawn.examples.acore/model/acore.gmfgen | 740 |
1 files changed, 740 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore/model/acore.gmfgen b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/model/acore.gmfgen new file mode 100644 index 0000000000..a871250aa5 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore/model/acore.gmfgen @@ -0,0 +1,740 @@ +<?xml version="1.0" encoding="UTF-8"?> +<gmfgen:GenEditorGenerator xmi:version="2.0" + xmlns:xmi="http://www.omg.org/XMI" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:gmfgen="http://www.eclipse.org/gmf/2009/GenModel" copyrightText="Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany).
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
 
Contributors:
 Martin Fluegge - initial API and implementation
"> + <diagram + visualID="1000" + editPartClassName="ACoreRootEditPart" + itemSemanticEditPolicyClassName="ACoreRootItemSemanticEditPolicy" + canonicalEditPolicyClassName="ACoreRootCanonicalEditPolicy" + iconProviderPriority="Low" + validationProviderPriority="Low"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Diagram"/> + <elementType + xsi:type="gmfgen:MetamodelType" + editHelperClassName="ACoreRootEditHelper"/> + <viewmap + xsi:type="gmfgen:FigureViewmap" + figureQualifiedClassName="org.eclipse.draw2d.FreeformLayer"/> + <domainDiagramElement + href="acore.genmodel#//acore/ACoreRoot"/> + <childNodes + xsi:type="gmfgen:GenChildLabelNode" + visualID="3001" + editPartClassName="AAttributeEditPart" + itemSemanticEditPolicyClassName="AAttributeItemSemanticEditPolicy" + canonicalEditPolicyClassName="AAttributeCanonicalEditPolicy" + graphicalNodeEditPolicyClassName="AAttributeGraphicalNodeEditPolicy" + createCommandClassName="AAttributeCreateCommand" + containers="//@diagram/@compartments.0"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> + <elementType + xsi:type="gmfgen:MetamodelType" + editHelperClassName="AAttributeEditHelper"/> + <viewmap + xsi:type="gmfgen:FigureViewmap" + figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/> + <modelFacet> + <metaClass + href="acore.genmodel#//acore/AAttribute"/> + <containmentMetaFeature + href="acore.genmodel#//acore/ABasicClass/attributes"/> + <childMetaFeature + href="acore.genmodel#//acore/ABasicClass/attributes"/> + </modelFacet> + <labelModelFacet + xsi:type="gmfgen:FeatureLabelModelFacet" + parser="//@labelParsers/@implementations.0" + viewPattern="{0} {2}:{1}" + editorPattern="" + editPattern=""> + <metaFeatures + href="acore.genmodel#//acore/AClassChild/accessright"/> + <metaFeatures + href="acore.genmodel#//acore/AClassChild/dataType"/> + <metaFeatures + href="acore.genmodel#//acore/AClassChild/name"/> + </labelModelFacet> + </childNodes> + <childNodes + xsi:type="gmfgen:GenChildLabelNode" + visualID="3002" + editPartClassName="AOperationEditPart" + itemSemanticEditPolicyClassName="AOperationItemSemanticEditPolicy" + canonicalEditPolicyClassName="AOperationCanonicalEditPolicy" + graphicalNodeEditPolicyClassName="AOperationGraphicalNodeEditPolicy" + createCommandClassName="AOperationCreateCommand" + containers="//@diagram/@compartments.1"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> + <elementType + xsi:type="gmfgen:MetamodelType" + editHelperClassName="AOperationEditHelper"/> + <viewmap + xsi:type="gmfgen:FigureViewmap" + figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/> + <modelFacet> + <metaClass + href="acore.genmodel#//acore/AOperation"/> + <containmentMetaFeature + href="acore.genmodel#//acore/ABasicClass/operations"/> + <childMetaFeature + href="acore.genmodel#//acore/ABasicClass/operations"/> + </modelFacet> + <labelModelFacet + xsi:type="gmfgen:FeatureLabelModelFacet" + parser="//@labelParsers/@implementations.0" + viewPattern="{0} {2}():{1}" + editorPattern="" + editPattern=""> + <metaFeatures + href="acore.genmodel#//acore/AClassChild/accessright"/> + <metaFeatures + href="acore.genmodel#//acore/AClassChild/dataType"/> + <metaFeatures + href="acore.genmodel#//acore/AClassChild/name"/> + </labelModelFacet> + </childNodes> + <childNodes + xsi:type="gmfgen:GenChildLabelNode" + visualID="3003" + editPartClassName="AAttribute2EditPart" + itemSemanticEditPolicyClassName="AAttribute2ItemSemanticEditPolicy" + canonicalEditPolicyClassName="AAttribute2CanonicalEditPolicy" + graphicalNodeEditPolicyClassName="AAttribute2GraphicalNodeEditPolicy" + createCommandClassName="AAttribute2CreateCommand" + containers="//@diagram/@compartments.2"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> + <elementType + xsi:type="gmfgen:SpecializationType" + metamodelType="//@diagram/@childNodes.0/@elementType"/> + <viewmap + xsi:type="gmfgen:FigureViewmap" + figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/> + <modelFacet> + <metaClass + href="acore.genmodel#//acore/AAttribute"/> + <containmentMetaFeature + href="acore.genmodel#//acore/ABasicClass/attributes"/> + <childMetaFeature + href="acore.genmodel#//acore/ABasicClass/attributes"/> + </modelFacet> + <labelModelFacet + xsi:type="gmfgen:FeatureLabelModelFacet" + parser="//@labelParsers/@implementations.0" + viewPattern="{0} {2}:{1}" + editorPattern="" + editPattern=""> + <metaFeatures + href="acore.genmodel#//acore/AClassChild/accessright"/> + <metaFeatures + href="acore.genmodel#//acore/AClassChild/dataType"/> + <metaFeatures + href="acore.genmodel#//acore/AClassChild/name"/> + </labelModelFacet> + </childNodes> + <childNodes + xsi:type="gmfgen:GenChildLabelNode" + visualID="3004" + editPartClassName="AOperation2EditPart" + itemSemanticEditPolicyClassName="AOperation2ItemSemanticEditPolicy" + canonicalEditPolicyClassName="AOperation2CanonicalEditPolicy" + graphicalNodeEditPolicyClassName="AOperation2GraphicalNodeEditPolicy" + createCommandClassName="AOperation2CreateCommand" + containers="//@diagram/@compartments.3"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> + <elementType + xsi:type="gmfgen:SpecializationType" + metamodelType="//@diagram/@childNodes.1/@elementType"/> + <viewmap + xsi:type="gmfgen:FigureViewmap" + figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/> + <modelFacet> + <metaClass + href="acore.genmodel#//acore/AOperation"/> + <containmentMetaFeature + href="acore.genmodel#//acore/ABasicClass/operations"/> + <childMetaFeature + href="acore.genmodel#//acore/ABasicClass/operations"/> + </modelFacet> + <labelModelFacet + xsi:type="gmfgen:FeatureLabelModelFacet" + parser="//@labelParsers/@implementations.0" + viewPattern="{0} {2}():{1}" + editorPattern="" + editPattern=""> + <metaFeatures + href="acore.genmodel#//acore/AClassChild/accessright"/> + <metaFeatures + href="acore.genmodel#//acore/AClassChild/dataType"/> + <metaFeatures + href="acore.genmodel#//acore/AClassChild/name"/> + </labelModelFacet> + </childNodes> + <topLevelNodes + visualID="2001" + editPartClassName="AInterfaceEditPart" + itemSemanticEditPolicyClassName="AInterfaceItemSemanticEditPolicy" + canonicalEditPolicyClassName="AInterfaceCanonicalEditPolicy" + compartments="//@diagram/@compartments.0 //@diagram/@compartments.1" + graphicalNodeEditPolicyClassName="AInterfaceGraphicalNodeEditPolicy" + createCommandClassName="AInterfaceCreateCommand"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> + <elementType + xsi:type="gmfgen:MetamodelType" + editHelperClassName="AInterfaceEditHelper"/> + <viewmap + xsi:type="gmfgen:InnerClassViewmap" + layoutType="TOOLBAR_LAYOUT" + className="AInterfaceFigure" + classBody="
/**
 * @generated
 */
public class AInterfaceFigure extends org.eclipse.draw2d.RoundedRectangle {


	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel fFigureAInterfaceNameFigure; 
	/**
	 * @generated
	 */
	private org.eclipse.draw2d.RectangleFigure fFigureInterfaceAttributes; 
	/**
	 * @generated
	 */
	private org.eclipse.draw2d.RectangleFigure fFigureInterfaceOperations; 


	/**
	 * @generated
	 */
	public AInterfaceFigure() {
		
	org.eclipse.draw2d.ToolbarLayout layoutThis = new org.eclipse.draw2d.ToolbarLayout();
	layoutThis.setStretchMinorAxis(true);
	layoutThis.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER
);

	layoutThis.setSpacing(0);
	layoutThis.setVertical(true);

	this.setLayoutManager(layoutThis);

		this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(12)
, getMapMode().DPtoLP(12)
));
this.setLineWidth(1);
	this.setBackgroundColor(THIS_BACK
);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel aInterfaceTypeLabelFigure0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();
aInterfaceTypeLabelFigure0.setText("«Interface»");

this.add(aInterfaceTypeLabelFigure0);



fFigureAInterfaceNameFigure = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();
fFigureAInterfaceNameFigure.setText("<...>");

this.add(fFigureAInterfaceNameFigure);



fFigureInterfaceAttributes = new org.eclipse.draw2d.RectangleFigure();
fFigureInterfaceAttributes.setLineWidth(1);

this.add(fFigureInterfaceAttributes);
fFigureInterfaceAttributes.setLayoutManager(new org.eclipse.draw2d.StackLayout());



fFigureInterfaceOperations = new org.eclipse.draw2d.RectangleFigure();
fFigureInterfaceOperations.setLineWidth(1);

this.add(fFigureInterfaceOperations);
fFigureInterfaceOperations.setLayoutManager(new org.eclipse.draw2d.StackLayout());


	}




	/**
	 * @generated
	 */
	private boolean myUseLocalCoordinates = false;

	/**
	 * @generated
	 */
	protected boolean useLocalCoordinates() {
		return myUseLocalCoordinates;
	}

	/**
	 * @generated
	 */
	protected void setUseLocalCoordinates(boolean useLocalCoordinates) {
		myUseLocalCoordinates = useLocalCoordinates;
	}



	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel getFigureAInterfaceNameFigure() {
		return fFigureAInterfaceNameFigure;
	}
	/**
	 * @generated
	 */
	public org.eclipse.draw2d.RectangleFigure getFigureInterfaceAttributes() {
		return fFigureInterfaceAttributes;
	}
	/**
	 * @generated
	 */
	public org.eclipse.draw2d.RectangleFigure getFigureInterfaceOperations() {
		return fFigureInterfaceOperations;
	}


}

/**
 * @generated
 */
static final org.eclipse.swt.graphics.Color THIS_BACK = new org.eclipse.swt.graphics.Color(null, 250, 250, 190);

"> + <attributes + xsi:type="gmfgen:StyleAttributes" + fixedBackground="true"/> + </viewmap> + <modelFacet> + <metaClass + href="acore.genmodel#//acore/AInterface"/> + <containmentMetaFeature + href="acore.genmodel#//acore/ACoreRoot/interfaces"/> + <childMetaFeature + href="acore.genmodel#//acore/ACoreRoot/interfaces"/> + </modelFacet> + <labels + visualID="5001" + editPartClassName="AInterfaceNameEditPart" + itemSemanticEditPolicyClassName="AInterfaceNameItemSemanticEditPolicy" + elementIcon="true"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> + <viewmap + xsi:type="gmfgen:ParentAssignedViewmap" + getterName="getFigureAInterfaceNameFigure" + figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/> + <modelFacet + xsi:type="gmfgen:FeatureLabelModelFacet" + parser="//@labelParsers/@implementations.0"> + <metaFeatures + href="acore.genmodel#//acore/ABasicClass/name"/> + </modelFacet> + </labels> + </topLevelNodes> + <topLevelNodes + visualID="2002" + editPartClassName="AClassEditPart" + itemSemanticEditPolicyClassName="AClassItemSemanticEditPolicy" + canonicalEditPolicyClassName="AClassCanonicalEditPolicy" + compartments="//@diagram/@compartments.2 //@diagram/@compartments.3" + graphicalNodeEditPolicyClassName="AClassGraphicalNodeEditPolicy" + createCommandClassName="AClassCreateCommand"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> + <elementType + xsi:type="gmfgen:MetamodelType" + editHelperClassName="AClassEditHelper"/> + <viewmap + xsi:type="gmfgen:InnerClassViewmap" + layoutType="TOOLBAR_LAYOUT" + className="AClassFigure" + classBody="
/**
 * @generated
 */
public class AClassFigure extends org.eclipse.draw2d.RectangleFigure {


	/**
	 * @generated
	 */
	private org.eclipse.draw2d.RectangleFigure fFigureClassAttributes; 
	/**
	 * @generated
	 */
	private org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel fFigureAClassNameFigure; 
	/**
	 * @generated
	 */
	private org.eclipse.draw2d.RectangleFigure fFigureClassOperations; 


	/**
	 * @generated
	 */
	public AClassFigure() {
		
	org.eclipse.draw2d.ToolbarLayout layoutThis = new org.eclipse.draw2d.ToolbarLayout();
	layoutThis.setStretchMinorAxis(true);
	layoutThis.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER
);

	layoutThis.setSpacing(0);
	layoutThis.setVertical(true);

	this.setLayoutManager(layoutThis);

		this.setLineWidth(1);
	this.setBackgroundColor(THIS_BACK
);
		createContents();
	}
	/**
	 * @generated
	 */
	private void createContents(){


fFigureAClassNameFigure = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();
fFigureAClassNameFigure.setText("<...>");

this.add(fFigureAClassNameFigure);



fFigureClassAttributes = new org.eclipse.draw2d.RectangleFigure();
fFigureClassAttributes.setLineWidth(1);

this.add(fFigureClassAttributes);
fFigureClassAttributes.setLayoutManager(new org.eclipse.draw2d.StackLayout());



fFigureClassOperations = new org.eclipse.draw2d.RectangleFigure();
fFigureClassOperations.setLineWidth(1);

this.add(fFigureClassOperations);
fFigureClassOperations.setLayoutManager(new org.eclipse.draw2d.StackLayout());


	}




	/**
	 * @generated
	 */
	private boolean myUseLocalCoordinates = false;

	/**
	 * @generated
	 */
	protected boolean useLocalCoordinates() {
		return myUseLocalCoordinates;
	}

	/**
	 * @generated
	 */
	protected void setUseLocalCoordinates(boolean useLocalCoordinates) {
		myUseLocalCoordinates = useLocalCoordinates;
	}



	/**
	 * @generated
	 */
	public org.eclipse.draw2d.RectangleFigure getFigureClassAttributes() {
		return fFigureClassAttributes;
	}
	/**
	 * @generated
	 */
	public org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel getFigureAClassNameFigure() {
		return fFigureAClassNameFigure;
	}
	/**
	 * @generated
	 */
	public org.eclipse.draw2d.RectangleFigure getFigureClassOperations() {
		return fFigureClassOperations;
	}


}

/**
 * @generated
 */
static final org.eclipse.swt.graphics.Color THIS_BACK = new org.eclipse.swt.graphics.Color(null, 230, 230, 255);

"> + <attributes + xsi:type="gmfgen:StyleAttributes" + fixedBackground="true"/> + </viewmap> + <modelFacet> + <metaClass + href="acore.genmodel#//acore/AClass"/> + <containmentMetaFeature + href="acore.genmodel#//acore/ACoreRoot/classes"/> + <childMetaFeature + href="acore.genmodel#//acore/ACoreRoot/classes"/> + </modelFacet> + <labels + visualID="5002" + editPartClassName="AClassNameEditPart" + itemSemanticEditPolicyClassName="AClassNameItemSemanticEditPolicy" + elementIcon="true"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> + <viewmap + xsi:type="gmfgen:ParentAssignedViewmap" + getterName="getFigureAClassNameFigure" + figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/> + <modelFacet + xsi:type="gmfgen:FeatureLabelModelFacet" + parser="//@labelParsers/@implementations.0"> + <metaFeatures + href="acore.genmodel#//acore/ABasicClass/name"/> + </modelFacet> + </labels> + </topLevelNodes> + <links + visualID="4001" + editPartClassName="AClassSubClassesEditPart" + itemSemanticEditPolicyClassName="AClassSubClassesItemSemanticEditPolicy" + createCommandClassName="AClassSubClassesCreateCommand" + reorientCommandClassName="AClassSubClassesReorientCommand"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/> + <elementType + xsi:type="gmfgen:SpecializationType"/> + <viewmap + xsi:type="gmfgen:InnerClassViewmap" + className="AClassSubClassesFigure" + classBody="
/**
 * @generated
 */
public class AClassSubClassesFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {




	/**
	 * @generated
	 */
	public AClassSubClassesFigure() {
		this.setLineWidth(1);

		setTargetDecoration(createTargetDecoration());
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() {
		org.eclipse.draw2d.PolygonDecoration df = new org.eclipse.draw2d.PolygonDecoration();
df.setFill(true);
df.setLineWidth(1);
	df.setBackgroundColor(DF_BACK
);
org.eclipse.draw2d.geometry.PointList pl = new org.eclipse.draw2d.geometry.PointList();
pl.addPoint(getMapMode().DPtoLP(-2)
, getMapMode().DPtoLP(2)
);
pl.addPoint(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(0)
);
pl.addPoint(getMapMode().DPtoLP(-2)
, getMapMode().DPtoLP(-2)
);
pl.addPoint(getMapMode().DPtoLP(-2)
, getMapMode().DPtoLP(2)
);
df.setTemplate(pl);
df.setScale(getMapMode().DPtoLP(7)
, getMapMode().DPtoLP(3)
);
		return df;
	}




}

/**
 * @generated
 */
static final org.eclipse.swt.graphics.Color DF_BACK = new org.eclipse.swt.graphics.Color(null, 255, 255, 255);

"/> + <modelFacet + xsi:type="gmfgen:FeatureLinkModelFacet"> + <metaFeature + href="acore.genmodel#//acore/AClass/subClasses"/> + </modelFacet> + </links> + <links + visualID="4002" + editPartClassName="AClassImplementedInterfacesEditPart" + itemSemanticEditPolicyClassName="AClassImplementedInterfacesItemSemanticEditPolicy" + createCommandClassName="AClassImplementedInterfacesCreateCommand" + reorientCommandClassName="AClassImplementedInterfacesReorientCommand"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/> + <elementType + xsi:type="gmfgen:SpecializationType"/> + <viewmap + xsi:type="gmfgen:InnerClassViewmap" + className="AClassImplementedInterfacesFigure" + classBody="
/**
 * @generated
 */
public class AClassImplementedInterfacesFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {




	/**
	 * @generated
	 */
	public AClassImplementedInterfacesFigure() {
		this.setLineWidth(1);
this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_DASH);

		setTargetDecoration(createTargetDecoration());
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() {
		org.eclipse.draw2d.PolylineDecoration df = new org.eclipse.draw2d.PolylineDecoration();
df.setLineWidth(1);
		return df;
	}




}

"/> + <modelFacet + xsi:type="gmfgen:FeatureLinkModelFacet"> + <metaFeature + href="acore.genmodel#//acore/AClass/implementedInterfaces"/> + </modelFacet> + </links> + <links + visualID="4003" + editPartClassName="AClassAssociationsEditPart" + itemSemanticEditPolicyClassName="AClassAssociationsItemSemanticEditPolicy" + createCommandClassName="AClassAssociationsCreateCommand" + reorientCommandClassName="AClassAssociationsReorientCommand"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/> + <elementType + xsi:type="gmfgen:SpecializationType"/> + <viewmap + xsi:type="gmfgen:FigureViewmap" + figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx"/> + <modelFacet + xsi:type="gmfgen:FeatureLinkModelFacet"> + <metaFeature + href="acore.genmodel#//acore/AClass/associations"/> + </modelFacet> + </links> + <links + visualID="4004" + editPartClassName="AClassAggregationsEditPart" + itemSemanticEditPolicyClassName="AClassAggregationsItemSemanticEditPolicy" + createCommandClassName="AClassAggregationsCreateCommand" + reorientCommandClassName="AClassAggregationsReorientCommand"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/> + <elementType + xsi:type="gmfgen:SpecializationType"/> + <viewmap + xsi:type="gmfgen:InnerClassViewmap" + className="AClassAggregationClassesFigure" + classBody="
/**
 * @generated
 */
public class AClassAggregationClassesFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {




	/**
	 * @generated
	 */
	public AClassAggregationClassesFigure() {
		this.setLineWidth(1);

		setTargetDecoration(createTargetDecoration());
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() {
		org.eclipse.draw2d.PolygonDecoration df = new org.eclipse.draw2d.PolygonDecoration();
df.setFill(true);
df.setLineWidth(1);
	df.setBackgroundColor(DF_BACK
);
org.eclipse.draw2d.geometry.PointList pl = new org.eclipse.draw2d.geometry.PointList();
pl.addPoint(getMapMode().DPtoLP(-2)
, getMapMode().DPtoLP(2)
);
pl.addPoint(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(0)
);
pl.addPoint(getMapMode().DPtoLP(-2)
, getMapMode().DPtoLP(-2)
);
pl.addPoint(getMapMode().DPtoLP(-4)
, getMapMode().DPtoLP(0)
);
pl.addPoint(getMapMode().DPtoLP(-2)
, getMapMode().DPtoLP(2)
);
df.setTemplate(pl);
df.setScale(getMapMode().DPtoLP(7)
, getMapMode().DPtoLP(3)
);
		return df;
	}




}

/**
 * @generated
 */
static final org.eclipse.swt.graphics.Color DF_BACK = new org.eclipse.swt.graphics.Color(null, 255, 255, 255);

"/> + <modelFacet + xsi:type="gmfgen:FeatureLinkModelFacet"> + <metaFeature + href="acore.genmodel#//acore/AClass/aggregations"/> + </modelFacet> + </links> + <links + visualID="4005" + editPartClassName="AClassCompositionsEditPart" + itemSemanticEditPolicyClassName="AClassCompositionsItemSemanticEditPolicy" + createCommandClassName="AClassCompositionsCreateCommand" + reorientCommandClassName="AClassCompositionsReorientCommand"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/> + <elementType + xsi:type="gmfgen:SpecializationType"/> + <viewmap + xsi:type="gmfgen:InnerClassViewmap" + className="AClassCompositionClassesFigure" + classBody="
/**
 * @generated
 */
public class AClassCompositionClassesFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {




	/**
	 * @generated
	 */
	public AClassCompositionClassesFigure() {
		this.setLineWidth(1);

		setTargetDecoration(createTargetDecoration());
	}

	/**
	 * @generated
	 */
	private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() {
		org.eclipse.draw2d.PolygonDecoration df = new org.eclipse.draw2d.PolygonDecoration();
df.setFill(true);
df.setLineWidth(1);
	df.setBackgroundColor(DF_BACK
);
org.eclipse.draw2d.geometry.PointList pl = new org.eclipse.draw2d.geometry.PointList();
pl.addPoint(getMapMode().DPtoLP(-2)
, getMapMode().DPtoLP(2)
);
pl.addPoint(getMapMode().DPtoLP(0)
, getMapMode().DPtoLP(0)
);
pl.addPoint(getMapMode().DPtoLP(-2)
, getMapMode().DPtoLP(-2)
);
pl.addPoint(getMapMode().DPtoLP(-4)
, getMapMode().DPtoLP(0)
);
pl.addPoint(getMapMode().DPtoLP(-2)
, getMapMode().DPtoLP(2)
);
df.setTemplate(pl);
df.setScale(getMapMode().DPtoLP(7)
, getMapMode().DPtoLP(3)
);
		return df;
	}




}

/**
 * @generated
 */
static final org.eclipse.swt.graphics.Color DF_BACK = new org.eclipse.swt.graphics.Color(null, 0, 0, 0);

"/> + <modelFacet + xsi:type="gmfgen:FeatureLinkModelFacet"> + <metaFeature + href="acore.genmodel#//acore/AClass/compositions"/> + </modelFacet> + </links> + <compartments + visualID="7001" + editPartClassName="AInterfaceAAttributeInterfaceCompartmentEditPart" + itemSemanticEditPolicyClassName="AInterfaceAAttributeInterfaceCompartmentItemSemanticEditPolicy" + canonicalEditPolicyClassName="AInterfaceAAttributeInterfaceCompartmentCanonicalEditPolicy" + childNodes="//@diagram/@childNodes.0" + title="AAttributeInterfaceCompartment" + canCollapse="false" + needsTitle="false" + node="//@diagram/@topLevelNodes.0"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> + <viewmap + xsi:type="gmfgen:ParentAssignedViewmap" + getterName="getFigureInterfaceAttributes" + figureQualifiedClassName="org.eclipse.draw2d.RectangleFigure"/> + </compartments> + <compartments + visualID="7002" + editPartClassName="AInterfaceAOperationInterfaceCompartmentEditPart" + itemSemanticEditPolicyClassName="AInterfaceAOperationInterfaceCompartmentItemSemanticEditPolicy" + canonicalEditPolicyClassName="AInterfaceAOperationInterfaceCompartmentCanonicalEditPolicy" + childNodes="//@diagram/@childNodes.1" + title="AOperationInterfaceCompartment" + canCollapse="false" + needsTitle="false" + node="//@diagram/@topLevelNodes.0"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> + <viewmap + xsi:type="gmfgen:ParentAssignedViewmap" + getterName="getFigureInterfaceOperations" + figureQualifiedClassName="org.eclipse.draw2d.RectangleFigure"/> + </compartments> + <compartments + visualID="7003" + editPartClassName="AClassAAttributeCompartmentEditPart" + itemSemanticEditPolicyClassName="AClassAAttributeCompartmentItemSemanticEditPolicy" + canonicalEditPolicyClassName="AClassAAttributeCompartmentCanonicalEditPolicy" + childNodes="//@diagram/@childNodes.2" + title="AAttributeCompartment" + canCollapse="false" + needsTitle="false" + node="//@diagram/@topLevelNodes.1"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> + <viewmap + xsi:type="gmfgen:ParentAssignedViewmap" + getterName="getFigureClassAttributes" + figureQualifiedClassName="org.eclipse.draw2d.RectangleFigure"/> + </compartments> + <compartments + visualID="7004" + editPartClassName="AClassAOperationClassCompartmentEditPart" + itemSemanticEditPolicyClassName="AClassAOperationClassCompartmentItemSemanticEditPolicy" + canonicalEditPolicyClassName="AClassAOperationClassCompartmentCanonicalEditPolicy" + childNodes="//@diagram/@childNodes.3" + title="AOperationClassCompartment" + canCollapse="false" + needsTitle="false" + node="//@diagram/@topLevelNodes.1"> + <diagramRunTimeClass + href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/> + <viewmap + xsi:type="gmfgen:ParentAssignedViewmap" + getterName="getFigureClassOperations" + figureQualifiedClassName="org.eclipse.draw2d.RectangleFigure"/> + </compartments> + <palette> + <groups + title="Node" + collapse="true"> + <entries + xsi:type="gmfgen:ToolEntry" + title="AClass" + description="Create new AClass" + genNodes="//@diagram/@topLevelNodes.1"/> + <entries + xsi:type="gmfgen:ToolEntry" + title="AInterface" + description="Create new AInterface" + genNodes="//@diagram/@topLevelNodes.0"/> + <entries + xsi:type="gmfgen:ToolEntry" + title="AAttribute" + description="Create an Attribute" + genNodes="//@diagram/@childNodes.0 //@diagram/@childNodes.2"/> + <entries + xsi:type="gmfgen:ToolEntry" + title="AOperation" + description="Create an Operation" + genNodes="//@diagram/@childNodes.1 //@diagram/@childNodes.3"/> + </groups> + <groups + title="Connections" + collapse="true"> + <entries + xsi:type="gmfgen:ToolEntry" + title="inherits" + description="Create new AClassSubClasses" + largeIconPath="/org.eclipse.emf.cdo.dawn.examples.acore.edit/icons/full/obj16/inherits.png" + smallIconPath="/org.eclipse.emf.cdo.dawn.examples.acore.edit/icons/full/obj16/inherits.png" + genLinks="//@diagram/@links.0"/> + <entries + xsi:type="gmfgen:ToolEntry" + title="implements" + description="Create new AClassImplementedInterfaces" + largeIconPath="/org.eclipse.emf.cdo.dawn.examples.acore.edit/icons/full/obj16/implements.png" + smallIconPath="/org.eclipse.emf.cdo.dawn.examples.acore.edit/icons/full/obj16/implements.png" + genLinks="//@diagram/@links.1"/> + <entries + xsi:type="gmfgen:ToolEntry" + title="association" + description="Create new AClassSubClasses" + largeIconPath="/org.eclipse.emf.cdo.dawn.examples.acore.edit/icons/full/obj16/association.png" + smallIconPath="/org.eclipse.emf.cdo.dawn.examples.acore.edit/icons/full/obj16/association.png" + genLinks="//@diagram/@links.2"/> + <entries + xsi:type="gmfgen:ToolEntry" + title="aggregation" + description="Create new AClassSubClasses" + largeIconPath="/org.eclipse.emf.cdo.dawn.examples.acore.edit/icons/full/obj16/aggregation.png" + smallIconPath="/org.eclipse.emf.cdo.dawn.examples.acore.edit/icons/full/obj16/aggregation.png" + genLinks="//@diagram/@links.3"/> + <entries + xsi:type="gmfgen:ToolEntry" + title="composition" + description="Create new AClassSubClasses" + largeIconPath="/org.eclipse.emf.cdo.dawn.examples.acore.edit/icons/full/obj16/composition.png" + smallIconPath="/org.eclipse.emf.cdo.dawn.examples.acore.edit/icons/full/obj16/composition.png" + genLinks="//@diagram/@links.4"/> + </groups> + </palette> + <preferencePages + xsi:type="gmfgen:GenStandardPreferencePage" + iD="org.eclipse.emf.cdo.dawn.examples.acore.diagram.general" + name="Acore Diagram"> + <children + xsi:type="gmfgen:GenStandardPreferencePage" + iD="org.eclipse.emf.cdo.dawn.examples.acore.diagram.appearance" + name="Appearance" + kind="Appearance"/> + <children + xsi:type="gmfgen:GenStandardPreferencePage" + iD="org.eclipse.emf.cdo.dawn.examples.acore.diagram.connections" + name="Connections" + kind="Connections"/> + <children + xsi:type="gmfgen:GenStandardPreferencePage" + iD="org.eclipse.emf.cdo.dawn.examples.acore.diagram.printing" + name="Printing" + kind="Printing"/> + <children + xsi:type="gmfgen:GenStandardPreferencePage" + iD="org.eclipse.emf.cdo.dawn.examples.acore.diagram.rulersAndGrid" + name="Rulers And Grid" + kind="RulersAndGrid"/> + </preferencePages> + </diagram> + <plugin> + <requiredPlugins>org.eclipse.draw2d</requiredPlugins> + <requiredPlugins>org.eclipse.gmf.runtime.draw2d.ui</requiredPlugins> + </plugin> + <editor/> + <navigator> + <childReferences + child="//@diagram"/> + <childReferences + parent="//@diagram/@topLevelNodes.0" + child="//@diagram/@childNodes.0"/> + <childReferences + parent="//@diagram/@topLevelNodes.0" + child="//@diagram/@childNodes.1"/> + <childReferences + parent="//@diagram" + child="//@diagram/@topLevelNodes.0"/> + <childReferences + parent="//@diagram/@topLevelNodes.1" + child="//@diagram/@childNodes.2"/> + <childReferences + parent="//@diagram/@topLevelNodes.1" + child="//@diagram/@childNodes.3"/> + <childReferences + parent="//@diagram" + child="//@diagram/@topLevelNodes.1"/> + <childReferences + parent="//@diagram" + child="//@diagram/@links.0" + groupName="links" + groupIcon="icons/linksNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@links.0" + child="//@diagram/@topLevelNodes.1" + referenceType="out_target" + groupName="target" + groupIcon="icons/linkTargetNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@topLevelNodes.1" + child="//@diagram/@links.0" + referenceType="in_source" + groupName="incoming links" + groupIcon="icons/incomingLinksNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@links.0" + child="//@diagram/@topLevelNodes.1" + referenceType="in_source" + groupName="source" + groupIcon="icons/linkSourceNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@topLevelNodes.1" + child="//@diagram/@links.0" + referenceType="out_target" + groupName="outgoing links" + groupIcon="icons/outgoingLinksNavigatorGroup.gif"/> + <childReferences + parent="//@diagram" + child="//@diagram/@links.1" + groupName="links" + groupIcon="icons/linksNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@links.1" + child="//@diagram/@topLevelNodes.0" + referenceType="out_target" + groupName="target" + groupIcon="icons/linkTargetNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@topLevelNodes.0" + child="//@diagram/@links.1" + referenceType="in_source" + groupName="incoming links" + groupIcon="icons/incomingLinksNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@links.1" + child="//@diagram/@topLevelNodes.1" + referenceType="in_source" + groupName="source" + groupIcon="icons/linkSourceNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@topLevelNodes.1" + child="//@diagram/@links.1" + referenceType="out_target" + groupName="outgoing links" + groupIcon="icons/outgoingLinksNavigatorGroup.gif"/> + <childReferences + parent="//@diagram" + child="//@diagram/@links.2" + groupName="links" + groupIcon="icons/linksNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@links.2" + child="//@diagram/@topLevelNodes.1" + referenceType="out_target" + groupName="target" + groupIcon="icons/linkTargetNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@topLevelNodes.1" + child="//@diagram/@links.2" + referenceType="in_source" + groupName="incoming links" + groupIcon="icons/incomingLinksNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@links.2" + child="//@diagram/@topLevelNodes.1" + referenceType="in_source" + groupName="source" + groupIcon="icons/linkSourceNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@topLevelNodes.1" + child="//@diagram/@links.2" + referenceType="out_target" + groupName="outgoing links" + groupIcon="icons/outgoingLinksNavigatorGroup.gif"/> + <childReferences + parent="//@diagram" + child="//@diagram/@links.3" + groupName="links" + groupIcon="icons/linksNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@links.3" + child="//@diagram/@topLevelNodes.1" + referenceType="out_target" + groupName="target" + groupIcon="icons/linkTargetNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@topLevelNodes.1" + child="//@diagram/@links.3" + referenceType="in_source" + groupName="incoming links" + groupIcon="icons/incomingLinksNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@links.3" + child="//@diagram/@topLevelNodes.1" + referenceType="in_source" + groupName="source" + groupIcon="icons/linkSourceNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@topLevelNodes.1" + child="//@diagram/@links.3" + referenceType="out_target" + groupName="outgoing links" + groupIcon="icons/outgoingLinksNavigatorGroup.gif"/> + <childReferences + parent="//@diagram" + child="//@diagram/@links.4" + groupName="links" + groupIcon="icons/linksNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@links.4" + child="//@diagram/@topLevelNodes.1" + referenceType="out_target" + groupName="target" + groupIcon="icons/linkTargetNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@topLevelNodes.1" + child="//@diagram/@links.4" + referenceType="in_source" + groupName="incoming links" + groupIcon="icons/incomingLinksNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@links.4" + child="//@diagram/@topLevelNodes.1" + referenceType="in_source" + groupName="source" + groupIcon="icons/linkSourceNavigatorGroup.gif"/> + <childReferences + parent="//@diagram/@topLevelNodes.1" + child="//@diagram/@links.4" + referenceType="out_target" + groupName="outgoing links" + groupIcon="icons/outgoingLinksNavigatorGroup.gif"/> + </navigator> + <diagramUpdater/> + <propertySheet> + <tabs + xsi:type="gmfgen:GenStandardPropertyTab" + iD="appearance"/> + <tabs + xsi:type="gmfgen:GenStandardPropertyTab" + iD="diagram"/> + <tabs + xsi:type="gmfgen:GenCustomPropertyTab" + iD="domain" + label="Core"> + <filter + xsi:type="gmfgen:TypeTabFilter"> + <types>org.eclipse.gmf.runtime.notation.View</types> + <types>org.eclipse.gef.EditPart</types> + <generatedTypes>abstractNavigatorItem</generatedTypes> + </filter> + </tabs> + </propertySheet> + <domainGenModel + href="acore.genmodel#/"/> + <labelParsers + extensibleViaService="true"> + <implementations + xsi:type="gmfgen:PredefinedParser" + uses="//@diagram/@childNodes.0/@labelModelFacet //@diagram/@childNodes.1/@labelModelFacet //@diagram/@topLevelNodes.0/@labels.0/@modelFacet //@diagram/@childNodes.2/@labelModelFacet //@diagram/@childNodes.3/@labelModelFacet //@diagram/@topLevelNodes.1/@labels.0/@modelFacet"/> + </labelParsers> + <contextMenus + context="//@diagram"> + <items + xsi:type="gmfgen:LoadResourceAction"/> + </contextMenus> +</gmfgen:GenEditorGenerator> |