Revision 207 tmp/org.txm.chartsengine.rcp/plugin.xml

plugin.xml (revision 207)
49 49
            locationURI="toolbar:ChartEditorToolBar">
50 50
         <command
51 51
               commandId="ExportChartEditorView"
52
               icon="icons/charts_export_view.png"
52
               icon="icons/export_view.png"
53 53
               style="push">
54 54
         </command>
55 55
         <command
56 56
               commandId="ResetChartView"
57
               icon="icons/charts_reset_view.png"
57
               icon="icons/reset_view.png"
58 58
               style="push">
59 59
         </command>
60 60
         <command
61 61
               commandId="CopyChartViewToClipboard"
62
               icon="icons/charts_copy_view.gif"
62
               icon="icons/copy_view.gif"
63 63
               style="push">
64 64
         </command>
65 65
      </menuContribution>
......
68 68
            locationURI="popup:ChartEditorContextMenu">
69 69
         <command
70 70
               commandId="ExportChartEditorView"
71
               icon="icons/charts_export_view.png"
71
               icon="icons/export_view.png"
72 72
               style="push">
73 73
         </command>
74 74
         <command
75 75
               commandId="ResetChartView"
76
               icon="icons/charts_reset_view.png"
76
               icon="icons/reset_view.png"
77 77
               style="push">
78 78
         </command>
79 79
         <command
80 80
               commandId="CopyChartViewToClipboard"
81
               icon="icons/charts_copy_view.gif"
81
               icon="icons/copy_view.gif"
82 82
               style="push">
83 83
         </command>
84 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>
85 148
   </extension>
86 149
   <extension
87 150
         point="org.eclipse.ui.commands">
......
100 163
            id="CopyChartViewToClipboard"
101 164
            name="%command.name.1">
102 165
      </command>
166
      <command defaultHandler="org.txm.chartsengine.rcp.handlers.ExportChart" id="ExportChart" name="%command.name.92">
167
      </command>
103 168
   </extension>
104 169

  
105 170
</plugin>

Also available in: Unified diff