Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: dcd66e2b8f588360357efa1a138b97e18a474089 (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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>

<!--
 <copyright>
 </copyright>r

 $Id$
-->

<plugin>
   <extension-point id="extendedElementTypeSet" name="ExtendedElementTypeSet Configuration Model" schema="schema/extendedElementTypeSet.exsd"/>
   <extension-point id="extendedElementTypeActionProvider" name="Extended Element Type Action Provider" schema="schema/extendedElementTypeActionProvider.exsd"/>
   <extension-point id="extendedTypeConfiguration" name="extended type configuration" schema="schema/extendedTypeConfiguration.exsd"/>
   <extension-point id="invariantRule" name="Invariant Rule Extension Point" schema="schema/invariantRule.exsd"/>
   <extension-point id="elementMatcherConfiguration" name="Element Macher Configuration" schema="schema/elementMatcherConfiguration.exsd"/>
   <extension-point id="aspectActionConfiguration" name="Aspect Action Configuration" schema="schema/aspectActionConfiguration.exsd"/>
   <extension point="org.eclipse.emf.ecore.generated_package">
      <!-- @generated InvariantSemanticTypeConfiguration -->
      <package
            uri="http://www.eclipse.org/papyrus/infra/extendedtypes/semantictype/invariant/1.0"
            class="org.eclipse.papyrus.infra.extendedtypes.invariantsemantictypeconfiguration.InvariantSemanticTypeConfigurationPackage"
            genModel="model/InvariantSemanticTypeConfiguration.genmodel"/>
   </extension>

   <extension point="org.eclipse.emf.ecore.extension_parser">
      <!-- @generated InvariantSemanticTypeConfiguration -->
      <parser
            type="invariantsemantictypeconfiguration"
            class="org.eclipse.papyrus.infra.extendedtypes.invariantsemantictypeconfiguration.util.InvariantSemanticTypeConfigurationResourceFactoryImpl"/>
   </extension>
   <extension point="org.eclipse.emf.ecore.generated_package">
      <!-- @generated ExtendedTypes -->
      <package
            uri="http://www.eclipse.org/papyrus/infra/extendedtypes/1.0"
            class="org.eclipse.papyrus.infra.extendedtypes.ExtendedtypesPackage"
            genModel="model/ExtendedTypes.genmodel"/>
   </extension>

   <extension point="org.eclipse.emf.ecore.extension_parser">
      <!-- @generated ExtendedTypes -->
      <parser
            type="extendedtypes"
            class="org.eclipse.papyrus.infra.extendedtypes.util.ExtendedtypesResourceFactoryImpl"/>
   </extension>
   <extension point="org.eclipse.emf.ecore.generated_package">
      <!-- @generated InvariantContainerConfiguration -->
      <package
            uri="http://www.eclipse.org/papyrus/infra/extendedtypes/semantictype/invariant/container/1.0"
            class="org.eclipse.papyrus.infra.extendedtypes.invariantcontainerconfiguration.InvariantContainerConfigurationPackage"
            genModel="model/InvariantContainerConfiguration.genmodel"/>
   </extension>

   <extension point="org.eclipse.emf.ecore.extension_parser">
      <!-- @generated InvariantContainerConfiguration -->
      <parser
            type="invariantcontainerconfiguration"
            class="org.eclipse.papyrus.infra.extendedtypes.invariantcontainerconfiguration.util.InvariantContainerConfigurationResourceFactoryImpl"/>
   </extension>
   
   <extension
         point="org.eclipse.papyrus.infra.extendedtypes.extendedTypeConfiguration">
      <configuration
            configurationClass="org.eclipse.papyrus.infra.extendedtypes.invariantsemantictypeconfiguration.InvariantSemanticTypeConfiguration"
            description="Configuration for Semantic element Types that have invariants (always same father, always have a type, etc.)"
            factoryClass="org.eclipse.papyrus.infra.extendedtypes.invariantsemantictypeconfiguration.InvariantElementTypeFactory"
            name="Invariant Semantic Type Configuration">
      </configuration>
   </extension>
   <extension
         point="org.eclipse.papyrus.infra.extendedtypes.invariantRule">
      <invariantRule
            configurationClass="org.eclipse.papyrus.infra.extendedtypes.invariantsemantictypeconfiguration.AndRule"
            editHelperAdvice="org.eclipse.papyrus.infra.extendedtypes.invariantsemantictypeconfiguration.AndRuleEditHelperAdvice">
      </invariantRule>
   </extension>
   <extension
         point="org.eclipse.papyrus.infra.extendedtypes.invariantRule">
      <invariantRule
            configurationClass="org.eclipse.papyrus.infra.extendedtypes.invariantsemantictypeconfiguration.OrRule"
            editHelperAdvice="org.eclipse.papyrus.infra.extendedtypes.invariantsemantictypeconfiguration.OrRuleEditHelperAdvice">
      </invariantRule>
   </extension>
   <extension
         point="org.eclipse.papyrus.infra.extendedtypes.invariantRule">
      <invariantRule
            configurationClass="org.eclipse.papyrus.infra.extendedtypes.invariantcontainerconfiguration.InvariantContainerConfiguration"
            editHelperAdvice="org.eclipse.papyrus.infra.extendedtypes.invariantcontainerconfiguration.InvariantContainerEditHelperAdvice"
            elementMatcher="org.eclipse.papyrus.infra.extendedtypes.invariantcontainerconfiguration.InvariantContainerMatcher"
            semanticTypeDescriptor="org.eclipse.papyrus.infra.extendedtypes.invariantcontainerconfiguration.InvariantContainerConfigurationContainerDescriptor">
      </invariantRule>
   </extension>
   <extension
         point="org.eclipse.papyrus.infra.core.service">
      <service
            classname="org.eclipse.papyrus.infra.extendedtypes.ExtendedTypeRegistryService"
            description="Service used to registrer extended element types in the registry"
            priority="50"
            startKind="startup">
      </service>
   </extension>
   
    <extension
         point="org.eclipse.gmf.runtime.emf.type.core.elementTypes">
      <metamodel
            nsURI="http://www.eclipse.org/uml2/5.0.0/UML">
         <adviceBinding
               class="org.eclipse.papyrus.infra.extendedtypes.advices.ExtendedTypesOwnerAdvice"
               id="org.eclipse.papyrus.uml.advice.ExtendedTypesOwnerAdvice"
               inheritance="all"
               typeId="org.eclipse.papyrus.uml.Element">
         </adviceBinding>
      </metamodel>
   </extension>
   <extension
         point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings">
      <binding
            context="org.eclipse.papyrus.infra.services.edit.TypeContext">
         <elementType
               pattern="org\.eclipse\.papyrus\.uml\.([^d]|$|d([^i]|$)|di([^a]|$)|dia([^g]|$)|diag([^r]|$)|diagr([^a]|$)|diagra([^m]|$))">
         </elementType>
         <advice
               ref="org.eclipse.papyrus.uml.advice.ExtendedTypesOwnerAdvice">
         </advice>
      </binding>
   </extension>
   
      <extension
         point="org.eclipse.ui.menus">
         <menuContribution
    allPopups="false"
    locationURI="popup:org.eclipse.ui.popup.any?after=additions">
	<command
       commandId="org.eclipse.papyrus.infra.extendedtypes.deploy"
       icon="icons/configuration.gif"
       style="push">
	    <visibleWhen
	          checkEnabled="false">
	       <with
	             variable="selection">
	          <iterate
	                ifEmpty="false"
	                operator="and">
	             <adapt
	                   type="org.eclipse.core.resources.IFile">
	                <or>
	                   <test
	                         property="org.eclipse.core.resources.extension"
	                         value="extendedtypes">
	                   </test>
	                </or>
	             </adapt>
	          </iterate>
	       </with>
	    </visibleWhen>
	</command>
 <command
       commandId="org.eclipse.papyrus.infra.extendedtypes.undeploy"
       icon="icons/configuration.gif"
       style="push">
    <visibleWhen
          checkEnabled="false">
       <with
             variable="selection">
          <iterate
                ifEmpty="false"
                operator="and">
             <adapt
                   type="org.eclipse.core.resources.IFile">
                <or>
                   <test
                         property="org.eclipse.core.resources.extension"
                         value="extendedtypes">
                   </test>
                </or>
             </adapt>
          </iterate>
       </with>
    </visibleWhen>
 </command>
</menuContribution>
   </extension>
   <extension
         point="org.eclipse.ui.commands">
      <command
            defaultHandler="org.eclipse.papyrus.infra.extendedtypes.handler.DeployExtendedTypeSetConfigurationHandler"
            id="org.eclipse.papyrus.infra.extendedtypes.deploy"
            name="Deploy Extended Types Set configuration">
      </command>
      <command
            defaultHandler="org.eclipse.papyrus.infra.extendedtypes.handler.UndeployExtendedTypeSetConfigurationHandler"
            id="org.eclipse.papyrus.infra.extendedtypes.undeploy"
            name="Disable Extended Types Set configuration">
      </command>
   </extension>
   <extension
         point="org.eclipse.papyrus.infra.extendedtypes.extendedTypeConfiguration">
      <configuration
            configurationClass="org.eclipse.papyrus.infra.extendedtypes.AspectSemanticTypeConfiguration"
            description="configuration for semantic element types that have aspect actions for creation"
            factoryClass="org.eclipse.papyrus.infra.extendedtypes.AspectSemanticTypeFactory"
            name="Aspect Semantic Type Configuration">
      </configuration>
   </extension>
   <extension
         point="org.eclipse.papyrus.infra.extendedtypes.extendedTypeConfiguration">
      <configuration
            configurationClass="org.eclipse.papyrus.infra.extendedtypes.AspectViewTypeConfiguration"
            description="configuration for view-only element types that have potential aspect actions for creation"
            factoryClass="org.eclipse.papyrus.infra.extendedtypes.AspectViewTypeFactory"
            name="Aspect View Type Configuration">
      </configuration>
   </extension>
  
</plugin>

Back to the top