Statistics
| Revision:

root / tmp / org.txm.chartsengine.rcp / plugin.xml @ 1505

History | View | Annotate | Download (6.5 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.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.toolbars.result">
104
         <command
105
               commandId="ExportChart"
106
               icon="icons/export_chart.png"
107
               label="%command.label.42"
108
               style="push"
109
               tooltip="%command.name.92">
110
            <visibleWhen
111
                  checkEnabled="false">
112
               <reference
113
                     definitionId="OneChartResultSelected">
114
               </reference>
115
            </visibleWhen>
116
         </command>
117
      </menuContribution>
118
      <menuContribution
119
            allPopups="false"
120
            locationURI="menu:menu.file.export">
121
         <command
122
               commandId="ExportChart"
123
               icon="icons/export_chart.png"
124
               label="%command.label.42"
125
               style="push">
126
            <visibleWhen
127
                  checkEnabled="false">
128
               <reference
129
                     definitionId="OneChartResultSelected">
130
               </reference>
131
            </visibleWhen>
132
         </command>
133
      </menuContribution>
134
      <menuContribution
135
            allPopups="false"
136
            locationURI="popup:org.txm.rcp.corporaview.export">
137
         <command
138
               commandId="ExportChart"
139
               icon="icons/export_chart.png"
140
               label="%command.label.42"
141
               style="push">
142
            <visibleWhen
143
                  checkEnabled="false">
144
               <reference
145
                     definitionId="OneChartResultSelected">
146
               </reference>
147
            </visibleWhen>
148
         </command>
149
      </menuContribution>
150
   </extension>
151
   <extension
152
         point="org.eclipse.ui.commands">
153
      <command
154
            defaultHandler="org.txm.chartsengine.rcp.handlers.ResetChartView"
155
            id="ResetChartView"
156
            name="%command.name">
157
      </command>
158
      <command
159
            defaultHandler="org.txm.chartsengine.rcp.handlers.ExportChartEditorView"
160
            id="ExportChartEditorView"
161
            name="%command.name.0">
162
      </command>
163
      <command
164
            defaultHandler="org.txm.chartsengine.rcp.handlers.CopyChartViewToClipboard"
165
            id="CopyChartViewToClipboard"
166
            name="%command.name.1">
167
      </command>
168
      <command defaultHandler="org.txm.chartsengine.rcp.handlers.ExportChart" id="ExportChart" name="%command.name.92">
169
      </command>
170
   </extension>
171
   <extension
172
         point="org.eclipse.core.expressions.definitions">
173
      <definition
174
            id="OneChartResultSelected">
175
         <with
176
               variable="selection">
177
            <iterate
178
                  ifEmpty="false"
179
                  operator="and">
180
               <instanceof
181
                     value="org.txm.chartsengine.core.results.ChartResult">
182
               </instanceof>
183
            </iterate>
184
         </with>
185
      </definition>
186
   </extension>
187
   <extension
188
         point="org.eclipse.ui.contexts">
189
      <context
190
            id="org.txm.chartsengine.rcp.editors.ChartEditor"
191
            name="%context.name"
192
            parentId="org.eclipse.ui.contexts.window">
193
      </context>
194
   </extension>
195

    
196
</plugin>