]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.event/plugin.xml
Fix adding components to configurationBySolverName map in MappingBase
[simantics/platform.git] / bundles / org.simantics.event / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.4"?>\r<!--
3     Copyright (c) 2007, 2011 Association for Decentralized Information Management
4     in Industry THTH ry.
5     All rights reserved. This program and the accompanying materials
6     are made available under the terms of the Eclipse Public License v1.0
7     which accompanies this distribution, and is available at
8     http://www.eclipse.org/legal/epl-v10.html
9    
10     Contributors:
11         VTT Technical Research Centre of Finland - initial API and implementation
12  -->
13
14 <plugin>
15
16    <extension
17          point="org.eclipse.ui.views">
18       <category
19             id="org.simantics.event.category"
20             name="Event">
21       </category>
22       <view
23             category="org.simantics.event.category"
24             class="org.simantics.event.view.EventView"
25             icon="platform:/plugin/com.famfamfam.silk/icons/flag_green.png"
26             id="org.simantics.event.view"
27             name="Events">
28       </view>
29    </extension>
30
31    <extension
32          point="org.eclipse.ui.commands">
33       <category
34             id="org.simantics.event.category"
35             name="Event Commands">
36       </category>
37       <command
38             categoryId="org.simantics.event.category"
39             id="org.simantics.event.toggleShowHiddenEvents"
40             name="Show Hidden Events">
41       </command>
42       <command
43             categoryId="org.simantics.event.category"
44             id="org.simantics.event.toggleHideInfoEvents"
45             name="Hide Info Events">
46       </command>
47       <command
48             categoryId="org.simantics.event.category"
49             id="org.simantics.event.toggleHideWarningEvents"
50             name="Hide Warning Events">
51       </command>
52       <command
53             categoryId="org.simantics.event.category"
54             id="org.simantics.event.toggleHideReturnEvents"
55             name="Hide Return Events">
56       </command>
57       <command
58             categoryId="org.simantics.event.category"
59             id="org.simantics.event.toggleShowOnlyMilestones"
60             name="Show Only Milestone Events">
61       </command>
62       <command
63             categoryId="org.simantics.event.category"
64             id="org.simantics.event.toggleShowOnlyActiveEvents"
65             name="Show Only Active Events">
66       </command>
67       <command
68             categoryId="org.simantics.event.category"
69             id="org.simantics.event.addMilestone"
70             name="Add New Milestone">
71       </command>
72       <command
73             categoryId="org.simantics.event.category"
74             id="org.simantics.event.export.csv"
75             name="Export Events as CSV file">
76       </command>
77    </extension>
78    <extension
79          point="org.eclipse.ui.handlers">
80       <handler
81             commandId="org.simantics.event.toggleHideInfoEvents"
82             class="org.simantics.event.view.handler.ToggleHideInfoEvents">
83       </handler>
84       <handler
85             commandId="org.simantics.event.toggleHideWarningEvents"
86             class="org.simantics.event.view.handler.ToggleHideWarningEvents">
87       </handler>
88       <handler
89             commandId="org.simantics.event.toggleHideReturnEvents"
90             class="org.simantics.event.view.handler.ToggleHideReturnEvents">
91       </handler>
92       <handler
93             commandId="org.simantics.event.toggleShowHiddenEvents"
94             class="org.simantics.event.view.handler.ToggleShowHiddenEvents">
95       </handler>
96       <handler
97             commandId="org.simantics.event.toggleShowOnlyMilestones"
98             class="org.simantics.event.view.handler.ToggleShowOnlyMilestones">
99       </handler>
100       <handler
101             commandId="org.simantics.event.toggleShowOnlyActiveEvents"
102             class="org.simantics.event.view.handler.ToggleShowOnlyActiveEvents">
103       </handler>
104       <!--
105       <handler
106             commandId="org.simantics.event.addMilestone"
107             class="org.simantics.event.view.handler.AddMilestoneHandler">
108       </handler>
109       -->
110       <handler
111             commandId="org.eclipse.ui.edit.delete"
112             class="org.simantics.event.view.handler.Delete">
113          <activeWhen>
114             <with
115                   variable="activePartId">
116                <equals
117                      value="org.simantics.event.view">
118                </equals>
119             </with>
120          </activeWhen>
121       </handler>
122       <handler
123             class="org.simantics.event.view.handler.ExportEventsAsCsv"
124             commandId="org.simantics.event.export.csv">
125       </handler>
126    </extension>
127    <extension
128          point="org.eclipse.ui.menus">
129       <menuContribution
130             locationURI="popup:org.simantics.event.view.popup">
131          <dynamic
132                class="org.simantics.event.view.handler.MenuActions"
133                id="org.simantics.event.actions">
134          </dynamic>
135          <command
136                commandId="org.simantics.event.addMilestone"
137                label="Add Milestone"
138                style="push">
139             <visibleWhen
140                   checkEnabled="true">
141             </visibleWhen>
142          </command>
143          <command
144                commandId="org.eclipse.ui.edit.delete"
145                label="Delete"
146                style="push">
147             <visibleWhen
148                   checkEnabled="true">
149             </visibleWhen>
150          </command>
151       </menuContribution>
152       <menuContribution
153             locationURI="toolbar:org.simantics.event.view">
154          <!--
155          <command
156                commandId="org.simantics.event.addMilestone"
157                label="Add Milestone"
158                style="push">
159             <visibleWhen
160                   checkEnabled="true">
161             </visibleWhen>
162          </command>
163          -->
164          <command
165                commandId="org.simantics.event.toggleHideInfoEvents"
166                icon="icons/flag_white.png"
167                label=""
168                style="toggle"
169                tooltip="Hide Info Events">
170              <visibleWhen
171                    checkEnabled="true">
172              </visibleWhen>
173          </command>
174          <command
175                commandId="org.simantics.event.toggleHideWarningEvents"
176                icon="platform:/plugin/com.famfamfam.silk/icons/flag_yellow.png"
177                label=""
178                style="toggle"
179                tooltip="Hide Warning Events">
180              <visibleWhen
181                    checkEnabled="true">
182              </visibleWhen>
183          </command>
184          <command
185                commandId="org.simantics.event.toggleHideReturnEvents"
186                icon="platform:/plugin/com.famfamfam.silk/icons/arrow_undo.png"
187                label=""
188                style="toggle"
189                tooltip="Hide Return Events">
190              <visibleWhen
191                    checkEnabled="true">
192              </visibleWhen>
193          </command>
194          <command
195                commandId="org.simantics.event.toggleShowHiddenEvents"
196                icon="icons/hide.png"
197                label=""
198                style="toggle"
199                tooltip="Show Hidden Events">
200              <visibleWhen
201                    checkEnabled="true">
202              </visibleWhen>
203          </command>
204          <command
205                commandId="org.simantics.event.toggleShowOnlyMilestones"
206                icon="icons/milestone.png"
207                style="toggle"
208                label=""
209                tooltip="Milestones Only">
210              <visibleWhen
211                    checkEnabled="true">
212              </visibleWhen>
213          </command>
214          <command
215                commandId="org.simantics.event.toggleShowOnlyActiveEvents"
216                icon="platform:/plugin/com.famfamfam.silk/icons/tick.png"
217                style="toggle"
218                label=""
219                tooltip="Active Events Only">
220              <visibleWhen
221                    checkEnabled="true">
222              </visibleWhen>
223          </command>
224          <separator name="export" visible="true" />
225          <command
226                commandId="org.simantics.event.export.csv"
227                icon="platform:/plugin/org.simantics.ui/icons/etool16/export.gif"
228                label="Export as CSV"
229                style="push"
230                tooltip="Export All Events as CSV">
231              <visibleWhen
232                    checkEnabled="true">
233              </visibleWhen>
234          </command>
235       </menuContribution>
236    </extension>
237
238 </plugin>