root / TXM / trunk / org.txm.lexicaltable.rcp / plugin.xml @ 3382
Historique | Voir | Annoter | Télécharger (9,02 ko)
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
---|---|
2 |
<?eclipse version="3.4"?>
|
3 |
<plugin>
|
4 |
<extension
|
5 |
point="org.eclipse.ui.preferencePages"> |
6 |
<page
|
7 |
category="org.txm.rcp.preferences.UserPreferencePage" |
8 |
class="org.txm.lexicaltable.rcp.preferences.LexicalTablePreferencePage" |
9 |
id="org.txm.lexicaltable.rcp.preferences.LexicalTablePreferencePage" |
10 |
name="%page.name"> |
11 |
</page>
|
12 |
</extension>
|
13 |
<extension
|
14 |
point="org.eclipse.ui.menus"> |
15 |
<menuContribution
|
16 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.corpus.manage"> |
17 |
<command
|
18 |
commandId="org.txm.lexicaltable.rcp.handlers.ComputeLexicalTable" |
19 |
icon="icons/lexicaltable.png" |
20 |
style="push"> |
21 |
<visibleWhen
|
22 |
checkEnabled="false"> |
23 |
<or>
|
24 |
<reference
|
25 |
definitionId="OnePartitionSelected"> |
26 |
</reference>
|
27 |
<reference
|
28 |
definitionId="OnePartitionIndexSelected"> |
29 |
</reference>
|
30 |
<reference
|
31 |
definitionId="OneLexicalTableAbleSelected"> |
32 |
</reference>
|
33 |
</or>
|
34 |
</visibleWhen>
|
35 |
</command>
|
36 |
<command
|
37 |
commandId="org.txm.lexicaltable.rcp.handlers.ImportTable" |
38 |
icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/import_wiz.png" |
39 |
style="push"> |
40 |
<visibleWhen
|
41 |
checkEnabled="false"> |
42 |
<reference
|
43 |
definitionId="OneLexicalTableSelected"> |
44 |
</reference>
|
45 |
</visibleWhen>
|
46 |
</command>
|
47 |
</menuContribution>
|
48 |
<menuContribution
|
49 |
locationURI="menu:menu.corpus"> |
50 |
<command
|
51 |
commandId="org.txm.lexicaltable.rcp.handlers.ComputeLexicalTable" |
52 |
icon="icons/lexicaltable.png" |
53 |
style="push"> |
54 |
<visibleWhen
|
55 |
checkEnabled="false"> |
56 |
<or>
|
57 |
<reference
|
58 |
definitionId="OnePartitionSelected"> |
59 |
</reference>
|
60 |
<reference
|
61 |
definitionId="OnePartitionIndexSelected"> |
62 |
</reference>
|
63 |
<reference
|
64 |
definitionId="OneLexicalTableAbleSelected"> |
65 |
</reference>
|
66 |
</or>
|
67 |
</visibleWhen>
|
68 |
</command>
|
69 |
<command
|
70 |
commandId="org.txm.lexicaltable.rcp.handlers.ImportTable" |
71 |
icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/import_wiz.png" |
72 |
style="push"> |
73 |
<visibleWhen
|
74 |
checkEnabled="false"> |
75 |
<reference
|
76 |
definitionId="OneLexicalTableSelected"> |
77 |
</reference>
|
78 |
</visibleWhen>
|
79 |
</command>
|
80 |
</menuContribution>
|
81 |
<menuContribution
|
82 |
allPopups="false" |
83 |
locationURI="toolbar:org.txm.rcp.toolbartools"> |
84 |
<command
|
85 |
commandId="org.txm.lexicaltable.rcp.handlers.ComputeLexicalTable" |
86 |
icon="icons/lexicaltable.png" |
87 |
style="push"> |
88 |
<visibleWhen
|
89 |
checkEnabled="false"> |
90 |
<or>
|
91 |
<reference
|
92 |
definitionId="OnePartitionIndexSelected"> |
93 |
</reference>
|
94 |
<reference
|
95 |
definitionId="OneLexicalTableAbleSelected"> |
96 |
</reference>
|
97 |
</or>
|
98 |
</visibleWhen>
|
99 |
</command>
|
100 |
<command
|
101 |
commandId="org.txm.lexicaltable.rcp.handlers.ImportTable" |
102 |
icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/import_wiz.png" |
103 |
style="push"> |
104 |
<visibleWhen
|
105 |
checkEnabled="false"> |
106 |
<reference
|
107 |
definitionId="OneLexicalTableSelected"> |
108 |
</reference>
|
109 |
</visibleWhen>
|
110 |
</command>
|
111 |
</menuContribution>
|
112 |
<menuContribution
|
113 |
allPopups="false" |
114 |
locationURI="toolbar:org.txm.rcp.toolbartools?after=org.txm.partition.rcp.handlers.ComputePartitionDimensionsBarChart"> |
115 |
<command
|
116 |
commandId="org.txm.lexicaltable.rcp.handlers.ComputeLexicalTable" |
117 |
icon="icons/lexicaltable.png" |
118 |
id="ComputeLexicalTableFromPartition" |
119 |
style="push"> |
120 |
<visibleWhen
|
121 |
checkEnabled="false"> |
122 |
<or>
|
123 |
<reference
|
124 |
definitionId="OnePartitionSelected"> |
125 |
</reference>
|
126 |
</or>
|
127 |
</visibleWhen>
|
128 |
</command>
|
129 |
</menuContribution>
|
130 |
<menuContribution
|
131 |
locationURI="popup:org.txm.lexicaltable.rcp.editors.LexicalTableEditor"> |
132 |
<command
|
133 |
commandId="org.txm.lexicaltable.rcp.handlers.CopyLines" |
134 |
icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/copy_edit.png" |
135 |
label="Copy" |
136 |
style="push"> |
137 |
</command>
|
138 |
<command
|
139 |
commandId="org.txm.lexicaltable.rcp.handlers.DeleteLines" |
140 |
style="push"> |
141 |
</command>
|
142 |
<command
|
143 |
commandId="org.txm.lexicaltable.rcp.handlers.MergeLines" |
144 |
style="push"> |
145 |
</command>
|
146 |
<separator
|
147 |
name="org.txm.rcp.LT.separator1" |
148 |
visible="true"> |
149 |
</separator>
|
150 |
<command
|
151 |
commandId="org.txm.lexicaltable.rcp.handlers.ImportTable" |
152 |
icon="platform:/plugin/org.eclipse.ui/icons/full/etool16/import_wiz.png" |
153 |
style="push"> |
154 |
</command>
|
155 |
</menuContribution>
|
156 |
|
157 |
</extension>
|
158 |
<extension
|
159 |
point="org.eclipse.ui.commands"> |
160 |
<command
|
161 |
categoryId="org.txm.rcp.category.txm" |
162 |
defaultHandler="org.txm.lexicaltable.rcp.handlers.ComputeLexicalTable" |
163 |
id="org.txm.lexicaltable.rcp.handlers.ComputeLexicalTable" |
164 |
name="%command.name" |
165 |
returnTypeId="org.txm.lexicaltable.core.functions.LexicalTable"> |
166 |
</command>
|
167 |
<command
|
168 |
categoryId="org.txm.rcp.category.txm" |
169 |
defaultHandler="org.txm.lexicaltable.rcp.handlers.ComputeInterTextDistance" |
170 |
id="org.txm.lexicaltable.rcp.handlers.ComputeInterTextDistance" |
171 |
name="%command.name.0"> |
172 |
</command>
|
173 |
<command
|
174 |
defaultHandler="org.txm.lexicaltable.rcp.handlers.DeleteLines" |
175 |
id="org.txm.lexicaltable.rcp.handlers.DeleteLines" |
176 |
name="%command.name.37"> |
177 |
</command>
|
178 |
|
179 |
<command
|
180 |
defaultHandler="org.txm.lexicaltable.rcp.handlers.MergeLines" |
181 |
id="org.txm.lexicaltable.rcp.handlers.MergeLines" |
182 |
name="%command.name.38"> |
183 |
</command>
|
184 |
<command
|
185 |
defaultHandler="org.txm.lexicaltable.rcp.handlers.ImportTable" |
186 |
id="org.txm.lexicaltable.rcp.handlers.ImportTable" |
187 |
name="%command.name.40"> |
188 |
</command>
|
189 |
<command
|
190 |
defaultHandler="org.txm.lexicaltable.rcp.handlers.CopyLines" |
191 |
id="org.txm.lexicaltable.rcp.handlers.CopyLines" |
192 |
name="Copy"> |
193 |
</command>
|
194 |
</extension>
|
195 |
<extension
|
196 |
point="org.eclipse.ui.editors"> |
197 |
<editor
|
198 |
class="org.txm.lexicaltable.rcp.editors.LexicalTableEditor" |
199 |
default="false" |
200 |
icon="icons/lexicaltable.png" |
201 |
id="org.txm.lexicaltable.rcp.editors.LexicalTableEditor" |
202 |
name="%editor.name"> |
203 |
</editor>
|
204 |
</extension>
|
205 |
<extension
|
206 |
point="org.eclipse.core.runtime.adapters"> |
207 |
<factory
|
208 |
adaptableType="org.txm.lexicaltable.core.functions.LexicalTable" |
209 |
class="org.txm.lexicaltable.rcp.adapters.LexicalTableAdapterFactory"> |
210 |
<adapter
|
211 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
212 |
</adapter>
|
213 |
<adapter
|
214 |
type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
215 |
</adapter>
|
216 |
</factory>
|
217 |
<factory
|
218 |
adaptableType="org.txm.functions.intertextualdistance.InterTextDistance" |
219 |
class="org.txm.lexicaltable.rcp.adapters.InterTextDistanceAdapterFactory"> |
220 |
<adapter
|
221 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
222 |
</adapter>
|
223 |
<adapter
|
224 |
type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
225 |
</adapter>
|
226 |
</factory>
|
227 |
</extension>
|
228 |
<extension
|
229 |
point="org.eclipse.core.expressions.definitions"> |
230 |
<definition
|
231 |
id="OneLexicalTableSelected"> |
232 |
<with
|
233 |
variable="corporaSelection"> |
234 |
<iterate
|
235 |
ifEmpty="false" |
236 |
operator="and"> |
237 |
<instanceof
|
238 |
value="org.txm.lexicaltable.core.functions.LexicalTable"> |
239 |
</instanceof>
|
240 |
</iterate>
|
241 |
</with>
|
242 |
</definition>
|
243 |
</extension>
|
244 |
|
245 |
</plugin>
|