Statistiques
| Révision :

root / TXM / trunk / org.txm.chartsengine.rcp / plugin.xml @ 3424

Historique | Voir | Annoter | Télécharger (9,14 ko)

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.label.42">
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
               tooltip="%command.label.42">
159
            <visibleWhen
160
                  checkEnabled="false">
161
               <reference
162
                     definitionId="OneChartResultSelected">
163
               </reference>
164
            </visibleWhen>
165
         </command>
166
      </menuContribution>
167
      <menuContribution
168
            allPopups="false"
169
            locationURI="popup:org.txm.rcp.corporaview.export">
170
         <command
171
               commandId="ExportChart"
172
               icon="icons/export_chart.png"
173
               label="%command.label.42"
174
               style="push"
175
               tooltip="%command.label.42">
176
            <visibleWhen
177
                  checkEnabled="false">
178
               <reference
179
                     definitionId="OneChartResultSelected">
180
               </reference>
181
            </visibleWhen>
182
         </command>
183
      </menuContribution>
184
   </extension>
185
   <extension
186
         point="org.eclipse.ui.commands">
187
      <command
188
            defaultHandler="org.txm.chartsengine.rcp.handlers.ResetChartView"
189
            description="%command.description.2"
190
            id="ResetChartView"
191
            name="%command.name">
192
      </command>
193
      <command
194
            defaultHandler="org.txm.chartsengine.rcp.handlers.ExportChartEditorView"
195
            description="%command.description.3"
196
            id="ExportChartEditorView"
197
            name="%command.name.0">
198
      </command>
199
      <command
200
            defaultHandler="org.txm.chartsengine.rcp.handlers.CopyChartViewToClipboard"
201
            description="%command.description.4"
202
            id="CopyChartViewToClipboard"
203
            name="%command.name.1">
204
      </command>
205
      <command defaultHandler="org.txm.chartsengine.rcp.handlers.ExportChart" id="ExportChart" name="%command.name.92">
206
      </command>
207
      <command
208
            defaultHandler="org.txm.chartsengine.rcp.handlers.MoveRightChartView"
209
            description="%command.description.5"
210
            id="MoveRightChartView"
211
            name="%command.name.2">
212
      </command>
213
      <command
214
            defaultHandler="org.txm.chartsengine.rcp.handlers.MoveLeftChartView"
215
            description="%command.description.6"
216
            id="MoveLeftChartView"
217
            name="%command.name.3">
218
      </command>
219
      <command
220
            defaultHandler="org.txm.chartsengine.rcp.handlers.MoveDownChartView"
221
            description="%command.description.7"
222
            id="MoveDownChartView"
223
            name="%command.name.4">
224
      </command>
225
      <command
226
            defaultHandler="org.txm.chartsengine.rcp.handlers.MoveUpChartView"
227
            description="%command.description.8"
228
            id="MoveUpChartView"
229
            name="%command.name.5">
230
      </command>
231
      <command
232
            defaultHandler="org.txm.chartsengine.rcp.handlers.ZoomOutChartView"
233
            description="%command.description.9"
234
            id="ZoomOutChartView"
235
            name="%command.name.6">
236
      </command>
237
      <command
238
            defaultHandler="org.txm.chartsengine.rcp.handlers.ZoomInChartView"
239
            description="%command.description.10"
240
            id="ZoomInChartView"
241
            name="%command.name.7">
242
      </command>
243
   </extension>
244
   <extension
245
         point="org.eclipse.core.expressions.definitions">
246
      <definition
247
            id="OneChartResultSelected">
248
         <with
249
               variable="corporaSelection">
250
            <iterate
251
                  ifEmpty="false"
252
                  operator="and">
253
               <instanceof
254
                     value="org.txm.chartsengine.core.results.ChartResult">
255
               </instanceof>
256
            </iterate>
257
         </with>
258
      </definition>
259
   </extension>
260
   <extension
261
         point="org.eclipse.ui.contexts">
262
      <context
263
            id="org.txm.chartsengine.rcp.editors.ChartEditor"
264
            name="%context.name"
265
            parentId="org.eclipse.ui.contexts.window">
266
      </context>
267
   </extension>
268

    
269
</plugin>