Statistics
| Revision:

root / tmp / org.txm.cql2lsa.rcp / plugin.xml @ 2213

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
          <command
8
                categoryId="org.txm.rcp.category.txm"
9
                defaultHandler="org.txm.rcp.commands.function.ComputeExpI"
10
                id="org.txm.rcp.commands.function.ComputeQueryIndexOfTexts"
11
                name="%command.name">
12
          </command>
13
          <command
14
                categoryId="org.txm.rcp.category.txm"
15
                defaultHandler="org.txm.rcp.commands.function.ComputeValuesOfQuery"
16
                id="org.txm.rcp.commands.function.ComputeValuesOfQuery"
17
                name="%command.name.0">
18
          </command>
19
          <command
20
                categoryId="org.txm.rcp.category.txm"
21
                defaultHandler="org.txm.rcp.commands.function.ComputeExpII"
22
                id="org.txm.rcp.commands.function.ComputeExpIIA"
23
                name="%command.name.1">
24
          </command>
25
          <command
26
                categoryId="org.txm.rcp.category.txm"
27
                defaultHandler="org.txm.rcp.commands.function.CreateContextSubcorpus"
28
                id="org.txm.rcp.commands.function.CreateQueriesContextSubcorpus"
29
                name="%command.name.2">
30
          </command>
31
        </extension>
32
        
33
  <extension
34
         point="org.eclipse.ui.menus">
35
      <menuContribution
36
            allPopups="false"
37
            locationURI="toolbar:org.txm.rcp.toolbartools?before=org.txm.rcp.separator1">
38
         <command
39
               commandId="org.txm.rcp.commands.function.ComputeQueryIndexOfTexts"
40
               label="%command.label"
41
               style="push">
42
            <visibleWhen
43
                  checkEnabled="false">
44
               <or>
45
                  <reference
46
                        definitionId="OneCorpusSelected">
47
                  </reference>
48
               </or>
49
            </visibleWhen>
50
         </command>
51
         <command
52
               commandId="org.txm.rcp.commands.function.ComputeValuesOfQuery"
53
               label="%command.label.0"
54
               style="push">
55
            <visibleWhen
56
                  checkEnabled="false">
57
               <or>
58
                  <reference
59
                        definitionId="OneCorpusSelected">
60
                  </reference>
61
               </or>
62
            </visibleWhen>
63
         </command>
64
         <command
65
               commandId="org.txm.rcp.commands.function.CreateQueriesContextSubcorpus"
66
               label="%command.label.1"
67
               style="push">
68
            <visibleWhen
69
                  checkEnabled="false">
70
               <or>
71
                  <reference
72
                        definitionId="OneCorpusSelected">
73
                  </reference>
74
               </or>
75
            </visibleWhen>
76
         </command>
77
         <command
78
               commandId="org.txm.rcp.commands.function.ComputeExpIIA"
79
               label="%command.label.2"
80
               style="push">
81
            <visibleWhen
82
                  checkEnabled="false">
83
               <or>
84
                  <reference
85
                        definitionId="OneCorpusSelected">
86
                  </reference>
87
               </or>
88
            </visibleWhen>
89
         </command>
90
      </menuContribution>
91
      <menuContribution
92
            allPopups="false"
93
            locationURI="popup:org.txm.rcp.views.CorporaView">
94
         <command
95
               commandId="org.txm.rcp.commands.function.ComputeQueryIndexOfTexts"
96
               icon="icons/functions/QueryIndexOfTexts.png"
97
               style="push">
98
            <visibleWhen
99
                  checkEnabled="false">
100
               <or>
101
                  <reference
102
                        definitionId="OneCorpusSelected">
103
                  </reference>
104
               </or>
105
            </visibleWhen>
106
         </command>
107
      </menuContribution>
108
      <menuContribution
109
            locationURI="menu:menu.tools">
110
         <command
111
               commandId="org.txm.rcp.commands.function.ComputeQueryIndexOfTexts"
112
               icon="icons/functions/QueryIndexOfTexts.png"
113
               style="push">
114
            <visibleWhen
115
                  checkEnabled="false">
116
               <or>
117
                  <reference
118
                        definitionId="OneCorpusSelected">
119
                  </reference>
120
               </or>
121
            </visibleWhen>
122
         </command>
123
      </menuContribution>
124
      <menuContribution
125
            locationURI="menu:menu.help.plugins">
126
         <command
127
               commandId="org.txm.rcp.commands.OpenBrowser"
128
               label="%command.label.3"
129
               style="push">
130
            <parameter
131
                  name="org.txm.rcp.commands.commandParameter2"
132
                  value="https://groupes.renater.fr/wiki/txm-users/public/extensions#CQL2LSA">
133
            </parameter>
134
         </command>
135
      </menuContribution>
136
   </extension>
137
</plugin>