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

<!--
 <copyright>
 </copyright>

 $Id$
-->
<plugin>
 <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            locationURI="menu:org.eclipse.ui.main.menu?after=navigate">
         <menu
               id="org.eclipse.papyrus.ui.menu"
               label="Papyrus"
               tooltip="Papyrus Editor Menu">
            <visibleWhen>
               <with
                     variable="activeEditorId">
                  <equals
                        value="org.eclipse.papyrus.infra.core.papyrusEditor">
                  </equals>
               </with>
            </visibleWhen>
         </menu>
      </menuContribution>
  </extension>
  <extension
        point="org.eclipse.ui.menus">
      
        <menuContribution
              allPopups="false"
              locationURI="menu:org.eclipse.papyrus.ui.menu">
                <menu
            label="&amp;Quick Formatting..."
            tooltip="Quick formatting for labels">
         <command
               commandId="org.eclipse.papyrus.infra.ui.menu.commands.QuickFormattingUpperCaseCommand"
               label="&amp;Uppercase Quick Formatting"
               style="push">
            <parameter
                  name="org.eclipse.papyrus.infra.ui.menu.quickformatcommandParameter"
                  value="uppercase">
            </parameter>
      	 </command>
      	 <command
              commandId="org.eclipse.papyrus.infra.ui.menu.commands.QuickFormattingLowerCaseCommand"
              label="&amp;Lowercase Quick Formatting"
              style="push">
           <parameter
                 name="org.eclipse.papyrus.infra.ui.menu.quickformatcommandParameter"
                 value="lowercase">
           </parameter>
      	 </command>
        <visibleWhen
              checkEnabled="true">
        </visibleWhen>
      </menu>
        </menuContribution>
  </extension>   
<extension
      id="PapyrusQuickFormattingCommand" 
      name="QuickFormattingCommand"
      point="org.eclipse.ui.commands">
   <command
         categoryId="org.eclipse.papyrus.infra.ui.quickformat"
         description="The command to quickly format in uppercase the selected labels"
         id="org.eclipse.papyrus.infra.ui.menu.commands.QuickFormattingUpperCaseCommand"
         name="Upper Case Quick Format Command">
      <commandParameter
            id="org.eclipse.papyrus.infra.ui.menu.quickformatcommandParameter"
            name="name"
            optional="false">
      </commandParameter>
   </command>
   <command
         categoryId="org.eclipse.papyrus.infra.ui.quickformat"
         description="The command to quickly format in lowercase the selected labels"
         id="org.eclipse.papyrus.infra.ui.menu.commands.QuickFormattingLowerCaseCommand"
         name="Lower Case Quick Format Command">
      <commandParameter
            id="org.eclipse.papyrus.infra.ui.menu.quickformatcommandParameter"
            name="name"
            optional="false">
      </commandParameter>
   </command>
   <category
         description="quickformat routines"
         id="org.eclipse.papyrus.infra.ui.quickformat"
         name="quickformat routines">
   </category>
</extension>


</plugin>

Back to the top