Revision 499 tmp/org.txm.index.rcp/plugin.xml

plugin.xml (revision 499)
3 3
<plugin>
4 4
   <extension
5 5
         point="org.eclipse.ui.menus">
6
         
6 7
      <menuContribution
7 8
            locationURI="popup:org.txm.rcp.views.CorporaView">
9
                    <command
10
               commandId="org.txm.index.rcp.handlers.ComputeLexicon"
11
               icon="icons/lexicon.png"
12
               style="push">
13
            <visibleWhen
14
                  checkEnabled="false">
15
               <reference
16
                     definitionId="OneCorpusSelected">
17
               </reference>
18
            </visibleWhen>
19
         </command>
8 20
         <command
9 21
               commandId="org.txm.index.rcp.handlers.ComputeIndex"
10 22
               icon="icons/index.png"
......
24 36
      </menuContribution>
25 37
      <menuContribution
26 38
            locationURI="menu:menu.tools">
39
                    <command
40
               commandId="org.txm.index.rcp.handlers.ComputeLexicon"
41
               icon="icons/lexicon.png"
42
               style="push">
43
            <visibleWhen
44
                  checkEnabled="false">
45
               <reference
46
                     definitionId="OneCorpusSelected">
47
               </reference>
48
            </visibleWhen>
49
         </command>
27 50
         <command
28 51
               commandId="org.txm.index.rcp.handlers.ComputeIndex"
29 52
               icon="icons/index.png"
......
44 67
      <menuContribution
45 68
            allPopups="false"
46 69
            locationURI="toolbar:org.txm.rcp.toolbartools">
70
                    <command
71
               commandId="org.txm.index.rcp.handlers.ComputeLexicon"
72
               icon="icons/lexicon.png"
73
               style="push">
74
            <visibleWhen
75
                  checkEnabled="false">
76
               <reference
77
                     definitionId="OneCorpusSelected">
78
               </reference>
79
            </visibleWhen>
80
         </command>
47 81
         <command
48 82
               commandId="org.txm.index.rcp.handlers.ComputeIndex"
49 83
               icon="icons/index.png"
......
72 106
            id="org.txm.index.rcp.editors.IndexEditor"
73 107
            name="%editor.name">
74 108
      </editor>
109
      <editor
110
            class="org.txm.index.rcp.editors.DictionnaryEditor"
111
            default="false"
112
            icon="icons/lexicon.png"
113
            id="org.txm.index.rcp.editors.DictionnaryEditor"
114
            name="Lexicon">
115
      </editor>
75 116
   </extension>
76 117
   <extension
77 118
         point="org.eclipse.core.runtime.adapters">
......
85 126
   </extension>
86 127
   <extension
87 128
         point="org.eclipse.ui.commands">
129
         
88 130
      <command
89 131
            categoryId="org.txm.rcp.category.txm"
90 132
            defaultHandler="org.txm.index.rcp.handlers.ComputeIndex"
91 133
            id="org.txm.index.rcp.handlers.ComputeIndex"
92 134
            name="%command.name">
93 135
      </command>
136
      <command
137
            categoryId="org.txm.rcp.category.txm"
138
            defaultHandler="org.txm.index.rcp.handlers.ComputeLexicon"
139
            id="org.txm.index.rcp.handlers.ComputeLexicon"
140
            name="ComputeLexicon">
141
      </command>
94 142
   </extension>
95 143
   <extension
96 144
         point="org.eclipse.core.expressions.definitions">

Also available in: Unified diff