source: trunk/modelicaml/org.openmodelica.modelicaml.development.profile.update.helper/plugin.xml @ 1891

Last change on this file since 1891 was 1743, checked in by wschamai, 11 years ago

Initial: new plugin for applying and unapplying ModelicaML stereotypes based on what can be inferred from meta-classes and names of the given model.

File size: 2.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.4"?>
3<plugin>
4
5   <extension
6         point="org.eclipse.ui.commands">
7      <command
8            name="Apply ModelicaML Stereotypes"
9            id="org.openmodelica.modelicaml.development.profile.update.helper.commands.applyStereotypes">
10      </command>
11   </extension>
12   <extension
13         point="org.eclipse.ui.handlers">
14      <handler
15            commandId="org.openmodelica.modelicaml.development.profile.update.helper.commands.applyStereotypes"
16            class="org.openmodelica.modelicaml.development.profile.update.helper.handlers.ApplyModelicaMLStereotypes">
17      </handler>
18   </extension>
19   <!--
20   <extension
21         point="org.eclipse.ui.menus">
22      <menuContribution
23            locationURI="popup:org.eclipse.papyrus.views.modelexplorer.modelexplorer.popup">
24         <separator
25               name="org.openmodelica.modelicaml.development.profile.update.helper.separator1">
26         </separator>
27         <command
28               commandId="org.openmodelica.modelicaml.development.profile.update.helper.commands.applyStereotypes"
29               icon="icons/Profile.gif"
30               id="org.openmodelica.modelicaml.development.profile.update.helper.menus.sampleCommand"
31               label="Apply/Unapply ModelicaML Stereotypes"
32               mnemonic="S">
33            <visibleWhen
34                  checkEnabled="false">
35               <with
36                     variable="activeWorkbenchWindow.activePerspective">
37                  <equals
38                        value="org.openmodelica.modelicaml.perspective">
39                  </equals>
40               </with>
41            </visibleWhen>
42         </command>
43      </menuContribution>
44     
45      <menuContribution
46            locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
47         <toolbar
48               id="org.openmodelica.modelicaml.development.profile.update.helper.toolbars.sampleToolbar">
49            <command
50                  commandId="org.openmodelica.modelicaml.development.profile.update.helper.commands.applyStereotypes"
51                  icon="icons/Profile.gif"
52                  id="org.openmodelica.modelicaml.development.profile.update.helper.toolbars.sampleCommand"
53                  label="Apply/Unapply ModelicaML Stereotypes"
54                  tooltip="Apply/Unapply ModelicaML Stereotypes">
55            </command>
56         </toolbar>
57      </menuContribution>
58   </extension>
59    -->
60
61</plugin>
Note: See TracBrowser for help on using the repository browser.