Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: ea5423704e1cdc16e81cff2739369a2c7b570c38 (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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
   <extension-point id="org.eclipse.papyrus.infra.services.controlmode.customControlCommand" name="customControlCommand" schema="schema/customControlCommand.exsd"/>
   <extension
         point="org.eclipse.ui.commands">
      <command
            defaultHandler="org.eclipse.papyrus.infra.services.controlmode.action.PapyrusControlHandler"
            id="org.eclipse.papyrus.infra.services.controlmode.control"
            name="Control">
      </command>
      <command
            defaultHandler="org.eclipse.papyrus.infra.services.controlmode.action.PapyrusUncontrolHandler"
            id="org.eclipse.papyrus.infra.services.controlmode.uncontrol"
            name="Uncontrol">
      </command>
   </extension>
   <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            allPopups="false"
            locationURI="popup:org.eclipse.papyrus.views.modelexplorer.modelexplorer.popup">
         <command
               commandId="org.eclipse.papyrus.infra.services.controlmode.control"
               label="Control"
               style="push"
               tooltip="Split the model into an external model">
            <visibleWhen
                  checkEnabled="true">
            </visibleWhen>
         </command>
         <command
               commandId="org.eclipse.papyrus.infra.services.controlmode.uncontrol"
               label="Uncontrol"
               style="push"
               tooltip="Merge the external model with the current model">
            <visibleWhen
                  checkEnabled="true">
            </visibleWhen>
         </command>
      </menuContribution>
   </extension>

</plugin>

Back to the top