Statistics
| Revision:

root / tmp / org.txm.oriflamms.rcp / plugin.xml @ 2802

History | View | Annotate | Download (4.8 kB)

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
      <category
8
            name="%category.name"
9
            id="Oriflamms.commands.category">
10
      </category>
11
      <command
12
            name="%command.name"
13
            categoryId="Oriflamms.commands.category"
14
            id="Oriflamms.commands.AbbreviationsAndLines">
15
      </command>
16
      <command
17
            categoryId="Oriflamms.commands.category"
18
            id="Oriflamms.commands.AbbreviationsAndSemantics"
19
            name="%command.name.0">
20
      </command>
21
      <command
22
            categoryId="Oriflamms.commands.category"
23
            id="Oriflamms.commands.Allographes"
24
            name="%command.name.1">
25
      </command>
26
      <command
27
            categoryId="Oriflamms.commands.category"
28
            id="Oriflamms.commands.Project2XTZ"
29
            name="%command.name.2">
30
      </command>
31
      <command
32
            categoryId="Oriflamms.commands.category"
33
            id="Oriflamms.commands.TEI2Project"
34
            name="%command.name.3">
35
      </command>
36
      <command
37
            categoryId="Oriflamms.commands.category"
38
            id="Oriflamms.commands.UpdateCorpusImages"
39
            name="%command.name.4">
40
      </command>
41
   </extension>
42
   <extension
43
         point="org.eclipse.ui.handlers">
44
      <handler
45
            commandId="Oriflamms.commands.AbbreviationsAndLines"
46
            class="org.txm.oriflamms.commands.ComputeAbbreviationsAndLines">
47
      </handler>
48
      <handler
49
            class="org.txm.oriflamms.commands.ComputeAbbreviationsAndSemantics"
50
            commandId="Oriflamms.commands.AbbreviationsAndSemantics">
51
      </handler>
52
      <handler
53
            class="org.txm.oriflamms.commands.ComputeAllographs"
54
            commandId="Oriflamms.commands.Allographes">
55
      </handler>
56
      <handler
57
            class="org.txm.oriflamms.commands.ComputeProject2XTZ"
58
            commandId="Oriflamms.commands.Project2XTZ">
59
      </handler>
60
      <handler
61
            class="org.txm.oriflamms.commands.ComputeTEI2Project"
62
            commandId="Oriflamms.commands.TEI2Project">
63
      </handler>
64
      <handler
65
            class="org.txm.oriflamms.commands.ComputeCorpusImagePath"
66
            commandId="Oriflamms.commands.UpdateCorpusImages">
67
      </handler>
68
   </extension>
69
   <extension
70
         point="org.eclipse.ui.menus">
71
      <menuContribution
72
            locationURI="menu:org.eclipse.ui.main.menu?after=menu.tools">
73
         <menu
74
               label="%menu.label"
75
               mnemonic="%menu.mnemonic"
76
               id="Oriflamms.menus.sampleMenu">
77
            <command
78
                  commandId="Oriflamms.commands.TEI2Project"
79
                  label="%command.label"
80
                  mnemonic="%command.mnemonic">
81
            </command>
82
            <command
83
                  commandId="Oriflamms.commands.Project2XTZ"
84
                  label="%command.label.0"
85
                  mnemonic="%command.mnemonic.0">
86
            </command>
87
            <command
88
                  commandId="Oriflamms.commands.UpdateCorpusImages"
89
                  label="%command.label.1"
90
                  mnemonic="%command.mnemonic.1">
91
               <visibleWhen
92
                     checkEnabled="false">
93
                  <reference
94
                        definitionId="OneMainCorpusSelected">
95
                  </reference>
96
               </visibleWhen>
97
            </command>
98
            <separator
99
                  name="Oriflamms.separator1"
100
                  visible="true">
101
            </separator>
102
            <command
103
                  commandId="Oriflamms.commands.AbbreviationsAndLines"
104
                  label="%command.label.2"
105
                  mnemonic="%command.mnemonic.2">
106
               <visibleWhen
107
                     checkEnabled="false">
108
                  <reference
109
                        definitionId="OneCorpusSelected">
110
                  </reference>
111
               </visibleWhen>
112
            </command>
113
            <command
114
                  commandId="Oriflamms.commands.AbbreviationsAndSemantics"
115
                  label="%command.label.3"
116
                  mnemonic="%command.mnemonic.3">
117
               <visibleWhen
118
                     checkEnabled="false">
119
                  <reference
120
                        definitionId="OneCorpusSelected">
121
                  </reference>
122
               </visibleWhen>
123
            </command>
124
            <command
125
                  commandId="Oriflamms.commands.Allographes"
126
                  label="%command.label.4"
127
                  mnemonic="%command.mnemonic.4">
128
               <visibleWhen
129
                     checkEnabled="false">
130
                  <reference
131
                        definitionId="OneCorpusSelected">
132
                  </reference>
133
               </visibleWhen>
134
            </command>
135
         </menu>
136
      </menuContribution>
137
   </extension>
138

    
139
</plugin>