root / tmp / org.txm.chartsengine.rcp / plugin.xml @ 1223
Historique | Voir | Annoter | Télécharger (6,7 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.ChartEditorPart" |
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 |
style="push"> |
54 |
</command>
|
55 |
<command
|
56 |
commandId="CopyChartViewToClipboard" |
57 |
icon="icons/copy_view.gif" |
58 |
style="push"> |
59 |
</command>
|
60 |
<separator
|
61 |
name="org.txm.chartsengine.rcp.separator1" |
62 |
visible="true"> |
63 |
</separator>
|
64 |
<command
|
65 |
commandId="ResetChartView" |
66 |
icon="icons/reset_view.png" |
67 |
style="push"> |
68 |
</command>
|
69 |
</menuContribution>
|
70 |
<menuContribution
|
71 |
allPopups="false" |
72 |
locationURI="popup:ChartEditorContextMenuEmptyArea"> |
73 |
<command
|
74 |
commandId="ExportChartEditorView" |
75 |
icon="icons/export_view.png" |
76 |
style="push"> |
77 |
</command>
|
78 |
<command
|
79 |
commandId="CopyChartViewToClipboard" |
80 |
icon="icons/copy_view.gif" |
81 |
style="push"> |
82 |
</command>
|
83 |
<separator
|
84 |
name="org.txm.chartsengine.rcp.separator1" |
85 |
visible="true"> |
86 |
</separator>
|
87 |
<command
|
88 |
commandId="ResetChartView" |
89 |
icon="icons/reset_view.png" |
90 |
style="push"> |
91 |
</command>
|
92 |
</menuContribution>
|
93 |
<menuContribution
|
94 |
allPopups="false" |
95 |
locationURI="popup:ChartEditorContextMenuItemArea"> |
96 |
<menu
|
97 |
id="ChartEditorContextMenuItemArea.ItemMenu" |
98 |
label="%menu.label"> |
99 |
</menu>
|
100 |
</menuContribution>
|
101 |
<menuContribution
|
102 |
allPopups="false" |
103 |
locationURI="toolbar:org.txm.rcp.toolbarresult?before=org.txm.rcp.handlers.export.ExportResult"> |
104 |
<command
|
105 |
commandId="ExportChart" |
106 |
icon="icons/export_chart.png" |
107 |
style="push" |
108 |
tooltip="%command.name.92"> |
109 |
<visibleWhen
|
110 |
checkEnabled="false"> |
111 |
<or>
|
112 |
<reference
|
113 |
definitionId="OneChartResultSelected"> |
114 |
</reference>
|
115 |
</or>
|
116 |
</visibleWhen>
|
117 |
</command>
|
118 |
</menuContribution>
|
119 |
<menuContribution
|
120 |
allPopups="false" |
121 |
locationURI="menu:menu.file.export"> |
122 |
<command
|
123 |
commandId="ExportChart" |
124 |
icon="icons/export_chart.png" |
125 |
label="%command.label.42" |
126 |
style="push"> |
127 |
<visibleWhen
|
128 |
checkEnabled="false"> |
129 |
<or>
|
130 |
<reference
|
131 |
definitionId="OneChartResultSelected"> |
132 |
</reference>
|
133 |
</or>
|
134 |
</visibleWhen>
|
135 |
</command>
|
136 |
</menuContribution>
|
137 |
<menuContribution
|
138 |
allPopups="false" |
139 |
locationURI="popup:corporaview.menu.file.export"> |
140 |
<command
|
141 |
commandId="ExportChart" |
142 |
icon="icons/export_chart.png" |
143 |
label="%command.label.42" |
144 |
style="push"> |
145 |
<visibleWhen
|
146 |
checkEnabled="false"> |
147 |
<or>
|
148 |
<reference
|
149 |
definitionId="OneChartResultSelected"> |
150 |
</reference>
|
151 |
</or>
|
152 |
</visibleWhen>
|
153 |
</command>
|
154 |
</menuContribution>
|
155 |
</extension>
|
156 |
<extension
|
157 |
point="org.eclipse.ui.commands"> |
158 |
<command
|
159 |
defaultHandler="org.txm.chartsengine.rcp.handlers.ResetChartView" |
160 |
id="ResetChartView" |
161 |
name="%command.name"> |
162 |
</command>
|
163 |
<command
|
164 |
defaultHandler="org.txm.chartsengine.rcp.handlers.ExportChartEditorView" |
165 |
id="ExportChartEditorView" |
166 |
name="%command.name.0"> |
167 |
</command>
|
168 |
<command
|
169 |
defaultHandler="org.txm.chartsengine.rcp.handlers.CopyChartViewToClipboard" |
170 |
id="CopyChartViewToClipboard" |
171 |
name="%command.name.1"> |
172 |
</command>
|
173 |
<command defaultHandler="org.txm.chartsengine.rcp.handlers.ExportChart" id="ExportChart" name="%command.name.92"> |
174 |
</command>
|
175 |
</extension>
|
176 |
<extension
|
177 |
point="org.eclipse.core.expressions.definitions"> |
178 |
<definition
|
179 |
id="OneChartResultSelected"> |
180 |
<with
|
181 |
variable="selection"> |
182 |
<iterate
|
183 |
ifEmpty="false" |
184 |
operator="and"> |
185 |
<instanceof
|
186 |
value="org.txm.chartsengine.core.results.ChartResult"> |
187 |
</instanceof>
|
188 |
</iterate>
|
189 |
</with>
|
190 |
</definition>
|
191 |
</extension>
|
192 |
<extension
|
193 |
point="org.eclipse.ui.contexts"> |
194 |
<context
|
195 |
id="org.txm.chartsengine.rcp.editors.ChartEditor" |
196 |
name="%context.name" |
197 |
parentId="org.eclipse.ui.contexts.window"> |
198 |
</context>
|
199 |
</extension>
|
200 |
|
201 |
</plugin>
|