root / tmp / org.txm.specificities.rcp / plugin.xml @ 932
Historique | Voir | Annoter | Télécharger (6,85 ko)
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
---|---|
2 |
<?eclipse version="3.4"?>
|
3 |
<plugin>
|
4 |
<extension
|
5 |
point="org.eclipse.ui.editors"> |
6 |
<editor
|
7 |
class="org.txm.specificities.rcp.editors.SpecificitiesSelectionEditor" |
8 |
default="false" |
9 |
icon="icons/functions/specificities_selection.png" |
10 |
id="org.txm.specificities.core.functions.SpecificitiesSelection" |
11 |
name="Specificities Chart"> |
12 |
</editor>
|
13 |
<editor
|
14 |
class="org.txm.specificities.rcp.editors.SpecificitiesEditor" |
15 |
default="false" |
16 |
icon="icons/functions/specificities.png" |
17 |
id="org.txm.specificities.rcp.editors.SpecificitiesEditor" |
18 |
name="%editor.name"> |
19 |
</editor>
|
20 |
</extension>
|
21 |
<extension
|
22 |
point="org.eclipse.ui.commands"> |
23 |
<command
|
24 |
categoryId="org.txm.rcp.category.txm" |
25 |
defaultHandler="org.txm.specificities.rcp.handlers.ComputeSpecifities" |
26 |
id="org.txm.specificities.rcp.handlers.ComputeSpecifities" |
27 |
name="%command.name" |
28 |
returnTypeId="org.txm.specificities.core.functions.Specificities"> |
29 |
</command>
|
30 |
<command
|
31 |
categoryId="org.txm.rcp.category.txm" |
32 |
defaultHandler="org.txm.specificities.rcp.handlers.ComputeSpecifictiesSelectionChart" |
33 |
id="org.txm.specificities.rcp.handlers.ComputeSpecifictiesSelectionChart" |
34 |
name="%command.name.0" |
35 |
returnTypeId="org.txm.specificities.core.functions.SpecificitiesSelection"> |
36 |
</command>
|
37 |
</extension>
|
38 |
<extension
|
39 |
point="org.eclipse.ui.menus"> |
40 |
<menuContribution
|
41 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.rcp.corporaview.tools.stat"> |
42 |
<command
|
43 |
commandId="org.txm.specificities.rcp.handlers.ComputeSpecifities" |
44 |
icon="icons/functions/specificities.png" |
45 |
style="push"> |
46 |
<visibleWhen
|
47 |
checkEnabled="false"> |
48 |
<or>
|
49 |
<reference
|
50 |
definitionId="OnePartitionSelected"> |
51 |
</reference>
|
52 |
<reference
|
53 |
definitionId="OneSubCorpusSelected"> |
54 |
</reference>
|
55 |
<reference
|
56 |
definitionId="OneLexicalTableSelected"> |
57 |
</reference>
|
58 |
</or>
|
59 |
</visibleWhen>
|
60 |
</command>
|
61 |
</menuContribution>
|
62 |
<menuContribution
|
63 |
locationURI="menu:menu.tools?after=menu.tools.separator.stats"> |
64 |
<command
|
65 |
commandId="org.txm.specificities.rcp.handlers.ComputeSpecifities" |
66 |
icon="icons/functions/specificities.png" |
67 |
style="push"> |
68 |
<visibleWhen
|
69 |
checkEnabled="false"> |
70 |
<or>
|
71 |
<reference
|
72 |
definitionId="OnePartitionSelected"> |
73 |
</reference>
|
74 |
<reference
|
75 |
definitionId="OneSubCorpusSelected"> |
76 |
</reference>
|
77 |
<reference
|
78 |
definitionId="OneLexicalTableSelected"> |
79 |
</reference>
|
80 |
</or>
|
81 |
</visibleWhen>
|
82 |
</command>
|
83 |
</menuContribution>
|
84 |
<menuContribution
|
85 |
allPopups="false" |
86 |
locationURI="toolbar:org.txm.rcp.toolbartools?after=org.txm.referencer.rcp.handlers.ComputeReferencer"> |
87 |
<command
|
88 |
commandId="org.txm.specificities.rcp.handlers.ComputeSpecifities" |
89 |
icon="icons/functions/specificities.png" |
90 |
style="push" |
91 |
tooltip="%command.tooltip"> |
92 |
<visibleWhen
|
93 |
checkEnabled="false"> |
94 |
<or>
|
95 |
<reference
|
96 |
definitionId="OneSubCorpusSelected"> |
97 |
</reference>
|
98 |
<reference
|
99 |
definitionId="OneLexicalTableSelected"> |
100 |
</reference>
|
101 |
</or>
|
102 |
</visibleWhen>
|
103 |
</command>
|
104 |
</menuContribution>
|
105 |
<menuContribution
|
106 |
allPopups="false" |
107 |
locationURI="toolbar:org.txm.rcp.toolbartools?after=ComputeIndexFromPartition"> |
108 |
<command
|
109 |
commandId="org.txm.specificities.rcp.handlers.ComputeSpecifities" |
110 |
icon="icons/functions/specificities.png" |
111 |
style="push" |
112 |
tooltip="%command.tooltip"> |
113 |
<visibleWhen
|
114 |
checkEnabled="false"> |
115 |
<or>
|
116 |
<reference
|
117 |
definitionId="OnePartitionSelected"> |
118 |
</reference>
|
119 |
</or>
|
120 |
</visibleWhen>
|
121 |
</command>
|
122 |
</menuContribution>
|
123 |
<menuContribution
|
124 |
locationURI="popup:org.txm.specificities.rcp.editors.SpecificitiesEditor"> |
125 |
<command
|
126 |
commandId="org.txm.specificities.rcp.handlers.ComputeSpecifictiesSelectionChart" |
127 |
icon="icons/functions/specificities_selection.png" |
128 |
style="push"> |
129 |
</command>
|
130 |
</menuContribution>
|
131 |
</extension>
|
132 |
<extension
|
133 |
point="org.eclipse.core.runtime.adapters"> |
134 |
<factory
|
135 |
adaptableType="org.txm.specificities.core.functions.Specificities" |
136 |
class="org.txm.specificities.rcp.adapters.SpecificitiesAdapterFactory"> |
137 |
<adapter
|
138 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
139 |
</adapter>
|
140 |
</factory>
|
141 |
<factory
|
142 |
adaptableType="org.txm.specificities.core.functions.SpecificitiesSelection" |
143 |
class="org.txm.specificities.rcp.adapters.SpecificitiesAdapterFactory"> |
144 |
<adapter
|
145 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
146 |
</adapter>
|
147 |
</factory>
|
148 |
</extension>
|
149 |
<extension
|
150 |
point="org.eclipse.ui.preferencePages"> |
151 |
<page
|
152 |
category="org.txm.rcp.preferences.UserPreferencePage" |
153 |
class="org.txm.specificities.rcp.preferences.SpecificitiesPreferencePage" |
154 |
id="org.txm.specificities.rcp.preferences.SpecificitiesPreferencePage" |
155 |
name="%page.name"> |
156 |
</page>
|
157 |
</extension>
|
158 |
<extension
|
159 |
point="org.eclipse.core.expressions.definitions"> |
160 |
<definition
|
161 |
id="OneSpecificitiesResultSelected"> |
162 |
<with
|
163 |
variable="selection"> |
164 |
<iterate
|
165 |
ifEmpty="false" |
166 |
operator="and"> |
167 |
<instanceof
|
168 |
value="org.txm.functions.specificities.SpecificitesResult"> |
169 |
</instanceof>
|
170 |
</iterate>
|
171 |
</with>
|
172 |
</definition>
|
173 |
<definition
|
174 |
id="SpecificitiesEditorActive"> |
175 |
<with
|
176 |
variable="activePartId"> |
177 |
<equals
|
178 |
value="org.txm.specificities.rcp.editors.SpecificitiesEditor"> |
179 |
</equals>
|
180 |
</with>
|
181 |
</definition>
|
182 |
</extension>
|
183 |
|
184 |
</plugin>
|