root / tmp / org.txm.progression.rcp / plugin.xml @ 3130
Historique | Voir | Annoter | Télécharger (7,03 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.progression.rcp.preferences.ProgressionPreferencePage" |
9 |
id="org.txm.progression.rcp.preferences.ProgressionPreferencePage" |
10 |
name="%page.name"> |
11 |
</page>
|
12 |
</extension>
|
13 |
<extension
|
14 |
point="org.eclipse.ui.commands"> |
15 |
<command
|
16 |
categoryId="org.txm.rcp.category.txm" |
17 |
defaultHandler="org.txm.progression.rcp.handlers.ComputeProgression" |
18 |
id="org.txm.progression.rcp.handlers.ComputeProgression" |
19 |
name="%command.name" |
20 |
returnTypeId="org.txm.progression.core.functions.Progression"> |
21 |
</command>
|
22 |
<command
|
23 |
id="org.txm.progression.rcp.commands.SendToProgression" |
24 |
name="%command.name.3"> |
25 |
<commandParameter
|
26 |
id="sendToTargetCommandId" |
27 |
name="%commandParameter.name" |
28 |
optional="true"> |
29 |
</commandParameter>
|
30 |
</command>
|
31 |
</extension>
|
32 |
<extension
|
33 |
point="org.eclipse.ui.menus"> |
34 |
<menuContribution
|
35 |
allPopups="false" |
36 |
locationURI="toolbar:org.txm.rcp.toolbartools?after=org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences"> |
37 |
<command
|
38 |
commandId="org.txm.progression.rcp.handlers.ComputeProgression" |
39 |
icon="icons/functions/progression.png" |
40 |
style="push" |
41 |
tooltip="%command.tooltip"> |
42 |
<visibleWhen
|
43 |
checkEnabled="false"> |
44 |
<or>
|
45 |
<reference
|
46 |
definitionId="OneCorpusSelected"> |
47 |
</reference>
|
48 |
</or>
|
49 |
</visibleWhen>
|
50 |
</command>
|
51 |
</menuContribution>
|
52 |
<menuContribution
|
53 |
locationURI="menu:menu.tools?after=org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences"> |
54 |
<command
|
55 |
commandId="org.txm.progression.rcp.handlers.ComputeProgression" |
56 |
icon="icons/functions/progression.png" |
57 |
style="push"> |
58 |
<visibleWhen
|
59 |
checkEnabled="false"> |
60 |
<or>
|
61 |
<reference
|
62 |
definitionId="OneCorpusSelected"> |
63 |
</reference>
|
64 |
</or>
|
65 |
</visibleWhen>
|
66 |
</command>
|
67 |
</menuContribution>
|
68 |
<menuContribution
|
69 |
allPopups="false" |
70 |
locationURI="popup:org.txm.rcp.views.corpora.CorporaView?after=org.txm.cooccurrence.rcp.handlers.ComputeCooccurrences"> |
71 |
<command
|
72 |
commandId="org.txm.progression.rcp.handlers.ComputeProgression" |
73 |
icon="icons/functions/progression.png" |
74 |
style="push" |
75 |
tooltip="%command.tooltip"> |
76 |
<visibleWhen
|
77 |
checkEnabled="false"> |
78 |
<or>
|
79 |
<reference
|
80 |
definitionId="OneCorpusSelected"> |
81 |
</reference>
|
82 |
</or>
|
83 |
</visibleWhen>
|
84 |
</command>
|
85 |
</menuContribution>
|
86 |
<menuContribution
|
87 |
locationURI="popup:org.txm.index.rcp.editors.IndexEditor"> |
88 |
<command
|
89 |
commandId="org.txm.progression.rcp.handlers.ComputeProgression" |
90 |
icon="icons/functions/progression.png" |
91 |
label="%command.name.3" |
92 |
style="push"> |
93 |
</command>
|
94 |
</menuContribution>
|
95 |
<menuContribution
|
96 |
locationURI="popup:org.txm.index.rcp.editors.PartitionIndexEditor"> |
97 |
<command
|
98 |
commandId="org.txm.progression.rcp.handlers.ComputeProgression" |
99 |
icon="icons/functions/progression.png" |
100 |
label="%command.name.3" |
101 |
style="push"> |
102 |
</command>
|
103 |
</menuContribution>
|
104 |
<menuContribution
|
105 |
locationURI="popup:org.txm.index.rcp.editors.LexiconEditor"> |
106 |
<command
|
107 |
commandId="org.txm.progression.rcp.handlers.ComputeProgression" |
108 |
icon="icons/functions/progression.png" |
109 |
label="%command.name.3" |
110 |
style="push"> |
111 |
</command>
|
112 |
</menuContribution>
|
113 |
<menuContribution
|
114 |
locationURI="popup:org.txm.internalview.rcp.editors.InternalViewEditor"> |
115 |
<command
|
116 |
commandId="org.txm.progression.rcp.handlers.ComputeProgression" |
117 |
icon="icons/functions/progression.png" |
118 |
label="%command.name.3" |
119 |
style="push"> |
120 |
</command>
|
121 |
</menuContribution>
|
122 |
</extension>
|
123 |
<extension
|
124 |
point="org.txm.chartsengine.eventcallback"> |
125 |
<EventCallBack
|
126 |
chartsEngineName="jfreechart_charts_engine" |
127 |
class="org.txm.progression.rcp.chartsengine.events.ProgressionEventCallBack" |
128 |
resultDataClass="org.txm.progression.core.functions.Progression"> |
129 |
</EventCallBack>
|
130 |
</extension>
|
131 |
<extension
|
132 |
point="org.eclipse.core.runtime.adapters"> |
133 |
<factory
|
134 |
adaptableType="org.txm.progression.core.functions.Progression" |
135 |
class="org.txm.progression.rcp.adapters.ProgressionAdapterFactory"> |
136 |
<adapter
|
137 |
type="org.eclipse.ui.model.IWorkbenchAdapter"> |
138 |
</adapter>
|
139 |
<adapter
|
140 |
type="org.eclipse.ui.model.IWorkbenchAdapter2"> |
141 |
</adapter>
|
142 |
</factory>
|
143 |
</extension>
|
144 |
<extension
|
145 |
point="org.eclipse.ui.editors"> |
146 |
<editor
|
147 |
class="org.txm.progression.rcp.editors.ProgressionEditor" |
148 |
default="false" |
149 |
icon="icons/functions/progression.png" |
150 |
id="org.txm.progression.core.functions.Progression" |
151 |
name="%editor.name"> |
152 |
</editor>
|
153 |
</extension>
|
154 |
<extension
|
155 |
point="org.eclipse.core.expressions.definitions"> |
156 |
<definition
|
157 |
id="OneProgressionSelected"> |
158 |
<with
|
159 |
variable="selection"> |
160 |
<iterate
|
161 |
ifEmpty="false" |
162 |
operator="and"> |
163 |
<instanceof
|
164 |
value="org.txm.progression.core.functions.Progression"> |
165 |
</instanceof>
|
166 |
</iterate>
|
167 |
</with>
|
168 |
</definition>
|
169 |
<definition
|
170 |
id="ProgressionEditorActive"> |
171 |
<with
|
172 |
variable="activePart"> |
173 |
<instanceof
|
174 |
value="org.txm.progression.rcp.editors.ProgressionEditor"> |
175 |
</instanceof>
|
176 |
</with>
|
177 |
</definition>
|
178 |
</extension>
|
179 |
<extension
|
180 |
point="org.eclipse.ui.handlers"> |
181 |
<handler
|
182 |
class="org.txm.progression.rcp.handlers.SendProgressionTo" |
183 |
commandId="org.txm.index.rcp.handlers.ComputeIndex"> |
184 |
<activeWhen>
|
185 |
<and>
|
186 |
<reference
|
187 |
definitionId="ProgressionEditorActive"> |
188 |
</reference>
|
189 |
<reference
|
190 |
definitionId="SendSelectionContextNotActive"> |
191 |
</reference>
|
192 |
</and>
|
193 |
</activeWhen>
|
194 |
</handler>
|
195 |
</extension>
|
196 |
|
197 |
</plugin>
|