Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 125a0ad1f9903060826a94dffc73f327ae5b643e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
<?xml version="1.0" encoding="ASCII"?>
<elementtypesconfigurations:ElementTypeSetConfiguration
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:applystereotypeadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/uml/applystereotypeadvice/1.0"
    xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.0"
    xmlns:invariantcontainerruleconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/invarianttypeconfiguration/containerruleconfiguration/1.0"
    xmlns:invariantstereotyperuleconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/invariantstereotyperule/1.0"
    xmlns:invarianttypeconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/invarianttype/1.0"
    xmlns:runtimevalueseditionadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/emf/runtimevalueseditionadviceconfiguration/1.0"
    xmlns:setvaluesadviceconfiguration="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/emf/setvaluesadviceconfiguration/1.0"
    xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"
    xmi:id="_ScP1oFYCEeS0WsAAtVmToA"
    name="Test element types"
    metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML">
  <elementTypeConfigurations
      xsi:type="invarianttypeconfiguration:InvariantTypeConfiguration"
      xmi:id="_JIwuQLg9EeS0cu6lbJ9jDQ"
      name="Component in specific package only"
      description=""
      identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.specificcomponent"
      hint="ElementTypes">
    <iconEntry
        xmi:id="_FW5wwLg-EeS0cu6lbJ9jDQ"
        iconPath="icons/full/obj16/add_obj.gif"
        bundleId="org.eclipse.ui"/>
    <specializedTypesID>org.eclipse.papyrus.uml.Component</specializedTypesID>
    <invariantRuleConfiguration
        xsi:type="invariantcontainerruleconfiguration:InvariantContainerRuleConfiguration"
        xmi:id="_N9YeYLg-EeS0cu6lbJ9jDQ">
      <permissions
          xmi:id="_Ow-egLg-EeS0cu6lbJ9jDQ"
          containerType="org.eclipse.papyrus.uml.Package"/>
      <permissions
          xmi:id="_QsZCULg-EeS0cu6lbJ9jDQ"
          containerType="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.packagewithcomponentsonly"
          permitted="true"
          strict="true"/>
    </invariantRuleConfiguration>
  </elementTypeConfigurations>
  <elementTypeConfigurations
      xsi:type="invarianttypeconfiguration:InvariantTypeConfiguration"
      xmi:id="_Zn1TULg-EeS0cu6lbJ9jDQ"
      name="PackageWithComponentsOnly"
      description="Package that can contain only components"
      identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.packagewithcomponentsonly"
      hint="ElementTypes">
    <specializedTypesID>org.eclipse.papyrus.uml.Package</specializedTypesID>
    <invariantRuleConfiguration
        xsi:type="invariantstereotyperuleconfiguration:InvariantStereotypeRuleConfiguration"
        xmi:id="_mzVEQLg-EeS0cu6lbJ9jDQ"
        stereotypeQualifiedName="ElementTypesTestsProfile::PackageWithComponents"
        requiredProfile=""/>
  </elementTypeConfigurations>
  <elementTypeConfigurations
      xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
      xmi:id="_mhW74My1EeS2aYvfnAB4ZA"
      name="Abstract Class Creation Action"
      description="Semantic element type to create abstract classes"
      identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.aspectabstractclass"
      hint="Abstract Class Creation Action">
    <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
    <matcherConfiguration
        xmi:id="_qI4JwNLXEeSAkKOodzTEYg"
        matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher"/>
  </elementTypeConfigurations>
  <elementTypeConfigurations
      xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
      xmi:id="_CSBmcMy2EeS2aYvfnAB4ZA"
      name="Class With Stereotype"
      description="Test elementTypeConfigurations"
      identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotype"
      hint="ElementElementTypeConfigurations">
    <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
    <matcherConfiguration
        xmi:id="_8kqIkNLXEeSAkKOodzTEYg"
        matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher"/>
  </elementTypeConfigurations>
  <elementTypeConfigurations
      xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
      xmi:id="_5vXW8My3EeS2aYvfnAB4ZA"
      name="Package With Stereotype And Renamed"
      description="Test elementTypeConfigurations"
      identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeRename"
      hint="ElementElementTypeConfigurations">
    <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
    <matcherConfiguration
        xmi:id="_8yABANLXEeSAkKOodzTEYg"
        matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher"/>
  </elementTypeConfigurations>
  <elementTypeConfigurations
      xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
      xmi:id="_HT1okMy4EeS2aYvfnAB4ZA"
      name="Package With Stereotype And Renamed"
      description="Test elementTypeConfigurations"
      identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeSetValues"
      hint="ElementElementTypeConfigurations">
    <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
    <matcherConfiguration
        xmi:id="_8-EHENLXEeSAkKOodzTEYg"
        matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher"/>
  </elementTypeConfigurations>
  <elementTypeConfigurations
      xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
      xmi:id="_mrg2EMy4EeS2aYvfnAB4ZA"
      name="Package With Stereotype And Renamed"
      description="Test elementTypeConfigurations"
      identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.abstractclassSimpleStereotype"
      hint="ElementElementTypeConfigurations">
    <specializedTypesID>org.eclipse.papyrus.infra.elementtypesconfigurations.tests.aspectabstractclass</specializedTypesID>
    <matcherConfiguration
        xmi:id="_9KgAkNLXEeSAkKOodzTEYg"
        matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher"/>
  </elementTypeConfigurations>
  <elementTypeConfigurations
      xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration"
      xmi:id="_SKcvUMzEEeSJ0sn3znt87w"
      name="Package With Stereotype And Renamed - View"
      description="Test elementTypeConfigurations"
      identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeRenameWithView"
      hint="ElementElementTypeConfigurations">
    <specializedTypesID>org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeRename</specializedTypesID>
    <matcherConfiguration
        xmi:id="_9WxiANLXEeSAkKOodzTEYg"
        matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher"/>
  </elementTypeConfigurations>
  <adviceBindingsConfigurations
      xsi:type="setvaluesadviceconfiguration:SetValuesAdviceConfiguration"
      xmi:id="_6Zq8QLg_EeS0cu6lbJ9jDQ"
      description="Aspect Semantic element type to create abstract classes"
      identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.aspectabstractclass.advice"
      target="_mhW74My1EeS2aYvfnAB4ZA">
    <featuresToSet
        xmi:id="_7FIUELg_EeS0cu6lbJ9jDQ"
        featureName="isAbstract">
      <value
          xsi:type="setvaluesadviceconfiguration:ConstantValue"
          xmi:id="_-d4_oLg_EeS0cu6lbJ9jDQ">
        <valueInstance
            xsi:type="uml:LiteralBoolean"
            xmi:id="__mUnULg_EeS0cu6lbJ9jDQ"
            value="true"/>
      </value>
    </featuresToSet>
  </adviceBindingsConfigurations>
  <adviceBindingsConfigurations
      xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration"
      xmi:id="_NEmxYLhAEeS0cu6lbJ9jDQ"
      identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotype.advice"
      target="_CSBmcMy2EeS2aYvfnAB4ZA">
    <stereotypesToApply
        xmi:id="_PuEG8LhAEeS0cu6lbJ9jDQ"
        stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeaturesToSet">
      <requiredProfiles>ElementTypesTestProfile</requiredProfiles>
    </stereotypesToApply>
  </adviceBindingsConfigurations>
  <adviceBindingsConfigurations
      xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration"
      xmi:id="_Z3bfkMy4EeS2aYvfnAB4ZA"
      identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeRename.advice"
      target="_5vXW8My3EeS2aYvfnAB4ZA">
    <stereotypesToApply
        xmi:id="_Z3bfkcy4EeS2aYvfnAB4ZA"
        stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeaturesToSet"
        updateName="true">
      <requiredProfiles>ElementTypesTestProfile</requiredProfiles>
    </stereotypesToApply>
  </adviceBindingsConfigurations>
  <adviceBindingsConfigurations
      xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration"
      xmi:id="_havkELhAEeS0cu6lbJ9jDQ"
      identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeSetValues.advice"
      target="_HT1okMy4EeS2aYvfnAB4ZA">
    <stereotypesToApply
        xmi:id="_vA53wLhAEeS0cu6lbJ9jDQ"
        stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeaturesToSet"
        updateName="true">
      <requiredProfiles>ElementTypesTestsProfile</requiredProfiles>
      <featuresToSet
          xmi:id="__E3qoLhAEeS0cu6lbJ9jDQ"
          featureName="stringFeature">
        <value
            xsi:type="applystereotypeadviceconfiguration:ConstantValue"
            xmi:id="_DFSzILhBEeS0cu6lbJ9jDQ">
          <valueInstance
              xsi:type="uml:LiteralString"
              xmi:id="_MDKGALhBEeS0cu6lbJ9jDQ"
              value="MyStringValue"/>
        </value>
      </featuresToSet>
      <featuresToSet
          xmi:id="_A8odgLhBEeS0cu6lbJ9jDQ"
          featureName="value">
        <value
            xsi:type="applystereotypeadviceconfiguration:ConstantValue"
            xmi:id="_Eb_gULhBEeS0cu6lbJ9jDQ">
          <valueInstance
              xsi:type="uml:LiteralInteger"
              xmi:id="_Gt4qcLhBEeS0cu6lbJ9jDQ"
              value="3"/>
        </value>
      </featuresToSet>
      <featuresToSet
          xmi:id="_BSTykLhBEeS0cu6lbJ9jDQ"
          featureName="boolean">
        <value
            xsi:type="applystereotypeadviceconfiguration:ConstantValue"
            xmi:id="_ExAHALhBEeS0cu6lbJ9jDQ">
          <valueInstance
              xsi:type="uml:LiteralBoolean"
              xmi:id="_QFRQkLhBEeS0cu6lbJ9jDQ"
              value="true"/>
        </value>
      </featuresToSet>
      <featuresToSet
          xmi:id="_Bm_pILhBEeS0cu6lbJ9jDQ"
          featureName="enumeration">
        <value
            xsi:type="applystereotypeadviceconfiguration:ConstantValue"
            xmi:id="_FFqIYLhBEeS0cu6lbJ9jDQ">
          <valueInstance
              xsi:type="uml:InstanceValue"
              xmi:id="_VToy4LhBEeS0cu6lbJ9jDQ"/>
        </value>
      </featuresToSet>
      <featuresToSet
          xmi:id="_B7jj4LhBEeS0cu6lbJ9jDQ"
          featureName="multiStrings">
        <value
            xsi:type="applystereotypeadviceconfiguration:ListValue"
            xmi:id="_rQRXYLhDEeS0cu6lbJ9jDQ"/>
      </featuresToSet>
    </stereotypesToApply>
  </adviceBindingsConfigurations>
  <adviceBindingsConfigurations
      xsi:type="applystereotypeadviceconfiguration:ApplyStereotypeAdviceConfiguration"
      xmi:id="_ls9AILhAEeS0cu6lbJ9jDQ"
      identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.abstractclassSimpleStereotype.advice"
      target="_mrg2EMy4EeS2aYvfnAB4ZA">
    <stereotypesToApply
        xmi:id="_u0-NMLhDEeS0cu6lbJ9jDQ"
        stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeatureToSet">
      <requiredProfiles>ElementTypesTestsProfile</requiredProfiles>
      <featuresToSet
          xmi:id="_6XspgLhDEeS0cu6lbJ9jDQ"
          featureName="stringFeature">
        <value
            xsi:type="applystereotypeadviceconfiguration:ConstantValue"
            xmi:id="_7YVAELhDEeS0cu6lbJ9jDQ">
          <valueInstance
              xsi:type="uml:LiteralString"
              xmi:id="_-BmvcLhDEeS0cu6lbJ9jDQ"
              name=""
              value="MyOtherValue"/>
        </value>
      </featuresToSet>
      <featuresToSet
          xmi:id="_Bj7msLhEEeS0cu6lbJ9jDQ"
          featureName="value">
        <value
            xsi:type="applystereotypeadviceconfiguration:ConstantValue"
            xmi:id="_Dd4x8LhEEeS0cu6lbJ9jDQ">
          <valueInstance
              xsi:type="uml:LiteralInteger"
              xmi:id="_HdrBQLhEEeS0cu6lbJ9jDQ"
              value="18"/>
        </value>
      </featuresToSet>
      <featuresToSet
          xmi:id="_CKkv8LhEEeS0cu6lbJ9jDQ"
          featureName="boolean">
        <value
            xsi:type="applystereotypeadviceconfiguration:ConstantValue"
            xmi:id="_It5TALhEEeS0cu6lbJ9jDQ">
          <valueInstance
              xsi:type="uml:LiteralBoolean"
              xmi:id="_JxtgcLhEEeS0cu6lbJ9jDQ"
              value="true"/>
        </value>
      </featuresToSet>
      <featuresToSet
          xmi:id="_CqCTILhEEeS0cu6lbJ9jDQ"
          featureName="enumeration">
        <value
            xsi:type="applystereotypeadviceconfiguration:ConstantValue"
            xmi:id="_LYi7YLhEEeS0cu6lbJ9jDQ">
          <valueInstance
              xsi:type="uml:InstanceValue"
              xmi:id="_NPf18LhEEeS0cu6lbJ9jDQ"
              name="">
            <instance
                href="ElementTypesTestsProfile.profile.uml#_T4hRALhHEeS0cu6lbJ9jDQ"/>
          </valueInstance>
        </value>
      </featuresToSet>
    </stereotypesToApply>
  </adviceBindingsConfigurations>
  <adviceBindingsConfigurations
      xsi:type="runtimevalueseditionadviceconfiguration:RuntimeValuesEditionAdviceConfiguration"
      xmi:id="_bmwRsMzEEeSJ0sn3znt87w"
      identifier="org.eclipse.papyrus.infra.elementtypesconfigurations.tests.classSimpleStereotypeRenameWithView.advice"
      target="_SKcvUMzEEeSJ0sn3znt87w">
    <viewsToDisplay
        xmi:id="_d7FEwMzEEeSJ0sn3znt87w">
      <view
          href="ElementTypesTestsProfile.ctx#//@views.0"/>
    </viewsToDisplay>
  </adviceBindingsConfigurations>
</elementtypesconfigurations:ElementTypeSetConfiguration>

Back to the top