Statistics
| Revision:

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

History | View | Annotate | Download (5.9 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.rcpapplication.preferences.AdvancePreferencePage"
10
            class="org.txm.chartsengine.rcp.preferences.ChartsEnginePreferencePage"
11
            id="org.txm.rcp.chartsengine.core.preferences.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.eclipse.ui.contexts.window"
20
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
21
            sequence="M1+R">
22
      </key>
23
      <key
24
            commandId="ExportChartEditorView"
25
            contextId="org.eclipse.ui.contexts.window"
26
            schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
27
            sequence="M1+E">
28
      </key>
29
      <key
30
            commandId="CopyChartViewToClipboard"
31
            contextId="org.eclipse.ui.contexts.window"
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.ChartEditorPart"
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="ResetChartView"
57
               icon="icons/reset_view.png"
58
               style="push">
59
         </command>
60
         <command
61
               commandId="CopyChartViewToClipboard"
62
               icon="icons/copy_view.gif"
63
               style="push">
64
         </command>
65
      </menuContribution>
66
      <menuContribution
67
            allPopups="false"
68
            locationURI="popup:ChartEditorContextMenu">
69
         <command
70
               commandId="ExportChartEditorView"
71
               icon="icons/export_view.png"
72
               style="push">
73
         </command>
74
         <command
75
               commandId="ResetChartView"
76
               icon="icons/reset_view.png"
77
               style="push">
78
         </command>
79
         <command
80
               commandId="CopyChartViewToClipboard"
81
               icon="icons/copy_view.gif"
82
               style="push">
83
         </command>
84
      </menuContribution>
85
      <menuContribution
86
            allPopups="false"
87
            locationURI="toolbar:org.txm.rcpapplication.toolbarcorpus">
88
         <command
89
               commandId="ExportChart"
90
               icon="icons/export_chart.png"
91
               style="push"
92
               tooltip="%command.name.92">
93
            <visibleWhen
94
                  checkEnabled="false">
95
               <or>
96
                  <reference
97
                        definitionId="OneCASelected">
98
                  </reference>
99
                  <reference
100
                        definitionId="OneProgressionSelected">
101
                  </reference>
102
               </or>
103
            </visibleWhen>
104
         </command>
105
      </menuContribution>
106
      <menuContribution
107
            allPopups="false"
108
            locationURI="menu:menu.file.export">
109
         <command
110
               commandId="ExportChart"
111
               icon="icons/export_chart.png"
112
               label="%command.label.42"
113
               style="push">
114
            <visibleWhen
115
                  checkEnabled="false">
116
               <or>
117
                  <reference
118
                        definitionId="OneCASelected">
119
                  </reference>
120
                  <reference
121
                        definitionId="OneProgressionSelected">
122
                  </reference>
123
               </or>
124
            </visibleWhen>
125
         </command>
126
      </menuContribution>
127
      <menuContribution
128
            allPopups="false"
129
            locationURI="popup:corporaview.menu.file.export">
130
         <command
131
               commandId="ExportChart"
132
               icon="icons/export_chart.png"
133
               label="%command.label.42"
134
               style="push">
135
            <visibleWhen
136
                  checkEnabled="false">
137
               <or>
138
                  <reference
139
                        definitionId="OneCASelected">
140
                  </reference>
141
                  <reference
142
                        definitionId="OneProgressionSelected">
143
                  </reference>
144
               </or>
145
            </visibleWhen>
146
         </command>
147
      </menuContribution>
148
   </extension>
149
   <extension
150
         point="org.eclipse.ui.commands">
151
      <command
152
            defaultHandler="org.txm.chartsengine.rcp.handlers.ResetChartView"
153
            id="ResetChartView"
154
            name="%command.name">
155
      </command>
156
      <command
157
            defaultHandler="org.txm.chartsengine.rcp.handlers.ExportChartEditorView"
158
            id="ExportChartEditorView"
159
            name="%command.name.0">
160
      </command>
161
      <command
162
            defaultHandler="org.txm.chartsengine.rcp.handlers.CopyChartViewToClipboard"
163
            id="CopyChartViewToClipboard"
164
            name="%command.name.1">
165
      </command>
166
      <command defaultHandler="org.txm.chartsengine.rcp.handlers.ExportChart" id="ExportChart" name="%command.name.92">
167
      </command>
168
   </extension>
169

    
170
</plugin>