Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 428371ff86bccfddc86b1db0a2219b6fa5f9fcd2 (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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
   <extension
         point="org.eclipse.emf.validation.constraintProviders">
      <category
            id="org.eclipse.papyrus.uml.profile.profilestructure"
            mandatory="true"
            name="Structuration of the profile"><![CDATA[Validate the UML profile]]>
      </category>
      <constraintProvider
            cache="false">
         <package
               namespaceUri="http://www.eclipse.org/uml2/4.0.0/UML">
         </package>
         <constraints
               categories="org.eclipse.papyrus.uml.profile.profilestructure">
            <constraint
                  class="org.eclipse.papyrus.uml.profile.constraints.PropertyHasNameConstraint"
                  id="com.cea.papyrus.profile.constraints.PropertyHasNameConstraintID"
                  isEnabledByDefault="true"
                  lang="Java"
                  mode="Batch"
                  name="%property_has_name.name"
                  severity="ERROR"
                  statusCode="0">
               <message>
                  %property_has_name.msg
               </message>
               <description>
                  %property_has_name.desc
               </description>
               <target
                     class="uml.Property">
               </target>
            </constraint>
            <constraint
                  class="org.eclipse.papyrus.uml.profile.constraints.PropertyHasUniqueNameConstraint"
                  id="com.cea.papyrus.profile.constraints.PropertyHasUniqueNameConstraintID"
                  lang="Java"
                  mode="Batch"
                  name="%property_has_unique_name.name"
                  severity="ERROR"
                  statusCode="0">
               <message>
                  %property_has_unique_name.msg
               </message>
               <description>
                  %property_has_unique_name.desc
               </description>
               <target
                     class="uml.Property">
               </target>
            </constraint>
            <constraint
                  class="org.eclipse.papyrus.uml.profile.constraints.PropertyHasTypeConstraint"
                  id="com.cea.papyrus.profile.constraints.PropertyHasTypeID"
                  lang="Java"
                  mode="Batch"
                  name="%property_has_type.name"
                  severity="ERROR"
                  statusCode="0">
               <message>
                  %property_has_type.msg
               </message>
               <description>
                  %property_has_type.desc
               </description>
               <target
                     class="uml.Property">
               </target>
            </constraint>
            <constraint
                  class="org.eclipse.papyrus.uml.profile.constraints.PropertyHasDefaultValueConstraint"
                  id="com.cea.papyrus.profile.constraints.PropertyHasDefaultID"
                  lang="Java"
                  mode="Batch"
                  name="%property_has_default.name"
                  severity="WARNING"
                  statusCode="0">
               <message>
                  %property_has_default.msg
               </message>
               <description>
                  %property_has_default.desc
               </description>
               <target
                     class="uml.Property">
               </target>
            </constraint>
            <constraint
                  class="org.eclipse.papyrus.uml.profile.constraints.PropertyMultiplicityLowerConstraint"
                  id="com.cea.papyrus.profile.constraints.PropertyMultiplicityLowerConstraintID"
                  lang="Java"
                  mode="Batch"
                  name="%property_multiplicity_lower.name"
                  severity="WARNING"
                  statusCode="0">
               <message>
                  %property_multiplicity_lower.msg
               </message>
               <description>
                  %property_multiplicity_lower.desc
               </description>
               <target
                     class="uml.Property">
               </target>
            </constraint>            
         </constraints>
      </constraintProvider>
   </extension>
   <extension
         point="org.eclipse.papyrus.infra.emf.readonly.readOnlyHandler">
      <readOnlyHandler
            class="org.eclipse.papyrus.uml.profile.readonly.AppliedProfileReadOnlyHandler"
            id="org.eclipse.papyrus.uml.profile.readonly.AppliedProfileReadOnlyHandler"
            priority="15">
      </readOnlyHandler>
   </extension>
   <extension
         point="org.eclipse.emf.validation.constraintBindings">
      <clientContext
            id="org.eclipse.papyrus.uml.profile.clientContext">
         <selector
               class="org.eclipse.papyrus.uml.profile.constraints.ClientSelector">
         </selector>
      </clientContext>
      <binding
            context="org.eclipse.papyrus.uml.profile.clientContext">
         <category
               ref="org.eclipse.papyrus.uml.profile.profilestructure">
         </category>
      </binding>
   </extension>
   <extension
         point="org.eclipse.papyrus.infra.services.labelprovider.labelProvider">
      <labelProvider
            priority="45"
            provider="org.eclipse.papyrus.uml.profile.providers.AppliedStereotypePropertyFilteredLabelProvider">
      </labelProvider>
   </extension>
   <extension
         point="org.eclipse.papyrus.infra.core.service">
      <service
            classname="org.eclipse.papyrus.uml.profile.service.ReapplyProfilesService"
            description="Automatically reapplies local profiles when they&apos;ve been redefined"
            priority="1"
            startKind="startup">
         <dependsOn
               serviceKeyRef="org.eclipse.papyrus.infra.core.services.EditorLifecycleManager">
         </dependsOn>
         <dependsOn
               serviceKeyRef="org.eclipse.papyrus.infra.core.resource.ModelSet">
         </dependsOn>
      </service>
   </extension>
   <extension
         point="org.eclipse.papyrus.infra.services.labelprovider.labelProvider">
      <labelProvider
            priority="45"
            provider="org.eclipse.papyrus.uml.profile.providers.ProfileDefinitionLabelProvider">
      </labelProvider>
   </extension>

</plugin>

Back to the top