root / TXM / trunk / org.txm.querycooccurrences.rcp / plugin.xml @ 3388
Historique | Voir | Annoter | Télécharger (3,9 ko)
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
---|---|
2 |
<?eclipse version="3.4"?>
|
3 |
<plugin>
|
4 |
<extension
|
5 |
point="org.eclipse.core.runtime.adapters"> |
6 |
<factory
|
7 |
adaptableType="org.txm.functions.coocmatrix.QueryAutoCooccurrence" |
8 |
class="org.txm.rcp.AdapterFactory"> |
9 |
<adapter
|
10 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
11 |
</adapter>
|
12 |
<adapter
|
13 |
type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
14 |
</adapter>
|
15 |
</factory>
|
16 |
<factory
|
17 |
adaptableType="org.txm.functions.coocmatrix.QueryCooccurrence" |
18 |
class="org.txm.rcp.AdapterFactory"> |
19 |
<adapter
|
20 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
21 |
</adapter>
|
22 |
<adapter
|
23 |
type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
24 |
</adapter>
|
25 |
</factory>
|
26 |
</extension>
|
27 |
<extension
|
28 |
point="org.eclipse.ui.commands"> |
29 |
<command
|
30 |
categoryId="org.txm.rcp.category.txm" |
31 |
defaultHandler="org.txm.rcp.commands.function.ComputeQueryAutoCooccurrence" |
32 |
id="org.txm.rcp.commands.function.ComputeQueryAutoCooccurrence" |
33 |
name="%command.name.1"> |
34 |
</command>
|
35 |
<command
|
36 |
categoryId="org.txm.rcp.category.txm" |
37 |
defaultHandler="org.txm.rcp.commands.function.ComputeQueryCooccurrence" |
38 |
id="org.txm.rcp.commands.function.ComputeQueryCooccurrence" |
39 |
name="%command.name.2"> |
40 |
</command>
|
41 |
</extension>
|
42 |
<extension
|
43 |
point="org.eclipse.core.expressions.definitions"> |
44 |
<definition id="OneAutoCooccurrenceSelected"> |
45 |
<with variable="corporaSelection"> |
46 |
<iterate
|
47 |
ifEmpty="false" |
48 |
operator="and"> |
49 |
<instanceof
|
50 |
value="org.txm.functions.coocmatrix.QueryAutoCooccurrence"> |
51 |
</instanceof>
|
52 |
</iterate>
|
53 |
</with>
|
54 |
</definition>
|
55 |
<definition
|
56 |
id="OneQueryCooccurrenceSelected"> |
57 |
<with
|
58 |
variable="corporaSelection"> |
59 |
<iterate
|
60 |
ifEmpty="false" |
61 |
operator="and"> |
62 |
<instanceof
|
63 |
value="org.txm.functions.coocmatrix.QueryCooccurrence"> |
64 |
</instanceof>
|
65 |
</iterate>
|
66 |
</with>
|
67 |
</definition>
|
68 |
</extension>
|
69 |
<extension
|
70 |
point="org.eclipse.ui.menus"> |
71 |
<menuContribution
|
72 |
allPopups="true" |
73 |
locationURI="toolbar:org.eclipse.ui.main.toolbar"> |
74 |
<toolbar
|
75 |
id="org.txm.rcp.toolbartools"> |
76 |
<command
|
77 |
commandId="org.txm.rcp.commands.function.ComputeQueryAutoCooccurrence" |
78 |
icon="icons/functions/CooccurrencesP.png" |
79 |
style="push"> |
80 |
<visibleWhen
|
81 |
checkEnabled="false"> |
82 |
<or>
|
83 |
<reference
|
84 |
definitionId="OneQueryIndexSelected"> |
85 |
</reference>
|
86 |
<reference
|
87 |
definitionId="OneLexiconSelected"> |
88 |
</reference>
|
89 |
<reference
|
90 |
definitionId="OneIndexSelected"> |
91 |
</reference>
|
92 |
</or>
|
93 |
</visibleWhen>
|
94 |
</command>
|
95 |
<command
|
96 |
commandId="org.txm.rcp.commands.function.ComputeQueryCooccurrence" |
97 |
icon="icons/functions/QueryCooccurrences.png" |
98 |
style="push"> |
99 |
<visibleWhen
|
100 |
checkEnabled="false"> |
101 |
<or>
|
102 |
<reference
|
103 |
definitionId="OneCorpusSelected"> |
104 |
</reference>
|
105 |
</or>
|
106 |
</visibleWhen>
|
107 |
</command>
|
108 |
</toolbar>
|
109 |
</menuContribution>
|
110 |
</extension>
|
111 |
|
112 |
</plugin>
|