root / tmp / org.txm.chartsengine.rcp / plugin.xml @ 2801
History | View | Annotate | Download (9 kB)
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
---|---|
2 |
<?eclipse version="3.4"?>
|
3 |
<plugin>
|
4 |
<extension-point id="org.txm.rcp.swtchartscomponentsprovider" name="%extension-point.name" schema="schema/org.txm.rcp.swtchartscomponentsprovider.exsd"/> |
5 |
<extension-point id="org.txm.chartsengine.eventcallback" name="%extension-point.name.0" schema="schema/org.txm.chartsengine.eventcallback.exsd"/> |
6 |
<extension
|
7 |
point="org.eclipse.ui.preferencePages"> |
8 |
<page
|
9 |
category="org.txm.rcp.preferences.AdvancePreferencePage" |
10 |
class="org.txm.chartsengine.rcp.preferences.ChartsEnginePreferencePage" |
11 |
id="ChartsEnginePreferencePage" |
12 |
name="%page.name"> |
13 |
</page>
|
14 |
</extension>
|
15 |
<extension
|
16 |
point="org.eclipse.ui.bindings"> |
17 |
<key
|
18 |
commandId="ResetChartView" |
19 |
contextId="org.txm.chartsengine.rcp.editors.ChartEditor" |
20 |
schemeId="org.txm.rcp.scheme" |
21 |
sequence="M1+R"> |
22 |
</key>
|
23 |
<key
|
24 |
commandId="ExportChartEditorView" |
25 |
contextId="org.txm.chartsengine.rcp.editors.ChartEditor" |
26 |
schemeId="org.txm.rcp.scheme" |
27 |
sequence="M1+E"> |
28 |
</key>
|
29 |
<key
|
30 |
commandId="CopyChartViewToClipboard" |
31 |
contextId="org.txm.chartsengine.rcp.editors.ChartEditor" |
32 |
schemeId="org.txm.rcp.scheme" |
33 |
sequence="M1+C"> |
34 |
</key>
|
35 |
</extension>
|
36 |
<extension
|
37 |
point="org.eclipse.ui.editors"> |
38 |
<editor
|
39 |
class="org.txm.chartsengine.rcp.editors.ChartEditor" |
40 |
default="false" |
41 |
id="org.txm.chartsengine.rcp.editors.ChartEditor" |
42 |
name="%editor.name"> |
43 |
</editor>
|
44 |
</extension>
|
45 |
<extension
|
46 |
point="org.eclipse.ui.menus"> |
47 |
<menuContribution
|
48 |
allPopups="false" |
49 |
locationURI="toolbar:ChartEditorToolBar"> |
50 |
<command
|
51 |
commandId="ExportChartEditorView" |
52 |
icon="icons/export_view.png" |
53 |
id="exportChartEditorView" |
54 |
style="push"> |
55 |
</command>
|
56 |
<command
|
57 |
commandId="CopyChartViewToClipboard" |
58 |
icon="icons/copy_view.gif" |
59 |
id="copyChartViewToClipboard" |
60 |
style="push"> |
61 |
</command>
|
62 |
<separator
|
63 |
name="org.txm.chartsengine.rcp.separator1" |
64 |
visible="true"> |
65 |
</separator>
|
66 |
<command
|
67 |
commandId="ResetChartView" |
68 |
icon="icons/reset_view.png" |
69 |
style="push"> |
70 |
</command>
|
71 |
<command
|
72 |
commandId="ZoomInChartView" |
73 |
icon="icons/magnifier_zoom_in.png" |
74 |
style="push"> |
75 |
</command>
|
76 |
<command
|
77 |
commandId="ZoomOutChartView" |
78 |
icon="icons/magifier_zoom_out.png" |
79 |
style="push"> |
80 |
</command>
|
81 |
<command
|
82 |
commandId="MoveUpChartView" |
83 |
icon="icons/arrow_up.png" |
84 |
style="push"> |
85 |
</command>
|
86 |
<command
|
87 |
commandId="MoveDownChartView" |
88 |
icon="icons/arrow_down.png" |
89 |
style="push"> |
90 |
</command>
|
91 |
<command
|
92 |
commandId="MoveLeftChartView" |
93 |
icon="icons/arrow_left.png" |
94 |
style="push"> |
95 |
</command>
|
96 |
<command
|
97 |
commandId="MoveRightChartView" |
98 |
icon="icons/arrow_right.png" |
99 |
style="push"> |
100 |
</command>
|
101 |
</menuContribution>
|
102 |
<menuContribution
|
103 |
allPopups="false" |
104 |
locationURI="popup:ChartEditorContextMenuEmptyArea"> |
105 |
<command
|
106 |
commandId="ExportChartEditorView" |
107 |
icon="icons/export_view.png" |
108 |
style="push"> |
109 |
</command>
|
110 |
<command
|
111 |
commandId="CopyChartViewToClipboard" |
112 |
icon="icons/copy_view.gif" |
113 |
style="push"> |
114 |
</command>
|
115 |
<separator
|
116 |
name="org.txm.chartsengine.rcp.separator1" |
117 |
visible="true"> |
118 |
</separator>
|
119 |
<command
|
120 |
commandId="ResetChartView" |
121 |
icon="icons/reset_view.png" |
122 |
style="push"> |
123 |
</command>
|
124 |
</menuContribution>
|
125 |
<menuContribution
|
126 |
allPopups="false" |
127 |
locationURI="popup:ChartEditorContextMenuItemArea"> |
128 |
<menu
|
129 |
id="ChartEditorContextMenuItemArea.ItemMenu" |
130 |
label="%menu.label"> |
131 |
</menu>
|
132 |
</menuContribution>
|
133 |
<menuContribution
|
134 |
allPopups="false" |
135 |
locationURI="toolbar:org.txm.rcp.toolbars.result"> |
136 |
<command
|
137 |
commandId="ExportChart" |
138 |
icon="icons/export_chart.png" |
139 |
label="%command.label.42" |
140 |
style="push" |
141 |
tooltip="%command.name.92"> |
142 |
<visibleWhen
|
143 |
checkEnabled="false"> |
144 |
<reference
|
145 |
definitionId="OneChartResultSelected"> |
146 |
</reference>
|
147 |
</visibleWhen>
|
148 |
</command>
|
149 |
</menuContribution>
|
150 |
<menuContribution
|
151 |
allPopups="false" |
152 |
locationURI="menu:menu.file.export"> |
153 |
<command
|
154 |
commandId="ExportChart" |
155 |
icon="icons/export_chart.png" |
156 |
label="%command.label.42" |
157 |
style="push"> |
158 |
<visibleWhen
|
159 |
checkEnabled="false"> |
160 |
<reference
|
161 |
definitionId="OneChartResultSelected"> |
162 |
</reference>
|
163 |
</visibleWhen>
|
164 |
</command>
|
165 |
</menuContribution>
|
166 |
<menuContribution
|
167 |
allPopups="false" |
168 |
locationURI="popup:org.txm.rcp.corporaview.export"> |
169 |
<command
|
170 |
commandId="ExportChart" |
171 |
icon="icons/export_chart.png" |
172 |
label="%command.label.42" |
173 |
style="push"> |
174 |
<visibleWhen
|
175 |
checkEnabled="false"> |
176 |
<reference
|
177 |
definitionId="OneChartResultSelected"> |
178 |
</reference>
|
179 |
</visibleWhen>
|
180 |
</command>
|
181 |
</menuContribution>
|
182 |
</extension>
|
183 |
<extension
|
184 |
point="org.eclipse.ui.commands"> |
185 |
<command
|
186 |
defaultHandler="org.txm.chartsengine.rcp.handlers.ResetChartView" |
187 |
description="Reset the chart view" |
188 |
id="ResetChartView" |
189 |
name="%command.name"> |
190 |
</command>
|
191 |
<command
|
192 |
defaultHandler="org.txm.chartsengine.rcp.handlers.ExportChartEditorView" |
193 |
description="Export the current view" |
194 |
id="ExportChartEditorView" |
195 |
name="%command.name.0"> |
196 |
</command>
|
197 |
<command
|
198 |
defaultHandler="org.txm.chartsengine.rcp.handlers.CopyChartViewToClipboard" |
199 |
description="Copy the view to clipbaord" |
200 |
id="CopyChartViewToClipboard" |
201 |
name="%command.name.1"> |
202 |
</command>
|
203 |
<command defaultHandler="org.txm.chartsengine.rcp.handlers.ExportChart" id="ExportChart" name="%command.name.92"> |
204 |
</command>
|
205 |
<command
|
206 |
defaultHandler="org.txm.chartsengine.rcp.handlers.MoveRightChartView" |
207 |
description="Move to the right the chart view" |
208 |
id="MoveRightChartView" |
209 |
name="Move right"> |
210 |
</command>
|
211 |
<command
|
212 |
defaultHandler="org.txm.chartsengine.rcp.handlers.MoveLeftChartView" |
213 |
description="Move on the left the chart view" |
214 |
id="MoveLeftChartView" |
215 |
name="Move left"> |
216 |
</command>
|
217 |
<command
|
218 |
defaultHandler="org.txm.chartsengine.rcp.handlers.MoveDownChartView" |
219 |
description="Move down the chart view" |
220 |
id="MoveDownChartView" |
221 |
name="Move down"> |
222 |
</command>
|
223 |
<command
|
224 |
defaultHandler="org.txm.chartsengine.rcp.handlers.MoveUpChartView" |
225 |
description="Move up the chart view" |
226 |
id="MoveUpChartView" |
227 |
name="Move up"> |
228 |
</command>
|
229 |
<command
|
230 |
defaultHandler="org.txm.chartsengine.rcp.handlers.ZoomOutChartView" |
231 |
description="Zoom out of the view" |
232 |
id="ZoomOutChartView" |
233 |
name="Zoom Out"> |
234 |
</command>
|
235 |
<command
|
236 |
defaultHandler="org.txm.chartsengine.rcp.handlers.ZoomInChartView" |
237 |
description="Zoom in the chart view" |
238 |
id="ZoomInChartView" |
239 |
name="Zoom In"> |
240 |
</command>
|
241 |
</extension>
|
242 |
<extension
|
243 |
point="org.eclipse.core.expressions.definitions"> |
244 |
<definition
|
245 |
id="OneChartResultSelected"> |
246 |
<with
|
247 |
variable="selection"> |
248 |
<iterate
|
249 |
ifEmpty="false" |
250 |
operator="and"> |
251 |
<instanceof
|
252 |
value="org.txm.chartsengine.core.results.ChartResult"> |
253 |
</instanceof>
|
254 |
</iterate>
|
255 |
</with>
|
256 |
</definition>
|
257 |
</extension>
|
258 |
<extension
|
259 |
point="org.eclipse.ui.contexts"> |
260 |
<context
|
261 |
id="org.txm.chartsengine.rcp.editors.ChartEditor" |
262 |
name="%context.name" |
263 |
parentId="org.eclipse.ui.contexts.window"> |
264 |
</context>
|
265 |
</extension>
|
266 |
</plugin>
|