root / tmp / org.txm.chartsengine.rcp / plugin.xml @ 633
History | View | Annotate | Download (6.4 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="SWT Charts Component Provider" schema="schema/org.txm.rcp.swtchartscomponentsprovider.exsd"/> |
5 |
<extension-point id="org.txm.chartsengine.eventcallback" name="Chart composite event call back" 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.ChartEditorPart" |
20 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
21 |
sequence="M1+R"> |
22 |
</key>
|
23 |
<key
|
24 |
commandId="ExportChartEditorView" |
25 |
contextId="org.txm.chartsengine.rcp.editors.ChartEditorPart" |
26 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
27 |
sequence="M1+E"> |
28 |
</key>
|
29 |
<key
|
30 |
commandId="CopyChartViewToClipboard" |
31 |
contextId="org.txm.chartsengine.rcp.editors.ChartEditorPart" |
32 |
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
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="Chart Editor Part"> |
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:ChartEditorContextMenu"> |
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="toolbar:org.txm.rcp.toolbarcorpus"> |
96 |
<command
|
97 |
commandId="ExportChart" |
98 |
icon="icons/export_chart.png" |
99 |
style="push" |
100 |
tooltip="%command.name.92"> |
101 |
<visibleWhen
|
102 |
checkEnabled="false"> |
103 |
<or>
|
104 |
<reference
|
105 |
definitionId="OneChartResultSelected"> |
106 |
</reference>
|
107 |
</or>
|
108 |
</visibleWhen>
|
109 |
</command>
|
110 |
</menuContribution>
|
111 |
<menuContribution
|
112 |
allPopups="false" |
113 |
locationURI="menu:menu.file.export"> |
114 |
<command
|
115 |
commandId="ExportChart" |
116 |
icon="icons/export_chart.png" |
117 |
label="%command.label.42" |
118 |
style="push"> |
119 |
<visibleWhen
|
120 |
checkEnabled="false"> |
121 |
<or>
|
122 |
<reference
|
123 |
definitionId="OneChartResultSelected"> |
124 |
</reference>
|
125 |
</or>
|
126 |
</visibleWhen>
|
127 |
</command>
|
128 |
</menuContribution>
|
129 |
<menuContribution
|
130 |
allPopups="false" |
131 |
locationURI="popup:corporaview.menu.file.export"> |
132 |
<command
|
133 |
commandId="ExportChart" |
134 |
icon="icons/export_chart.png" |
135 |
label="%command.label.42" |
136 |
style="push"> |
137 |
<visibleWhen
|
138 |
checkEnabled="false"> |
139 |
<or>
|
140 |
<reference
|
141 |
definitionId="OneChartResultSelected"> |
142 |
</reference>
|
143 |
</or>
|
144 |
</visibleWhen>
|
145 |
</command>
|
146 |
</menuContribution>
|
147 |
</extension>
|
148 |
<extension
|
149 |
point="org.eclipse.ui.commands"> |
150 |
<command
|
151 |
defaultHandler="org.txm.chartsengine.rcp.handlers.ResetChartView" |
152 |
id="ResetChartView" |
153 |
name="%command.name"> |
154 |
</command>
|
155 |
<command
|
156 |
defaultHandler="org.txm.chartsengine.rcp.handlers.ExportChartEditorView" |
157 |
id="ExportChartEditorView" |
158 |
name="%command.name.0"> |
159 |
</command>
|
160 |
<command
|
161 |
defaultHandler="org.txm.chartsengine.rcp.handlers.CopyChartViewToClipboard" |
162 |
id="CopyChartViewToClipboard" |
163 |
name="%command.name.1"> |
164 |
</command>
|
165 |
<command defaultHandler="org.txm.chartsengine.rcp.handlers.ExportChart" id="ExportChart" name="%command.name.92"> |
166 |
</command>
|
167 |
</extension>
|
168 |
<extension
|
169 |
point="org.eclipse.core.expressions.definitions"> |
170 |
<definition
|
171 |
id="OneChartResultSelected"> |
172 |
<with
|
173 |
variable="selection"> |
174 |
<iterate
|
175 |
ifEmpty="false" |
176 |
operator="and"> |
177 |
<instanceof
|
178 |
value="org.txm.chartsengine.core.results.ChartResult"> |
179 |
</instanceof>
|
180 |
</iterate>
|
181 |
</with>
|
182 |
</definition>
|
183 |
</extension>
|
184 |
<extension
|
185 |
point="org.eclipse.ui.contexts"> |
186 |
<context
|
187 |
id="org.txm.chartsengine.rcp.editors.ChartEditorPart" |
188 |
name="Chart editor context"> |
189 |
</context>
|
190 |
</extension>
|
191 |
|
192 |
</plugin>
|