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

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