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