blob: d45783650b8acb1501fb8168216453a33686ca21 [file]
<?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/2008/GenModel" sameFileForDiagramAndModel="true"
diagramFileExtension="requirements">
<diagram
visualID="1000"
editPartClassName="ModelEditPart"
itemSemanticEditPolicyClassName="ModelItemSemanticEditPolicy"
notationViewFactoryClassName="ModelViewFactory"
canonicalEditPolicyClassName="ModelCanonicalEditPolicy"
iconProviderPriority="Low"
creationWizardCategoryID="org.eclipse.amalgam.examples.requirements.wizards.category"
editingDomainID="org.eclipse.amalgam.examples.requirements.EditingDomain"
validationProviderPriority="Low">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Diagram"/>
<elementType
xsi:type="gmfgen:MetamodelType"
editHelperClassName="ModelEditHelper"/>
<viewmap
xsi:type="gmfgen:FigureViewmap"
figureQualifiedClassName="org.eclipse.draw2d.FreeformLayer"/>
<domainDiagramElement
href="../model/requirements.genmodel#//requirements/Model"/>
<childNodes
xsi:type="gmfgen:GenChildSideAffixedNode"
visualID="3001"
editPartClassName="ProcessEditPart"
itemSemanticEditPolicyClassName="ProcessItemSemanticEditPolicy"
notationViewFactoryClassName="ProcessViewFactory"
canonicalEditPolicyClassName="ProcessCanonicalEditPolicy"
graphicalNodeEditPolicyClassName="ProcessGraphicalNodeEditPolicy"
createCommandClassName="ProcessCreateCommand"
containers="//@diagram/@topLevelNodes.1">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<elementType
xsi:type="gmfgen:MetamodelType"
editHelperClassName="ProcessEditHelper"/>
<viewmap
xsi:type="gmfgen:InnerClassViewmap"
className="BasicDiamond"
classBody="&#xA;/**&#xA; * @generated&#xA; */&#xA;public class BasicDiamond extends org.eclipse.draw2d.RectangleFigure {&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public BasicDiamond() {&#xA;&#x9;&#x9;this.setLayoutManager(new org.eclipse.draw2d.StackLayout());&#xA;&#x9;&#x9;this.setFill(false);&#xA;this.setOutline(false);&#xA;this.setLineWidth(0);&#xA;&#x9;&#x9;createContents();&#xA;&#x9;}&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private void createContents(){&#xA;&#xA;&#xA;org.eclipse.draw2d.Polygon diamond0 = new org.eclipse.draw2d.Polygon();&#xA;diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(5)&#xA;, getMapMode().DPtoLP(0)&#xA;));&#xA;diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(0)&#xA;, getMapMode().DPtoLP(5)&#xA;));&#xA;diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(5)&#xA;, getMapMode().DPtoLP(10)&#xA;));&#xA;diamond0.addPoint(new org.eclipse.draw2d.geometry.Point(getMapMode().DPtoLP(10)&#xA;, getMapMode().DPtoLP(5)&#xA;));&#xA;diamond0.setFill(true);&#xA;&#xA;this.add(diamond0);&#xA;&#xA;&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private boolean myUseLocalCoordinates = true;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;protected boolean useLocalCoordinates() {&#xA;&#x9;&#x9;return myUseLocalCoordinates;&#xA;&#x9;}&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;protected void setUseLocalCoordinates(boolean useLocalCoordinates) {&#xA;&#x9;&#x9;myUseLocalCoordinates = useLocalCoordinates;&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;}&#xA;&#xA;">
<attributes
xsi:type="gmfgen:ResizeConstraints"/>
<attributes
xsi:type="gmfgen:DefaultSizeAttributes"
width="10"
height="10"/>
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
</viewmap>
<behaviour
xsi:type="gmfgen:OpenDiagramBehaviour"
diagramKind="scenario"
editorID="org.eclipse.amalgam.examples.scenario.diagram.part.ScenarioDiagramEditorID"/>
<modelFacet>
<metaClass
href="../../org.eclipse.amalgam.examples.dsl.scenario/model/scenario.genmodel#//scenario/Process"/>
<containmentMetaFeature
href="../model/requirements.genmodel#//requirements/Requirement/scenario"/>
<childMetaFeature
href="../model/requirements.genmodel#//requirements/Requirement/scenario"/>
</modelFacet>
</childNodes>
<topLevelNodes
visualID="2001"
editPartClassName="RequirementGroupEditPart"
itemSemanticEditPolicyClassName="RequirementGroupItemSemanticEditPolicy"
notationViewFactoryClassName="RequirementGroupViewFactory"
canonicalEditPolicyClassName="RequirementGroupCanonicalEditPolicy"
graphicalNodeEditPolicyClassName="RequirementGroupGraphicalNodeEditPolicy"
createCommandClassName="RequirementGroupCreateCommand">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<elementType
xsi:type="gmfgen:MetamodelType"
editHelperClassName="RequirementGroupEditHelper"/>
<viewmap
xsi:type="gmfgen:InnerClassViewmap"
className="RoundedRectangleCenterLabel"
classBody="&#xA;/**&#xA; * @generated&#xA; */&#xA;public class RoundedRectangleCenterLabel extends org.eclipse.draw2d.RoundedRectangle {&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel fFigureCenterLabel; &#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public RoundedRectangleCenterLabel() {&#xA;&#x9;&#x9;this.setLayoutManager(new org.eclipse.draw2d.StackLayout());&#xA;&#x9;&#x9;this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(8)&#xA;, getMapMode().DPtoLP(8)&#xA;));&#xA;this.setPreferredSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(50)&#xA;, getMapMode().DPtoLP(20)&#xA;));&#xA;this.setMaximumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(50)&#xA;, getMapMode().DPtoLP(20)&#xA;));&#xA;this.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(50)&#xA;, getMapMode().DPtoLP(20)&#xA;));&#xA;&#xA;this.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(5)&#xA;, getMapMode().DPtoLP(5)&#xA;, getMapMode().DPtoLP(5)&#xA;, getMapMode().DPtoLP(5)&#xA;));&#xA;&#x9;&#x9;createContents();&#xA;&#x9;}&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private void createContents(){&#xA;&#xA;&#xA;fFigureCenterLabel = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();&#xA;fFigureCenterLabel.setText(&quot;&quot;);&#xA;&#xA;this.add(fFigureCenterLabel);&#xA;&#xA;&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private boolean myUseLocalCoordinates = false;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;protected boolean useLocalCoordinates() {&#xA;&#x9;&#x9;return myUseLocalCoordinates;&#xA;&#x9;}&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;protected void setUseLocalCoordinates(boolean useLocalCoordinates) {&#xA;&#x9;&#x9;myUseLocalCoordinates = useLocalCoordinates;&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel getFigureCenterLabel() {&#xA;&#x9;&#x9;return fFigureCenterLabel;&#xA;&#x9;}&#xA;&#xA;&#xA;}&#xA;&#xA;">
<attributes
xsi:type="gmfgen:ResizeConstraints"/>
<attributes
xsi:type="gmfgen:DefaultSizeAttributes"
width="50"
height="20"/>
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
</viewmap>
<modelFacet
modelElementSelector="//@expressionProviders/@providers.0/@expressions.0">
<metaClass
href="../model/requirements.genmodel#//requirements/RequirementGroup"/>
<containmentMetaFeature
href="../model/requirements.genmodel#//requirements/Model/groups"/>
<childMetaFeature
href="../model/requirements.genmodel#//requirements/Model/groups"/>
</modelFacet>
<labels
visualID="5001"
editPartClassName="RequirementGroupIdEditPart"
itemSemanticEditPolicyClassName="RequirementGroupIdItemSemanticEditPolicy"
notationViewFactoryClassName="RequirementGroupIdViewFactory">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type="gmfgen:ParentAssignedViewmap"
getterName="getFigureCenterLabel"
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
<modelFacet
xsi:type="gmfgen:FeatureLabelModelFacet"
editorPattern="">
<metaFeatures
href="../model/requirements.genmodel#//requirements/RequirementGroup/id"/>
</modelFacet>
</labels>
</topLevelNodes>
<topLevelNodes
visualID="2002"
editPartClassName="RequirementEditPart"
itemSemanticEditPolicyClassName="RequirementItemSemanticEditPolicy"
notationViewFactoryClassName="RequirementViewFactory"
canonicalEditPolicyClassName="RequirementCanonicalEditPolicy"
childNodes="//@diagram/@childNodes.0"
graphicalNodeEditPolicyClassName="RequirementGraphicalNodeEditPolicy"
createCommandClassName="RequirementCreateCommand">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<elementType
xsi:type="gmfgen:MetamodelType"
editHelperClassName="RequirementEditHelper"/>
<viewmap
xsi:type="gmfgen:InnerClassViewmap"
className="Circle"
classBody="&#xA;/**&#xA; * @generated&#xA; */&#xA;public class Circle extends org.eclipse.draw2d.RectangleFigure {&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private org.eclipse.draw2d.RectangleFigure fFigureCircleOuterRectangle; &#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private org.eclipse.draw2d.Ellipse fFigureCircle; &#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel fFigureCenterLetter; &#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public Circle() {&#xA;&#x9;&#x9;this.setLayoutManager(new org.eclipse.draw2d.StackLayout());&#xA;&#x9;&#x9;this.setFill(false);&#xA;this.setOutline(false);&#xA;&#x9;&#x9;createContents();&#xA;&#x9;}&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private void createContents(){&#xA;&#xA;&#xA;fFigureCircle = new org.eclipse.draw2d.Ellipse();&#xA;fFigureCircle.setFill(false);&#xA;&#xA;this.add(fFigureCircle);&#xA;&#xA;&#xA;&#xA;fFigureCenterLetter = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();&#xA;fFigureCenterLetter.setText(&quot;&quot;);&#xA;&#xA;fFigureCenterLetter.setFont(FFIGURECENTERLETTER_FONT);&#xA;&#xA;&#xA;fFigureCenterLetter.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(5)&#xA;, getMapMode().DPtoLP(6)&#xA;, getMapMode().DPtoLP(0)&#xA;, getMapMode().DPtoLP(0)&#xA;));&#xA;&#xA;this.add(fFigureCenterLetter);&#xA;&#xA;&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private boolean myUseLocalCoordinates = false;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;protected boolean useLocalCoordinates() {&#xA;&#x9;&#x9;return myUseLocalCoordinates;&#xA;&#x9;}&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;protected void setUseLocalCoordinates(boolean useLocalCoordinates) {&#xA;&#x9;&#x9;myUseLocalCoordinates = useLocalCoordinates;&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public org.eclipse.draw2d.RectangleFigure getFigureCircleOuterRectangle() {&#xA;&#x9;&#x9;return fFigureCircleOuterRectangle;&#xA;&#x9;}&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public org.eclipse.draw2d.Ellipse getFigureCircle() {&#xA;&#x9;&#x9;return fFigureCircle;&#xA;&#x9;}&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel getFigureCenterLetter() {&#xA;&#x9;&#x9;return fFigureCenterLetter;&#xA;&#x9;}&#xA;&#xA;&#xA;}&#xA;&#xA;/**&#xA; * @generated&#xA; */&#xA;static final org.eclipse.swt.graphics.Font FFIGURECENTERLETTER_FONT = new org.eclipse.swt.graphics.Font(org.eclipse.swt.widgets.Display.getCurrent(), &quot;Arial&quot;, 10, org.eclipse.swt.SWT.BOLD);&#xA;&#xA;">
<attributes
xsi:type="gmfgen:ResizeConstraints"/>
<attributes
xsi:type="gmfgen:DefaultSizeAttributes"
width="20"
height="20"/>
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
</viewmap>
<behaviour
xsi:type="gmfgen:CustomBehaviour"
key="&quot;TooltipPolicy&quot;"
editPolicyQualifiedClassName="org.eclipse.amalgam.examples.requirements.diagram.edit.policies.RequirementsTooltipEditPolicy"/>
<modelFacet>
<metaClass
href="../model/requirements.genmodel#//requirements/Requirement"/>
<modelElementInitializer
xsi:type="gmfgen:GenFeatureSeqInitializer">
<initializers
xsi:type="gmfgen:GenReferenceNewElementSpec">
<feature
href="../model/requirements.genmodel#//requirements/Requirement/version"/>
<newElementInitializers>
<initializers
xsi:type="gmfgen:GenFeatureValueSpec"
value="//@expressionProviders/@providers.0/@expressions.1">
<feature
href="../model/requirements.genmodel#//requirements/Version/major"/>
</initializers>
</newElementInitializers>
</initializers>
</modelElementInitializer>
</modelFacet>
<labels
xsi:type="gmfgen:GenExternalNodeLabel"
visualID="5002"
editPartClassName="RequirementIdEditPart"
itemSemanticEditPolicyClassName="RequirementIdItemSemanticEditPolicy"
notationViewFactoryClassName="RequirementIdViewFactory">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type="gmfgen:FigureViewmap"
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
</viewmap>
<modelFacet
xsi:type="gmfgen:FeatureLabelModelFacet"
viewPattern=""
editorPattern=""
editPattern="">
<metaFeatures
href="../model/requirements.genmodel#//requirements/Requirement/id"/>
</modelFacet>
</labels>
<labels
visualID="5003"
editPartClassName="RequirementTypeEditPart"
itemSemanticEditPolicyClassName="RequirementTypeItemSemanticEditPolicy"
notationViewFactoryClassName="RequirementTypeViewFactory"
readOnly="true">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type="gmfgen:ParentAssignedViewmap"
getterName="getFigureCenterLetter"
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
<attributes
xsi:type="gmfgen:StyleAttributes"
fixedFont="true"/>
</viewmap>
<modelFacet
xsi:type="gmfgen:FeatureLabelModelFacet"
viewPattern="{0}"
editorPattern="">
<metaFeatures
href="../model/requirements.genmodel#//requirements/Requirement/type"/>
</modelFacet>
</labels>
</topLevelNodes>
<topLevelNodes
visualID="2003"
editPartClassName="RequirementGroup2EditPart"
itemSemanticEditPolicyClassName="RequirementGroup2ItemSemanticEditPolicy"
notationViewFactoryClassName="RequirementGroup2ViewFactory"
canonicalEditPolicyClassName="RequirementGroup2CanonicalEditPolicy"
graphicalNodeEditPolicyClassName="RequirementGroup2GraphicalNodeEditPolicy"
createCommandClassName="RequirementGroup2CreateCommand">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<elementType
xsi:type="gmfgen:SpecializationType"
metamodelType="//@diagram/@topLevelNodes.0/@elementType"/>
<viewmap
xsi:type="gmfgen:InnerClassViewmap"
className="RoundedRectangleCenterLabel"
classBody="&#xA;/**&#xA; * @generated&#xA; */&#xA;public class RoundedRectangleCenterLabel extends org.eclipse.draw2d.RoundedRectangle {&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel fFigureCenterLabel; &#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public RoundedRectangleCenterLabel() {&#xA;&#x9;&#x9;this.setLayoutManager(new org.eclipse.draw2d.StackLayout());&#xA;&#x9;&#x9;this.setCornerDimensions(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(8)&#xA;, getMapMode().DPtoLP(8)&#xA;));&#xA;this.setPreferredSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(50)&#xA;, getMapMode().DPtoLP(20)&#xA;));&#xA;this.setMaximumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(50)&#xA;, getMapMode().DPtoLP(20)&#xA;));&#xA;this.setMinimumSize(new org.eclipse.draw2d.geometry.Dimension(getMapMode().DPtoLP(50)&#xA;, getMapMode().DPtoLP(20)&#xA;));&#xA;&#xA;this.setBorder(new org.eclipse.draw2d.MarginBorder(getMapMode().DPtoLP(5)&#xA;, getMapMode().DPtoLP(5)&#xA;, getMapMode().DPtoLP(5)&#xA;, getMapMode().DPtoLP(5)&#xA;));&#xA;&#x9;&#x9;createContents();&#xA;&#x9;}&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private void createContents(){&#xA;&#xA;&#xA;fFigureCenterLabel = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel();&#xA;fFigureCenterLabel.setText(&quot;&quot;);&#xA;&#xA;this.add(fFigureCenterLabel);&#xA;&#xA;&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private boolean myUseLocalCoordinates = false;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;protected boolean useLocalCoordinates() {&#xA;&#x9;&#x9;return myUseLocalCoordinates;&#xA;&#x9;}&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;protected void setUseLocalCoordinates(boolean useLocalCoordinates) {&#xA;&#x9;&#x9;myUseLocalCoordinates = useLocalCoordinates;&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel getFigureCenterLabel() {&#xA;&#x9;&#x9;return fFigureCenterLabel;&#xA;&#x9;}&#xA;&#xA;&#xA;}&#xA;&#xA;">
<attributes
xsi:type="gmfgen:ResizeConstraints"/>
<attributes
xsi:type="gmfgen:DefaultSizeAttributes"
width="50"
height="20"/>
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
</viewmap>
<modelFacet
modelElementSelector="//@expressionProviders/@providers.0/@expressions.2">
<metaClass
href="../model/requirements.genmodel#//requirements/RequirementGroup"/>
</modelFacet>
<labels
visualID="5004"
editPartClassName="RequirementGroupId2EditPart"
itemSemanticEditPolicyClassName="RequirementGroupId2ItemSemanticEditPolicy"
notationViewFactoryClassName="RequirementGroupId2ViewFactory">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
<viewmap
xsi:type="gmfgen:ParentAssignedViewmap"
getterName="getFigureCenterLabel"
figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
<modelFacet
xsi:type="gmfgen:FeatureLabelModelFacet"
editorPattern="">
<metaFeatures
href="../model/requirements.genmodel#//requirements/RequirementGroup/id"/>
</modelFacet>
</labels>
</topLevelNodes>
<links
visualID="4001"
editPartClassName="RequirementGroupRequirementsEditPart"
itemSemanticEditPolicyClassName="RequirementGroupRequirementsItemSemanticEditPolicy"
notationViewFactoryClassName="RequirementGroupRequirementsViewFactory"
createCommandClassName="RequirementGroupRequirementsCreateCommand"
reorientCommandClassName="RequirementGroupRequirementsReorientCommand">
<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">
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
</viewmap>
<modelFacet
xsi:type="gmfgen:FeatureLinkModelFacet">
<metaFeature
href="../model/requirements.genmodel#//requirements/RequirementGroup/requirements"/>
</modelFacet>
</links>
<links
visualID="4002"
editPartClassName="RequirementChildrenEditPart"
itemSemanticEditPolicyClassName="RequirementChildrenItemSemanticEditPolicy"
notationViewFactoryClassName="RequirementChildrenViewFactory"
createCommandClassName="RequirementChildrenCreateCommand"
reorientCommandClassName="RequirementChildrenReorientCommand">
<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">
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
</viewmap>
<modelFacet
xsi:type="gmfgen:FeatureLinkModelFacet">
<metaFeature
href="../model/requirements.genmodel#//requirements/Requirement/children"/>
</modelFacet>
</links>
<links
visualID="4003"
editPartClassName="RequirementDependenciesEditPart"
itemSemanticEditPolicyClassName="RequirementDependenciesItemSemanticEditPolicy"
notationViewFactoryClassName="RequirementDependenciesViewFactory"
createCommandClassName="RequirementDependenciesCreateCommand"
reorientCommandClassName="RequirementDependenciesReorientCommand">
<diagramRunTimeClass
href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
<elementType
xsi:type="gmfgen:SpecializationType"/>
<viewmap
xsi:type="gmfgen:InnerClassViewmap"
className="DashedLineWithOpenArrow"
classBody="&#xA;/**&#xA; * @generated&#xA; */&#xA;public class DashedLineWithOpenArrow extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public DashedLineWithOpenArrow() {&#xA;&#x9;&#x9;this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_DASH);&#xA;&#x9;this.setForegroundColor(org.eclipse.draw2d.ColorConstants.blue);&#xA;&#xA;&#x9;&#x9;setTargetDecoration(createTargetDecoration());&#xA;&#x9;}&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() {&#xA;&#x9;&#x9;org.eclipse.draw2d.PolylineDecoration df = new org.eclipse.draw2d.PolylineDecoration();&#xA;&#x9;&#x9;return df;&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#xA;}&#xA;&#xA;">
<attributes
xsi:type="gmfgen:StyleAttributes"
fixedForeground="true"/>
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
</viewmap>
<modelFacet
xsi:type="gmfgen:FeatureLinkModelFacet">
<metaFeature
href="../model/requirements.genmodel#//requirements/Requirement/dependencies"/>
</modelFacet>
</links>
<links
visualID="4004"
editPartClassName="RequirementGroupChildrenEditPart"
itemSemanticEditPolicyClassName="RequirementGroupChildrenItemSemanticEditPolicy"
notationViewFactoryClassName="RequirementGroupChildrenViewFactory"
createCommandClassName="RequirementGroupChildrenCreateCommand"
reorientCommandClassName="RequirementGroupChildrenReorientCommand">
<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">
<requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
<requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
</viewmap>
<modelFacet
xsi:type="gmfgen:FeatureLinkModelFacet">
<metaFeature
href="../model/requirements.genmodel#//requirements/RequirementGroup/children"/>
</modelFacet>
</links>
<palette>
<groups
title="Nodes">
<entries
xsi:type="gmfgen:ToolEntry"
title="Requirement"
description="Create new Requirement"
genNodes="//@diagram/@topLevelNodes.1"/>
<entries
xsi:type="gmfgen:ToolEntry"
title="Group"
description="Create new Requirement Group"
genNodes="//@diagram/@topLevelNodes.0"/>
<entries
xsi:type="gmfgen:ToolEntry"
title="Scenario"
description="Create new Scenario"
genNodes="//@diagram/@childNodes.0"/>
</groups>
<groups
title="Links">
<entries
xsi:type="gmfgen:ToolEntry"
title="Child Requirement"
description="Create new Requirement Child Link"
smallIconPath="/org.eclipse.amalgam.examples.requirements.model.edit/icons/full/obj16/Association.gif"
genLinks="//@diagram/@links.1"/>
<entries
xsi:type="gmfgen:ToolEntry"
title="Group Requirement"
description="Create new Group Requirement Link"
smallIconPath="/org.eclipse.amalgam.examples.requirements.model.edit/icons/full/obj16/Association.gif"
genLinks="//@diagram/@links.0"/>
<entries
xsi:type="gmfgen:ToolEntry"
title="Dependency"
description="Create new Requirement Dependency Link"
smallIconPath="/org.eclipse.amalgam.examples.requirements.model.edit/icons/full/obj16/DependencyLink.gif"
genLinks="//@diagram/@links.2"/>
<entries
xsi:type="gmfgen:ToolEntry"
title="Child Group"
description="Create new Child Group Link"
smallIconPath="/org.eclipse.amalgam.examples.requirements.model.edit/icons/full/obj16/Association.gif"
genLinks="//@diagram/@links.3"/>
</groups>
</palette>
<preferencePages
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.amalgam.examples.requirements.diagram.general"
name="requirements Diagram">
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.amalgam.examples.requirements.diagram.appearance"
name="Appearance"
kind="Appearance"/>
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.amalgam.examples.requirements.diagram.connections"
name="Connections"
kind="Connections"/>
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.amalgam.examples.requirements.diagram.printing"
name="Printing"
kind="Printing"/>
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.amalgam.examples.requirements.diagram.rulersAndGrid"
name="Rulers And Grid"
kind="RulersAndGrid"/>
<children
xsi:type="gmfgen:GenStandardPreferencePage"
iD="org.eclipse.amalgam.examples.requirements.diagram.pathmaps"
name="Pathmaps"
kind="Pathmaps"/>
</preferencePages>
</diagram>
<plugin
name="Requirements Plugin"
provider="Eclipse.org"
printingEnabled="true"/>
<editor/>
<navigator>
<childReferences
child="//@diagram"/>
<childReferences
parent="//@diagram"
child="//@diagram/@topLevelNodes.0"/>
<childReferences
parent="//@diagram/@topLevelNodes.1"
child="//@diagram/@childNodes.0"/>
<childReferences
parent="//@diagram"
child="//@diagram/@topLevelNodes.1"/>
<childReferences
parent="//@diagram"
child="//@diagram/@topLevelNodes.2"/>
<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.0"
referenceType="in_source"
groupName="source"
groupIcon="icons/linkSourceNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@topLevelNodes.0"
child="//@diagram/@links.0"
referenceType="out_target"
groupName="outgoing links"
groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@links.0"
child="//@diagram/@topLevelNodes.2"
referenceType="in_source"
groupName="source"
groupIcon="icons/linkSourceNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@topLevelNodes.2"
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.1"
referenceType="out_target"
groupName="target"
groupIcon="icons/linkTargetNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@topLevelNodes.1"
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.0"
referenceType="out_target"
groupName="target"
groupIcon="icons/linkTargetNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@topLevelNodes.0"
child="//@diagram/@links.3"
referenceType="in_source"
groupName="incoming links"
groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@links.3"
child="//@diagram/@topLevelNodes.2"
referenceType="out_target"
groupName="target"
groupIcon="icons/linkTargetNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@topLevelNodes.2"
child="//@diagram/@links.3"
referenceType="in_source"
groupName="incoming links"
groupIcon="icons/incomingLinksNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@links.3"
child="//@diagram/@topLevelNodes.0"
referenceType="in_source"
groupName="source"
groupIcon="icons/linkSourceNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@topLevelNodes.0"
child="//@diagram/@links.3"
referenceType="out_target"
groupName="outgoing links"
groupIcon="icons/outgoingLinksNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@links.3"
child="//@diagram/@topLevelNodes.2"
referenceType="in_source"
groupName="source"
groupIcon="icons/linkSourceNavigatorGroup.gif"/>
<childReferences
parent="//@diagram/@topLevelNodes.2"
child="//@diagram/@links.3"
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>
<tabs
xsi:type="gmfgen:GenCustomPropertyTab"
iD="description"
label="Description"
className="RequirementDescriptionPropertySection">
<filter
xsi:type="gmfgen:TypeTabFilter">
<types>org.eclipse.amalgam.examples.requirements.Requirement</types>
<types>org.eclipse.amalgam.examples.requirements.diagram.edit.parts.RequirementEditPart</types>
<generatedTypes>abstractNavigatorItem</generatedTypes>
</filter>
</tabs>
</propertySheet>
<domainGenModel
href="../model/requirements.genmodel#/"/>
<expressionProviders>
<providers
xsi:type="gmfgen:GenExpressionInterpreter">
<expressions
xsi:type="gmfgen:GenConstraint"
body="parent.oclIsUndefined()"/>
<expressions
body="1"/>
<expressions
xsi:type="gmfgen:GenConstraint"
body="parent.oclIsTypeOf(requirements::RequirementGroup)"/>
</providers>
</expressionProviders>
</gmfgen:GenEditorGenerator>