Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 16ff3887aeec73e46ef2dc01714f1fd79085f813 (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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
	<extension
         point="org.eclipse.ui.menus">
    <menuContribution
          allPopups="false"
          locationURI="popup:org.eclipse.papyrus.dev.ui.menu">
       <command
             commandId="org.eclipse.papyrus.infra.dev.types.commands.migrateTypesConfigurations"
             id="org.eclipse.papyrus.infra.dev.types.menus.migrateTypesConfigurations"
             label="Migrate ElementTypes Configurations"
             mnemonic="S"
             style="push">
          <visibleWhen
                checkEnabled="false">
                <with
                   variable="selection">
                <iterate
                      ifEmpty="false"
                      operator="and">
                   <adapt
                         type="org.eclipse.core.resources.IFile">
                   </adapt>
                </iterate>
             </with>
          </visibleWhen>
       </command>
    </menuContribution>
    <menuContribution
          allPopups="false"
          locationURI="popup:org.eclipse.papyrus.dev.ui.menu">
       <command
             commandId="org.eclipse.papyrus.infra.dev.types.commands.generateElementTypesRegistry"
             id="org.eclipse.papyrus.infra.dev.types.menus.generateElementTypesRegistry"
             label="Generate ElementTypes Registry"
             mnemonic="G"
             style="push">
          <visibleWhen
                checkEnabled="false">
                <with
                   variable="selection">
                <iterate
                      ifEmpty="false"
                      operator="and">
                   <adapt
                         type="org.eclipse.core.resources.IFile">
                   </adapt>
                </iterate>
             </with>
          </visibleWhen>
       </command>
    </menuContribution>
    <menuContribution
          allPopups="false"
          locationURI="popup:org.eclipse.papyrus.dev.ui.menu">
       <command
             commandId="org.eclipse.papyrus.infra.dev.types.commands.migrateSpecializations"
             id="org.eclipse.papyrus.infra.dev.types.menus.migrateSpecializations"
             label="Migrate Specializations"
             mnemonic="S"
             style="push">
          <visibleWhen
                checkEnabled="false">
                <with
                   variable="selection">
                <iterate
                      ifEmpty="false"
                      operator="and">
                   <adapt
                         type="org.eclipse.core.resources.IFile">
                   </adapt>
                </iterate>
             </with>
          </visibleWhen>
       </command>
    </menuContribution>
          <menuContribution
          allPopups="false"
          locationURI="popup:org.eclipse.papyrus.dev.ui.menu">
       <command
             commandId="org.eclipse.papyrus.infra.dev.types.commands.elementTypeInfo"
             id="org.eclipse.papyrus.infra.dev.types.menus.elementTypeInfo"
             label="ElementType Info"
             mnemonic="E"
             style="push">
          <visibleWhen
                checkEnabled="false">
                <with
                   variable="selection">
                <iterate
                      ifEmpty="false"
                      operator="and">
                   <adapt
                         type="org.eclipse.emf.ecore.EObject">
                   </adapt>
                </iterate>
             </with>
          </visibleWhen>
       </command>
    </menuContribution>
	</extension>

	<extension
         point="org.eclipse.ui.commands">
  <command
        defaultHandler="org.eclipse.papyrus.dev.types.handlers.MigrateTypesConfigurations"
        id="org.eclipse.papyrus.infra.dev.types.commands.migrateTypesConfigurations"
        name="Migrate TypesConfigurations">
  </command>
      <command
        defaultHandler="org.eclipse.papyrus.dev.types.handlers.GenerateElementTypesRegistry"
        id="org.eclipse.papyrus.infra.dev.types.commands.generateElementTypesRegistry"
        name="Generate ElementTypes Registry">
  </command>
  <command
        defaultHandler="org.eclipse.papyrus.dev.types.handlers.ElementTypeInfo"
        id="org.eclipse.papyrus.infra.dev.types.commands.elementTypeInfo"
        name="ElementType Info">
  </command>
  <command
        defaultHandler="org.eclipse.papyrus.dev.types.handlers.MigrateSpecializations"
        id="org.eclipse.papyrus.infra.dev.types.commands.migrateSpecializations"
        name="Migrate Specializations">
  </command>
	</extension>
 <extension
       point="org.eclipse.ui.views">
    <view
          category="org.eclipse.papyrus.views.category"
          class="org.eclipse.papyrus.dev.types.view.RegistredElementTypesView"
          id="org.eclipse.papyrus.dev.types.registeredElementTypesView"
          name="viewRegisteredElementtype.name"
          restorable="true">
    </view>
 </extension>
 
  <extension
       point="org.eclipse.ui.views">
    <view
          category="org.eclipse.papyrus.views.category"
          class="org.eclipse.papyrus.dev.types.view.TypesConfigurationsListenerView"
          id="org.eclipse.papyrus.dev.types.typesConfigurationsListenerView"
          name="viewListenerElementtype.name"
          restorable="true">
    </view>
 </extension>

</plugin>

Back to the top