source: trunk/org.modelica.uml/model/modelicaClassDiagram.gmfgen @ 492

Last change on this file since 492 was 492, checked in by adrpo, 17 years ago
  • ModelicaML UML/SysML part of mdt
File size: 44.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<gmfgen:GenEditorGenerator xmi:version="2.0"
3    xmlns:xmi="http://www.omg.org/XMI"
4    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5    xmlns:gmfgen="http://www.eclipse.org/gmf/2005/GenModel" sameFileForDiagramAndModel="true"
6    diagramFileExtension="mcd"
7    templateDirectory="">
8  <diagram
9      visualID="79"
10      editPartClassName="ModelEditPart"
11      itemSemanticEditPolicyClassName="ModelItemSemanticEditPolicy"
12      notationViewFactoryClassName="ModelViewFactory"
13      iconProviderPriority="Low"
14      canonicalEditPolicyClassName="ModelCanonicalEditPolicy">
15    <diagramRunTimeClass
16        href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Diagram"/>
17    <elementType
18        xsi:type="gmfgen:MetamodelType"
19        editHelperClassName="ModelEditHelper"/>
20    <viewmap
21        xsi:type="gmfgen:FigureViewmap"
22        figureQualifiedClassName="org.eclipse.draw2d.FreeformLayer"/>
23    <domainDiagramElement
24        href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Model"/>
25    <childNodes
26        xsi:type="gmfgen:GenChildLabelNode"
27        visualID="2001"
28        editPartClassName="ModelicaPropertyEditPart"
29        itemSemanticEditPolicyClassName="ModelicaPropertyItemSemanticEditPolicy"
30        notationViewFactoryClassName="ModelicaPropertyViewFactory"
31        canonicalEditPolicyClassName="ModelicaPropertyCanonicalEditPolicy"
32        graphicalNodeEditPolicyClassName="ModelicaPropertyGraphicalNodeEditPolicy"
33        containers="//@diagram/@compartments.0"
34        labelElementIcon="true">
35      <diagramRunTimeClass
36          href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
37      <elementType
38          xsi:type="gmfgen:MetamodelType"
39          editHelperClassName="ModelicaPropertyEditHelper"/>
40      <viewmap
41          xsi:type="gmfgen:FigureViewmap"
42          figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel">
43        <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
44        <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
45      </viewmap>
46      <modelFacet>
47        <metaClass
48            href="sysml.genmodel#//sysml/ModelicaProperty"/>
49        <containmentMetaFeature
50            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/StructuredClassifier/ownedAttribute"/>
51        <childMetaFeature
52            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/StructuredClassifier/ownedAttribute"/>
53        <modelElementInitializer
54            xsi:type="gmfgen:GenFeatureSeqInitializer">
55          <initializers
56              body="VariabilityKind::none">
57            <feature
58                href="sysml.genmodel#//sysml/ModelicaProperty/variability"/>
59          </initializers>
60          <initializers
61              body="PropertyKind::parameter">
62            <feature
63                href="sysml.genmodel#//sysml/ModelicaProperty/propertyKind"/>
64          </initializers>
65          <initializers
66              body="AccessKind::public">
67            <feature
68                href="sysml.genmodel#//sysml/ModelicaProperty/access"/>
69          </initializers>
70        </modelElementInitializer>
71      </modelFacet>
72      <labelModelFacet
73          xsi:type="gmfgen:FeatureLabelModelFacet"
74          viewPattern=""
75          editPattern="">
76        <metaFeature
77            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
78      </labelModelFacet>
79    </childNodes>
80    <childNodes
81        xsi:type="gmfgen:GenChildLabelNode"
82        visualID="2002"
83        editPartClassName="ModelicaProperty2EditPart"
84        itemSemanticEditPolicyClassName="ModelicaProperty2ItemSemanticEditPolicy"
85        notationViewFactoryClassName="ModelicaProperty2ViewFactory"
86        canonicalEditPolicyClassName="ModelicaProperty2CanonicalEditPolicy"
87        graphicalNodeEditPolicyClassName="ModelicaProperty2GraphicalNodeEditPolicy"
88        containers="//@diagram/@compartments.1"
89        labelElementIcon="true">
90      <diagramRunTimeClass
91          href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
92      <elementType
93          xsi:type="gmfgen:SpecializationType"
94          metamodelType="//@diagram/@childNodes.0/@elementType"
95          editHelperAdviceClassName="ModelicaPropertyEditHelperAdvice"/>
96      <viewmap
97          xsi:type="gmfgen:FigureViewmap"
98          figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel">
99        <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
100        <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
101      </viewmap>
102      <modelFacet>
103        <metaClass
104            href="sysml.genmodel#//sysml/ModelicaProperty"/>
105        <containmentMetaFeature
106            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/StructuredClassifier/ownedAttribute"/>
107        <childMetaFeature
108            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/StructuredClassifier/ownedAttribute"/>
109        <modelElementInitializer
110            xsi:type="gmfgen:GenFeatureSeqInitializer">
111          <initializers
112              body="VariabilityKind::none">
113            <feature
114                href="sysml.genmodel#//sysml/ModelicaProperty/variability"/>
115          </initializers>
116          <initializers
117              body="PropertyKind::part">
118            <feature
119                href="sysml.genmodel#//sysml/ModelicaProperty/propertyKind"/>
120          </initializers>
121          <initializers
122              body="AccessKind::public">
123            <feature
124                href="sysml.genmodel#//sysml/ModelicaProperty/access"/>
125          </initializers>
126        </modelElementInitializer>
127      </modelFacet>
128      <labelModelFacet
129          xsi:type="gmfgen:FeatureLabelModelFacet">
130        <metaFeature
131            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
132      </labelModelFacet>
133    </childNodes>
134    <childNodes
135        xsi:type="gmfgen:GenChildLabelNode"
136        visualID="2003"
137        editPartClassName="ModelicaProperty3EditPart"
138        itemSemanticEditPolicyClassName="ModelicaProperty3ItemSemanticEditPolicy"
139        notationViewFactoryClassName="ModelicaProperty3ViewFactory"
140        canonicalEditPolicyClassName="ModelicaProperty3CanonicalEditPolicy"
141        graphicalNodeEditPolicyClassName="ModelicaProperty3GraphicalNodeEditPolicy"
142        containers="//@diagram/@compartments.2"
143        labelElementIcon="true">
144      <diagramRunTimeClass
145          href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
146      <elementType
147          xsi:type="gmfgen:SpecializationType"
148          metamodelType="//@diagram/@childNodes.0/@elementType"
149          editHelperAdviceClassName="ModelicaProperty2EditHelperAdvice"/>
150      <viewmap
151          xsi:type="gmfgen:FigureViewmap"
152          figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel">
153        <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
154        <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
155      </viewmap>
156      <modelFacet>
157        <metaClass
158            href="sysml.genmodel#//sysml/ModelicaProperty"/>
159        <containmentMetaFeature
160            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/StructuredClassifier/ownedAttribute"/>
161        <childMetaFeature
162            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/StructuredClassifier/ownedAttribute"/>
163        <modelElementInitializer
164            xsi:type="gmfgen:GenFeatureSeqInitializer">
165          <initializers
166              body="VariabilityKind::none">
167            <feature
168                href="sysml.genmodel#//sysml/ModelicaProperty/variability"/>
169          </initializers>
170          <initializers
171              body="PropertyKind::variable">
172            <feature
173                href="sysml.genmodel#//sysml/ModelicaProperty/propertyKind"/>
174          </initializers>
175          <initializers
176              body="AccessKind::public">
177            <feature
178                href="sysml.genmodel#//sysml/ModelicaProperty/access"/>
179          </initializers>
180        </modelElementInitializer>
181      </modelFacet>
182      <labelModelFacet
183          xsi:type="gmfgen:FeatureLabelModelFacet">
184        <metaFeature
185            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
186      </labelModelFacet>
187    </childNodes>
188    <childNodes
189        xsi:type="gmfgen:GenChildLabelNode"
190        visualID="2004"
191        editPartClassName="EnumerationLiteralEditPart"
192        itemSemanticEditPolicyClassName="EnumerationLiteralItemSemanticEditPolicy"
193        notationViewFactoryClassName="EnumerationLiteralViewFactory"
194        canonicalEditPolicyClassName="EnumerationLiteralCanonicalEditPolicy"
195        graphicalNodeEditPolicyClassName="EnumerationLiteralGraphicalNodeEditPolicy"
196        containers="//@diagram/@compartments.3"
197        labelElementIcon="true">
198      <diagramRunTimeClass
199          href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
200      <elementType
201          xsi:type="gmfgen:MetamodelType"
202          editHelperClassName="EnumerationLiteralEditHelper"/>
203      <viewmap
204          xsi:type="gmfgen:FigureViewmap"
205          figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel">
206        <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
207        <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
208      </viewmap>
209      <modelFacet>
210        <metaClass
211            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/EnumerationLiteral"/>
212        <containmentMetaFeature
213            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Enumeration/ownedLiteral"/>
214        <childMetaFeature
215            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Enumeration/ownedLiteral"/>
216      </modelFacet>
217      <labelModelFacet
218          xsi:type="gmfgen:FeatureLabelModelFacet"
219          editPattern="">
220        <metaFeature
221            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
222      </labelModelFacet>
223    </childNodes>
224    <topLevelNodes
225        visualID="1001"
226        editPartClassName="ModelicaClassEditPart"
227        itemSemanticEditPolicyClassName="ModelicaClassItemSemanticEditPolicy"
228        notationViewFactoryClassName="ModelicaClassViewFactory"
229        canonicalEditPolicyClassName="ModelicaClassCanonicalEditPolicy"
230        compartments="//@diagram/@compartments.0 //@diagram/@compartments.1 //@diagram/@compartments.2"
231        graphicalNodeEditPolicyClassName="ModelicaClassGraphicalNodeEditPolicy">
232      <diagramRunTimeClass
233          href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
234      <elementType
235          xsi:type="gmfgen:MetamodelType"
236          editHelperClassName="ModelicaClassEditHelper"/>
237      <viewmap
238          xsi:type="gmfgen:InnerClassViewmap"
239          layoutType="TOOLBAR_LAYOUT"
240          className="LabeledStereotypedFigure"
241          classBody="&#xD;&#xA;&#xD;&#xA;/**&#xD;&#xA; * @generated&#xD;&#xA; */&#xD;&#xA;public class LabeledStereotypedFigure extends org.eclipse.draw2d.RectangleFigure {&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public LabeledStereotypedFigure() {&#x9;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;org.eclipse.draw2d.ToolbarLayout myGenLayoutManager = new org.eclipse.draw2d.ToolbarLayout();&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;myGenLayoutManager.setStretchMinorAxis(true);&#xD;&#xA;&#x9;&#x9;myGenLayoutManager.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER);&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;myGenLayoutManager.setSpacing(0);&#xD;&#xA;&#x9;&#x9;myGenLayoutManager.setVertical(true);&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;&#x9;this.setLayoutManager(myGenLayoutManager);&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;this.setBackgroundColor(LABELEDSTEREOTYPEDFIGURE_BACK&#xD;&#xA;&#xD;&#xA;);&#xD;&#xA;&#x9;&#x9;this.setFont(&#xD;&#xA;&#x9;&#x9;&#x9;LABELEDSTEREOTYPEDFIGURE_FONT);&#xD;&#xA;&#x9;&#x9;createContents();&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private void createContents(){&#xD;&#xA;&#x9;&#x9;org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig_0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel();&#xD;&#xA;fig_0.setText(&quot;&lt;&lt;stereotype>>&quot;);&#xD;&#xA;&#x9;&#x9;fig_0.setFont(&#xD;&#xA;&#x9;&#x9;&#x9;STEREOTYPENAME_FONT);&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;setFigureStereotypeName(fig_0);&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;Object layData0 = null;&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;this.add(fig_0, layData0);&#xD;&#xA;&#x9;&#x9;org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig_1 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel();&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;fig_1.setFont(&#xD;&#xA;&#x9;&#x9;&#x9;STEREOTYPEDNODENAME_FONT);&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;setFigureStereotypedNodeName(fig_1);&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;Object layData1 = null;&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;this.add(fig_1, layData1);&#xD;&#xA;&#x9;&#x9;org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig_2 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel();&#xD;&#xA;fig_2.setText(&quot;{}&quot;);&#x9;&#x9;fig_2.setForegroundColor(org.eclipse.draw2d.ColorConstants.gray&#xD;&#xA;&#xD;&#xA;);&#xD;&#xA;&#x9;&#x9;fig_2.setFont(&#xD;&#xA;&#x9;&#x9;&#x9;SPECIFIACTION_FONT);&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;setFigurespecifiaction(fig_2);&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;Object layData2 = null;&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;this.add(fig_2, layData2);&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fStereotypeName; &#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureStereotypeName() {&#xD;&#xA;&#x9;&#x9;return fStereotypeName;&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private void setFigureStereotypeName(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig){&#xD;&#xA;&#x9;&#x9;fStereotypeName = fig;&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fStereotypedNodeName; &#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureStereotypedNodeName() {&#xD;&#xA;&#x9;&#x9;return fStereotypedNodeName;&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private void setFigureStereotypedNodeName(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig){&#xD;&#xA;&#x9;&#x9;fStereotypedNodeName = fig;&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fSpecifiaction; &#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureSpecifiaction() {&#xD;&#xA;&#x9;&#x9;return fSpecifiaction;&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private void setFigurespecifiaction(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig){&#xD;&#xA;&#x9;&#x9;fSpecifiaction = fig;&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private boolean myUseLocalCoordinates = false;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;protected boolean useLocalCoordinates() {&#xD;&#xA;&#x9;&#x9;return myUseLocalCoordinates;&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;protected void setUseLocalCoordinates(boolean useLocalCoordinates) {&#xD;&#xA;&#x9;&#x9;myUseLocalCoordinates = useLocalCoordinates;&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;&#xD;&#xA;&#xD;&#xA;}&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public static final org.eclipse.swt.graphics.Font LABELEDSTEREOTYPEDFIGURE_FONT = new org.eclipse.swt.graphics.Font(org.eclipse.swt.widgets.Display.getCurrent(), &quot;Tahoma&quot;, 8, org.eclipse.swt.SWT.NORMAL);&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public static final org.eclipse.swt.graphics.Font STEREOTYPEDNODENAME_FONT = new org.eclipse.swt.graphics.Font(org.eclipse.swt.widgets.Display.getCurrent(), &quot;Tahoma&quot;, 8, org.eclipse.swt.SWT.NORMAL);&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public static final org.eclipse.swt.graphics.Color LABELEDSTEREOTYPEDFIGURE_BACK = new org.eclipse.swt.graphics.Color(null, 247, 250, 253);&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public static final org.eclipse.swt.graphics.Font STEREOTYPENAME_FONT = new org.eclipse.swt.graphics.Font(org.eclipse.swt.widgets.Display.getCurrent(), &quot;Tahoma&quot;, 8, org.eclipse.swt.SWT.NORMAL);&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public static final org.eclipse.swt.graphics.Font SPECIFIACTION_FONT = new org.eclipse.swt.graphics.Font(org.eclipse.swt.widgets.Display.getCurrent(), &quot;Tahoma&quot;, 8, org.eclipse.swt.SWT.NORMAL);&#xD;&#xA;">
242        <attributes
243            xsi:type="gmfgen:StyleAttributes"
244            fixedFont="true"
245            fixedBackground="true"/>
246        <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
247        <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
248      </viewmap>
249      <modelFacet>
250        <metaClass
251            href="sysml.genmodel#//sysml/ModelicaClass"/>
252        <containmentMetaFeature
253            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
254        <childMetaFeature
255            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
256        <modelElementSelector
257            body="not oclIsKindOf(uml::AssociationClass)"/>
258      </modelFacet>
259      <labels
260          visualID="4001"
261          editPartClassName="ModelicaClassNameEditPart"
262          itemSemanticEditPolicyClassName="ModelicaClassNameItemSemanticEditPolicy"
263          notationViewFactoryClassName="ModelicaClassNameViewFactory">
264        <diagramRunTimeClass
265            href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
266        <viewmap
267            xsi:type="gmfgen:ParentAssignedViewmap"
268            getterName="getFigureStereotypedNodeName"
269            figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel">
270          <attributes
271              xsi:type="gmfgen:StyleAttributes"
272              fixedFont="true"/>
273        </viewmap>
274        <modelFacet
275            xsi:type="gmfgen:FeatureLabelModelFacet"
276            editPattern="">
277          <metaFeature
278              href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
279        </modelFacet>
280      </labels>
281    </topLevelNodes>
282    <topLevelNodes
283        visualID="1002"
284        editPartClassName="EnumerationEditPart"
285        itemSemanticEditPolicyClassName="EnumerationItemSemanticEditPolicy"
286        notationViewFactoryClassName="EnumerationViewFactory"
287        canonicalEditPolicyClassName="EnumerationCanonicalEditPolicy"
288        compartments="//@diagram/@compartments.3"
289        graphicalNodeEditPolicyClassName="EnumerationGraphicalNodeEditPolicy">
290      <diagramRunTimeClass
291          href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
292      <elementType
293          xsi:type="gmfgen:MetamodelType"
294          editHelperClassName="EnumerationEditHelper"/>
295      <viewmap
296          xsi:type="gmfgen:InnerClassViewmap"
297          layoutType="TOOLBAR_LAYOUT"
298          className="NamedNodeRectangle"
299          classBody="&#xD;&#xA;&#xD;&#xA;/**&#xD;&#xA; * @generated&#xD;&#xA; */&#xD;&#xA;public class NamedNodeRectangle extends org.eclipse.draw2d.RectangleFigure {&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public NamedNodeRectangle() {&#x9;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;org.eclipse.draw2d.ToolbarLayout myGenLayoutManager = new org.eclipse.draw2d.ToolbarLayout();&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;myGenLayoutManager.setStretchMinorAxis(true);&#xD;&#xA;&#x9;&#x9;myGenLayoutManager.setMinorAlignment(org.eclipse.draw2d.ToolbarLayout.ALIGN_CENTER);&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;myGenLayoutManager.setSpacing(0);&#xD;&#xA;&#x9;&#x9;myGenLayoutManager.setVertical(true);&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;&#x9;this.setLayoutManager(myGenLayoutManager);&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;createContents();&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private void createContents(){&#xD;&#xA;&#x9;&#x9;org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig_0 = new org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel();&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;setFigureNamedNode_NameLabelFigure(fig_0);&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;Object layData0 = null;&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;this.add(fig_0, layData0);&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fNamedNode_NameLabelFigure; &#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel getFigureNamedNode_NameLabelFigure() {&#xD;&#xA;&#x9;&#x9;return fNamedNode_NameLabelFigure;&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private void setFigureNamedNode_NameLabelFigure(org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel fig){&#xD;&#xA;&#x9;&#x9;fNamedNode_NameLabelFigure = fig;&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private boolean myUseLocalCoordinates = false;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;protected boolean useLocalCoordinates() {&#xD;&#xA;&#x9;&#x9;return myUseLocalCoordinates;&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;protected void setUseLocalCoordinates(boolean useLocalCoordinates) {&#xD;&#xA;&#x9;&#x9;myUseLocalCoordinates = useLocalCoordinates;&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;&#xD;&#xA;&#xD;&#xA;}&#xD;&#xA;&#x9;&#xD;&#xA;">
300        <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
301        <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
302      </viewmap>
303      <modelFacet>
304        <metaClass
305            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Enumeration"/>
306        <containmentMetaFeature
307            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
308        <childMetaFeature
309            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
310      </modelFacet>
311      <labels
312          visualID="4002"
313          editPartClassName="EnumerationNameEditPart"
314          itemSemanticEditPolicyClassName="EnumerationNameItemSemanticEditPolicy"
315          notationViewFactoryClassName="EnumerationNameViewFactory"
316          elementIcon="true">
317        <diagramRunTimeClass
318            href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
319        <viewmap
320            xsi:type="gmfgen:ParentAssignedViewmap"
321            getterName="getFigureNamedNode_NameLabelFigure"
322            figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel"/>
323        <modelFacet
324            xsi:type="gmfgen:FeatureLabelModelFacet"
325            editPattern="">
326          <metaFeature
327              href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
328        </modelFacet>
329      </labels>
330    </topLevelNodes>
331    <links
332        visualID="3001"
333        editPartClassName="GeneralizationEditPart"
334        itemSemanticEditPolicyClassName="GeneralizationItemSemanticEditPolicy"
335        notationViewFactoryClassName="GeneralizationViewFactory">
336      <diagramRunTimeClass
337          href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
338      <elementType
339          xsi:type="gmfgen:MetamodelType"
340          editHelperClassName="GeneralizationEditHelper"/>
341      <viewmap
342          xsi:type="gmfgen:InnerClassViewmap"
343          className="SolidLineWDstClosedArrow"
344          classBody="&#xD;&#xA;&#xD;&#xA;/**&#xD;&#xA; * @generated&#xD;&#xA; */&#xD;&#xA;public class SolidLineWDstClosedArrow extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public SolidLineWDstClosedArrow() {&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;setTargetDecoration(createTargetDecoration());&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private org.eclipse.draw2d.PolygonDecoration createTargetDecoration() {&#xD;&#xA;org.eclipse.draw2d.PolygonDecoration df = new org.eclipse.draw2d.PolygonDecoration();&#xD;&#xA;// dispatchNext?&#xD;&#xA;&#x9;&#x9;df.setFill(true);&#xD;&#xA;&#x9;&#x9;df.setBackgroundColor(org.eclipse.draw2d.ColorConstants.white&#xD;&#xA;&#xD;&#xA;);&#xD;&#xA;&#x9;&#x9;org.eclipse.draw2d.geometry.PointList pl = new org.eclipse.draw2d.geometry.PointList();&#xD;&#xA;&#x9;&#x9;pl.addPoint(0, 0);&#xD;&#xA;&#x9;&#x9;pl.addPoint(-2, 2);&#xD;&#xA;&#x9;&#x9;pl.addPoint(-2, -2);&#xD;&#xA;&#x9;&#x9;pl.addPoint(0, 0);&#xD;&#xA;&#x9;&#x9;df.setTemplate(pl);&#xD;&#xA;&#x9;&#x9;df.setScale(getMapMode().DPtoLP(7), getMapMode().DPtoLP(3));&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;return df;&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;}&#xD;&#xA;&#x9;&#xD;&#xA;">
345        <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
346        <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
347      </viewmap>
348      <modelFacet
349          xsi:type="gmfgen:TypeLinkModelFacet">
350        <metaClass
351            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Generalization"/>
352        <containmentMetaFeature
353            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Classifier/generalization"/>
354        <childMetaFeature
355            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Classifier/generalization"/>
356        <targetMetaFeature
357            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Generalization/general"/>
358      </modelFacet>
359    </links>
360    <links
361        visualID="3002"
362        editPartClassName="ModelicaCompositionEditPart"
363        itemSemanticEditPolicyClassName="ModelicaCompositionItemSemanticEditPolicy"
364        notationViewFactoryClassName="ModelicaCompositionViewFactory">
365      <diagramRunTimeClass
366          href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
367      <elementType
368          xsi:type="gmfgen:MetamodelType"
369          editHelperClassName="ModelicaCompositionEditHelper"/>
370      <viewmap
371          xsi:type="gmfgen:InnerClassViewmap"
372          className="SolidLineWSrcDiamond"
373          classBody="&#xD;&#xA;&#xD;&#xA;/**&#xD;&#xA; * @generated&#xD;&#xA; */&#xD;&#xA;public class SolidLineWSrcDiamond extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public SolidLineWSrcDiamond() {&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;setSourceDecoration(createSourceDecoration());&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private org.eclipse.draw2d.PolygonDecoration createSourceDecoration() {&#xD;&#xA;org.eclipse.draw2d.PolygonDecoration df = new org.eclipse.draw2d.PolygonDecoration();&#xD;&#xA;// dispatchNext?&#xD;&#xA;&#x9;&#x9;df.setFill(true);&#xD;&#xA;&#x9;&#x9;org.eclipse.draw2d.geometry.PointList pl = new org.eclipse.draw2d.geometry.PointList();&#xD;&#xA;&#x9;&#x9;pl.addPoint(-1, 1);&#xD;&#xA;&#x9;&#x9;pl.addPoint(0, 0);&#xD;&#xA;&#x9;&#x9;pl.addPoint(-1, -1);&#xD;&#xA;&#x9;&#x9;pl.addPoint(-2, 0);&#xD;&#xA;&#x9;&#x9;pl.addPoint(-1, 1);&#xD;&#xA;&#x9;&#x9;df.setTemplate(pl);&#xD;&#xA;&#x9;&#x9;df.setScale(getMapMode().DPtoLP(7), getMapMode().DPtoLP(3));&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;return df;&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;}&#xD;&#xA;&#x9;&#xD;&#xA;">
374        <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
375        <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
376      </viewmap>
377      <modelFacet
378          xsi:type="gmfgen:TypeLinkModelFacet">
379        <metaClass
380            href="sysml.genmodel#//sysml/ModelicaComposition"/>
381        <containmentMetaFeature
382            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
383        <childMetaFeature
384            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
385        <sourceMetaFeature
386            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Association/endType"/>
387        <targetMetaFeature
388            href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Association/endType"/>
389      </modelFacet>
390      <labels
391          visualID="4003"
392          editPartClassName="ModelicaCompositionNameEditPart"
393          itemSemanticEditPolicyClassName="ModelicaCompositionNameItemSemanticEditPolicy"
394          notationViewFactoryClassName="ModelicaCompositionNameViewFactory">
395        <diagramRunTimeClass
396            href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
397        <viewmap
398            xsi:type="gmfgen:InnerClassViewmap"
399            className="LabelFigure"
400            classBody="&#xD;&#xA;&#xD;&#xA;/**&#xD;&#xA; * @generated&#xD;&#xA; */&#xD;&#xA;public class LabelFigure extends org.eclipse.gmf.runtime.draw2d.ui.figures.WrapLabel {&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public LabelFigure() {&#x9;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;this.setFont(&#xD;&#xA;&#x9;&#x9;&#x9;LABELFIGURE_FONT);&#xD;&#xA;&#x9;&#x9;createContents();&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private void createContents(){&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private boolean myUseLocalCoordinates = false;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;protected boolean useLocalCoordinates() {&#xD;&#xA;&#x9;&#x9;return myUseLocalCoordinates;&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;protected void setUseLocalCoordinates(boolean useLocalCoordinates) {&#xD;&#xA;&#x9;&#x9;myUseLocalCoordinates = useLocalCoordinates;&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;&#xD;&#xA;&#xD;&#xA;}&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public static final org.eclipse.swt.graphics.Font LABELFIGURE_FONT = new org.eclipse.swt.graphics.Font(org.eclipse.swt.widgets.Display.getCurrent(), &quot;Tahoma&quot;, 8, org.eclipse.swt.SWT.NORMAL);&#xD;&#xA;">
401          <attributes
402              xsi:type="gmfgen:StyleAttributes"
403              fixedFont="true"/>
404          <attributes
405              xsi:type="gmfgen:LabelOffsetAttributes"
406              y="40"/>
407          <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
408          <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
409        </viewmap>
410        <modelFacet
411            xsi:type="gmfgen:FeatureLabelModelFacet"
412            editPattern="">
413          <metaFeature
414              href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
415        </modelFacet>
416      </labels>
417    </links>
418    <compartments
419        visualID="5001"
420        editPartClassName="ModelicaClassParametersEditPart"
421        itemSemanticEditPolicyClassName="ModelicaClassParametersItemSemanticEditPolicy"
422        notationViewFactoryClassName="ModelicaClassParametersViewFactory"
423        childNodes="//@diagram/@childNodes.0"
424        canonicalEditPolicyClassName="ModelicaClassParametersCanonicalEditPolicy"
425        title="Parameters"
426        node="//@diagram/@topLevelNodes.0">
427      <diagramRunTimeClass
428          href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
429      <viewmap
430          xsi:type="gmfgen:InnerClassViewmap"
431          className="CompartmentFigure"
432          classBody="&#xD;&#xA;&#xD;&#xA;/**&#xD;&#xA; * @generated&#xD;&#xA; */&#xD;&#xA;public class CompartmentFigure extends org.eclipse.draw2d.LabeledContainer {&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public CompartmentFigure() {&#x9;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;this.setFont(&#xD;&#xA;&#x9;&#x9;&#x9;COMPARTMENTFIGURE_FONT);&#xD;&#xA;&#x9;&#x9;createContents();&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private void createContents(){&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private boolean myUseLocalCoordinates = false;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;protected boolean useLocalCoordinates() {&#xD;&#xA;&#x9;&#x9;return myUseLocalCoordinates;&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;protected void setUseLocalCoordinates(boolean useLocalCoordinates) {&#xD;&#xA;&#x9;&#x9;myUseLocalCoordinates = useLocalCoordinates;&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;&#xD;&#xA;&#xD;&#xA;}&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public static final org.eclipse.swt.graphics.Font COMPARTMENTFIGURE_FONT = new org.eclipse.swt.graphics.Font(org.eclipse.swt.widgets.Display.getCurrent(), &quot;Tahoma&quot;, 8, org.eclipse.swt.SWT.NORMAL);&#xD;&#xA;">
433        <attributes
434            xsi:type="gmfgen:StyleAttributes"
435            fixedFont="true"/>
436        <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
437        <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
438      </viewmap>
439    </compartments>
440    <compartments
441        visualID="5002"
442        editPartClassName="ModelicaClassPartsEditPart"
443        itemSemanticEditPolicyClassName="ModelicaClassPartsItemSemanticEditPolicy"
444        notationViewFactoryClassName="ModelicaClassPartsViewFactory"
445        childNodes="//@diagram/@childNodes.1"
446        canonicalEditPolicyClassName="ModelicaClassPartsCanonicalEditPolicy"
447        title="Parts"
448        node="//@diagram/@topLevelNodes.0">
449      <diagramRunTimeClass
450          href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
451      <viewmap
452          xsi:type="gmfgen:InnerClassViewmap"
453          className="CompartmentFigure"
454          classBody="&#xD;&#xA;&#xD;&#xA;/**&#xD;&#xA; * @generated&#xD;&#xA; */&#xD;&#xA;public class CompartmentFigure extends org.eclipse.draw2d.LabeledContainer {&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public CompartmentFigure() {&#x9;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;this.setFont(&#xD;&#xA;&#x9;&#x9;&#x9;COMPARTMENTFIGURE_FONT);&#xD;&#xA;&#x9;&#x9;createContents();&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private void createContents(){&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private boolean myUseLocalCoordinates = false;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;protected boolean useLocalCoordinates() {&#xD;&#xA;&#x9;&#x9;return myUseLocalCoordinates;&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;protected void setUseLocalCoordinates(boolean useLocalCoordinates) {&#xD;&#xA;&#x9;&#x9;myUseLocalCoordinates = useLocalCoordinates;&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;&#xD;&#xA;&#xD;&#xA;}&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public static final org.eclipse.swt.graphics.Font COMPARTMENTFIGURE_FONT = new org.eclipse.swt.graphics.Font(org.eclipse.swt.widgets.Display.getCurrent(), &quot;Tahoma&quot;, 8, org.eclipse.swt.SWT.NORMAL);&#xD;&#xA;">
455        <attributes
456            xsi:type="gmfgen:StyleAttributes"
457            fixedFont="true"/>
458        <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
459        <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
460      </viewmap>
461    </compartments>
462    <compartments
463        visualID="5003"
464        editPartClassName="ModelicaClassValuesEditPart"
465        itemSemanticEditPolicyClassName="ModelicaClassValuesItemSemanticEditPolicy"
466        notationViewFactoryClassName="ModelicaClassValuesViewFactory"
467        childNodes="//@diagram/@childNodes.2"
468        canonicalEditPolicyClassName="ModelicaClassValuesCanonicalEditPolicy"
469        title="Values"
470        canCollapse="false"
471        node="//@diagram/@topLevelNodes.0">
472      <diagramRunTimeClass
473          href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
474      <viewmap
475          xsi:type="gmfgen:InnerClassViewmap"
476          className="CompartmentFigure"
477          classBody="&#xD;&#xA;&#xD;&#xA;/**&#xD;&#xA; * @generated&#xD;&#xA; */&#xD;&#xA;public class CompartmentFigure extends org.eclipse.draw2d.LabeledContainer {&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public CompartmentFigure() {&#x9;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#xD;&#xA;&#x9;&#x9;&#xD;&#xA;&#x9;&#x9;this.setFont(&#xD;&#xA;&#x9;&#x9;&#x9;COMPARTMENTFIGURE_FONT);&#xD;&#xA;&#x9;&#x9;createContents();&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private void createContents(){&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;private boolean myUseLocalCoordinates = false;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;protected boolean useLocalCoordinates() {&#xD;&#xA;&#x9;&#x9;return myUseLocalCoordinates;&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;protected void setUseLocalCoordinates(boolean useLocalCoordinates) {&#xD;&#xA;&#x9;&#x9;myUseLocalCoordinates = useLocalCoordinates;&#xD;&#xA;&#x9;}&#xD;&#xA;&#x9;&#xD;&#xA;&#xD;&#xA;}&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public static final org.eclipse.swt.graphics.Font COMPARTMENTFIGURE_FONT = new org.eclipse.swt.graphics.Font(org.eclipse.swt.widgets.Display.getCurrent(), &quot;Tahoma&quot;, 8, org.eclipse.swt.SWT.NORMAL);&#xD;&#xA;">
478        <attributes
479            xsi:type="gmfgen:StyleAttributes"
480            fixedFont="true"/>
481        <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
482        <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
483      </viewmap>
484    </compartments>
485    <compartments
486        visualID="5004"
487        editPartClassName="EnumerationCompartmentEditPart"
488        itemSemanticEditPolicyClassName="EnumerationCompartmentItemSemanticEditPolicy"
489        notationViewFactoryClassName="EnumerationCompartmentViewFactory"
490        childNodes="//@diagram/@childNodes.3"
491        canonicalEditPolicyClassName="EnumerationCompartmentCanonicalEditPolicy"
492        title="Compartment"
493        node="//@diagram/@topLevelNodes.1">
494      <diagramRunTimeClass
495          href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
496      <viewmap
497          xsi:type="gmfgen:FigureViewmap"
498          figureQualifiedClassName="org.eclipse.draw2d.LabeledContainer">
499        <requiredPluginIDs>org.eclipse.draw2d</requiredPluginIDs>
500        <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
501      </viewmap>
502    </compartments>
503    <palette>
504      <groups
505          title="Nodes"
506          description="Diagram Nodes"
507          collapse="true">
508        <entries
509            xsi:type="gmfgen:ToolEntry"
510            title="Class"
511            description="Create Modelica Class"
512            genNodes="//@diagram/@topLevelNodes.0"/>
513        <entries
514            xsi:type="gmfgen:ToolEntry"
515            title="Model"
516            description="Create Model"/>
517        <entries
518            xsi:type="gmfgen:ToolEntry"
519            title="Block"
520            description="Create Block"/>
521        <entries
522            xsi:type="gmfgen:ToolEntry"
523            title="Connector"
524            description="Create Connector"/>
525        <entries
526            xsi:type="gmfgen:ToolEntry"
527            title="Record"
528            description="Create Record"/>
529        <entries
530            xsi:type="gmfgen:ToolEntry"
531            title="Function"
532            description="Create Function"/>
533        <entries
534            xsi:type="gmfgen:ToolEntry"
535            title="Enumeration"
536            description="Create Enumeration"
537            genNodes="//@diagram/@topLevelNodes.1"/>
538      </groups>
539      <groups
540          title="Links"
541          description="Diagram Links"
542          collapse="true">
543        <entries
544            xsi:type="gmfgen:ToolEntry"
545            title="Generalization"
546            description="Create Generalization Link"
547            genLinks="//@diagram/@links.0"/>
548        <entries
549            xsi:type="gmfgen:ToolEntry"
550            title="Composition"
551            description="Create Composition Link"
552            genLinks="//@diagram/@links.1"/>
553      </groups>
554    </palette>
555  </diagram>
556  <plugin
557      iD="org.modelica.uml.sysml.diagram"/>
558  <editor/>
559  <domainGenModel
560      href="sysml.genmodel#/"/>
561  <expressionProviders>
562    <providers
563        xsi:type="gmfgen:GenExpressionInterpreter"
564        expressions="//@diagram/@topLevelNodes.0/@modelFacet/@modelElementSelector //@diagram/@childNodes.0/@modelFacet/@modelElementInitializer/@initializers.0 //@diagram/@childNodes.0/@modelFacet/@modelElementInitializer/@initializers.1 //@diagram/@childNodes.0/@modelFacet/@modelElementInitializer/@initializers.2 //@diagram/@childNodes.1/@modelFacet/@modelElementInitializer/@initializers.0 //@diagram/@childNodes.1/@modelFacet/@modelElementInitializer/@initializers.1 //@diagram/@childNodes.1/@modelFacet/@modelElementInitializer/@initializers.2 //@diagram/@childNodes.2/@modelFacet/@modelElementInitializer/@initializers.0 //@diagram/@childNodes.2/@modelFacet/@modelElementInitializer/@initializers.1 //@diagram/@childNodes.2/@modelFacet/@modelElementInitializer/@initializers.2">
565      <requiredPluginIDs>org.eclipse.emf.ocl</requiredPluginIDs>
566      <requiredPluginIDs>org.eclipse.emf.query.ocl</requiredPluginIDs>
567    </providers>
568  </expressionProviders>
569</gmfgen:GenEditorGenerator>
Note: See TracBrowser for help on using the repository browser.