]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.issues.ui/plugin.xml
Fixed the version range of ANTLR dependency of graph compiler
[simantics/platform.git] / bundles / org.simantics.issues.ui / plugin.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <?eclipse version="3.2"?>\r<!--\r
3     Copyright (c) 2007, 2011 Association for Decentralized Information Management\r
4     in Industry THTH ry.\r
5     All rights reserved. This program and the accompanying materials\r
6     are made available under the terms of the Eclipse Public License v1.0\r
7     which accompanies this distribution, and is available at\r
8     http://www.eclipse.org/legal/epl-v10.html\r
9    \r
10     Contributors:\r
11         VTT Technical Research Centre of Finland - initial API and implementation\r
12  -->\r
13
14 <plugin>\r
15 \r
16    <extension\r
17          point="org.eclipse.ui.views">\r
18       <category\r
19             id="org.simantics.issues.category"\r
20             name="Issues">\r
21       </category>\r
22       <!--\r
23       <view\r
24             category="org.simantics.issues.category"\r
25             class="org.simantics.issues.ui.IssueView"\r
26             icon="platform:/plugin/com.famfamfam.silk/icons/error.png"\r
27             id="org.simantics.issues.ui.issueview"\r
28             name="Issues">\r
29       </view>\r
30       -->\r
31       <view\r
32             category="org.simantics.issues.category"\r
33             class="org.simantics.issues.ui.IssueView2"\r
34             icon="platform:/plugin/com.famfamfam.silk/icons/error.png"\r
35             id="org.simantics.issues.ui.issueview2"\r
36             name="Issues">\r
37       </view>\r
38    </extension>\r
39    <extension\r
40          point="org.eclipse.ui.preferencePages">\r
41       <page\r
42             class="org.simantics.issues.ui.preferences.IssuePreferencePage"\r
43             id="org.simantics.issues.ui.preferences"\r
44             name="Issues"/>\r
45    </extension>\r
46 \r
47    <extension\r
48          point="org.eclipse.ui.commands">\r
49       <category\r
50             id="org.simantics.issues.category"\r
51             name="Issue Commands">\r
52       </category>\r
53       <command\r
54             categoryId="org.simantics.issues.category"\r
55             id="org.simantics.issues.toggleShowHiddenIssues"\r
56             name="Show Hidden Issues">\r
57       </command>\r
58       <command\r
59             categoryId="org.simantics.issues.category"\r
60             id="org.simantics.issues.toggleShowNormalIssues"\r
61             name="Show Normal Issues">\r
62       </command>\r
63       <command\r
64             categoryId="org.simantics.issues.category"\r
65             id="org.simantics.issues.toggleShowUserIssues"\r
66             name="Show User Issues">\r
67       </command>\r
68       <command\r
69             categoryId="org.simantics.issues.category"\r
70             id="org.simantics.issues.ui.export.csv"\r
71             name="Export Issues as CSV file">\r
72       </command>\r
73       <command\r
74             categoryId="org.simantics.issues.category"\r
75             id="org.simantics.issues.purgeResolvedIssues"\r
76             name="Purge Resolved Issues">\r
77       </command>\r
78       <command\r
79             categoryId="org.simantics.issues.category"\r
80             id="org.simantics.issues.configureIssueSources"\r
81             name="Configure Issue Sources">\r
82       </command>\r
83       <command\r
84             categoryId="org.simantics.issues.category"\r
85             id="org.simantics.issues.runActiveValidations"\r
86             name="Run Active Validations">\r
87       </command>\r
88       <command\r
89             categoryId="org.simantics.issues.category"\r
90             id="org.simantics.issues.updateIssuesForOpenDiagrams"\r
91             name="Update Issues For Open Diagrams">\r
92       </command>\r
93       <command\r
94             categoryId="org.simantics.issues.category"\r
95             id="org.simantics.issues.newUserIssue"\r
96             name="New User Issue">\r
97       </command>\r
98    </extension>\r
99    <extension\r
100          point="org.eclipse.ui.handlers">\r
101       <handler\r
102             commandId="org.simantics.issues.toggleShowHiddenIssues"\r
103             class="org.simantics.issues.ui.handler.ToggleShowHiddenIssues">\r
104       </handler>\r
105       <handler\r
106             commandId="org.simantics.issues.toggleShowNormalIssues"\r
107             class="org.simantics.issues.ui.handler.ToggleShowNormalIssues">\r
108       </handler>\r
109       <handler\r
110             commandId="org.simantics.issues.toggleShowUserIssues"\r
111             class="org.simantics.issues.ui.handler.ToggleShowUserIssues">\r
112       </handler>\r
113       <handler\r
114             class="org.simantics.issues.ui.handler.ExportIssuesAsCsv"\r
115             commandId="org.simantics.issues.ui.export.csv">\r
116       </handler>\r
117       <handler\r
118             commandId="org.simantics.issues.purgeResolvedIssues"\r
119             class="org.simantics.issues.ui.handler.PurgeResolvedIssues">\r
120       </handler>\r
121       <handler\r
122             commandId="org.simantics.issues.configureIssueSources"\r
123             class="org.simantics.issues.ui.handler.ConfigureIssueSources">\r
124       </handler>\r
125       <handler\r
126             commandId="org.eclipse.ui.edit.delete"\r
127             class="org.simantics.issues.ui.handler.Resolve">\r
128          <activeWhen>\r
129             <with\r
130                   variable="activePartId">\r
131                <equals\r
132                      value="org.simantics.issues.ui.issueview2">\r
133                </equals>\r
134             </with>\r
135          </activeWhen>\r
136       </handler>\r
137       <handler\r
138             commandId="org.simantics.issues.runActiveValidations"\r
139             class="org.simantics.issues.ui.handler.RunActiveValidations">\r
140       </handler>\r
141       <handler\r
142             commandId="org.simantics.issues.updateIssuesForOpenDiagrams"\r
143             class="org.simantics.issues.ui.handler.UpdateIssuesForOpenDiagrams">\r
144       </handler>\r
145       <handler\r
146             commandId="org.simantics.issues.newUserIssue"\r
147             class="org.simantics.issues.ui.handler.NewUserIssue">\r
148       </handler>\r
149    </extension>\r
150    <extension\r
151          point="org.eclipse.ui.menus">\r
152       <menuContribution\r
153             locationURI="popup:#GraphExplorerPopup?after=modelling.ext">\r
154           <dynamic\r
155                 class="org.simantics.issues.ui.handler.MenuActions"\r
156                 id="org.simantics.issues.actions">\r
157           </dynamic>\r
158           <dynamic\r
159                 class="org.simantics.issues.ui.ModeledActions"\r
160                 id="org.simantics.issues.actions2">\r
161           </dynamic>\r
162       </menuContribution>\r
163       <menuContribution\r
164             locationURI="toolbar:org.simantics.issues.ui.issueview2">\r
165          <command\r
166                commandId="org.simantics.issues.runActiveValidations"\r
167                icon="icons/control_play_blue.png"\r
168                label="Update All"\r
169                style="push"\r
170                tooltip="Update Issues for Active Model">\r
171              <visibleWhen\r
172                    checkEnabled="true">\r
173              </visibleWhen>\r
174          </command>\r
175          <command\r
176                commandId="org.simantics.issues.updateIssuesForOpenDiagrams"\r
177                icon="icons/control_repeat_blue.png"\r
178                label="Update Open"\r
179                style="push"\r
180                tooltip="Update Issues for Open Diagrams">\r
181              <visibleWhen\r
182                    checkEnabled="true">\r
183              </visibleWhen>\r
184          </command>\r
185          <command\r
186                commandId="org.simantics.issues.newUserIssue"\r
187                icon="icons/user_add.png"\r
188                label="New User Issue"\r
189                style="push"\r
190                tooltip="New User Issue">\r
191              <visibleWhen\r
192                    checkEnabled="true">\r
193              </visibleWhen>\r
194          </command>\r
195          <separator name="toggles" visible="true" />\r
196          <command\r
197                commandId="org.simantics.issues.toggleShowHiddenIssues"\r
198                icon="icons/hide.png"\r
199                label="Hidden"\r
200                style="toggle"\r
201                tooltip="Show Hidden Issues">\r
202              <visibleWhen\r
203                    checkEnabled="true">\r
204              </visibleWhen>\r
205          </command>\r
206          <command\r
207                commandId="org.simantics.issues.toggleShowNormalIssues"\r
208                icon="icons/information.png"\r
209                label="Normal"\r
210                style="toggle"\r
211                tooltip="Show Normal Issues">\r
212              <visibleWhen\r
213                    checkEnabled="true">\r
214              </visibleWhen>\r
215          </command>\r
216          <command\r
217                commandId="org.simantics.issues.toggleShowUserIssues"\r
218                icon="icons/user.png"\r
219                label="User"\r
220                style="toggle"\r
221                tooltip="Show User Issues">\r
222              <visibleWhen\r
223                    checkEnabled="true">\r
224              </visibleWhen>\r
225          </command>\r
226          <separator name="export" visible="true" />\r
227          <command\r
228                commandId="org.simantics.issues.ui.export.csv"\r
229                icon="icons/export.gif"\r
230                label="Export as CSV"\r
231                style="push"\r
232                tooltip="Export All Issues as CSV">\r
233              <visibleWhen\r
234                    checkEnabled="true">\r
235              </visibleWhen>\r
236          </command>\r
237          <separator name="clear" visible="true" />\r
238          <command\r
239                commandId="org.simantics.issues.purgeResolvedIssues"\r
240                icon="icons/purge.png"\r
241                label="Purge"\r
242                style="push"\r
243                tooltip="Purge Resolved Issues">\r
244              <visibleWhen\r
245                    checkEnabled="true">\r
246              </visibleWhen>\r
247          </command>\r
248          <command\r
249                commandId="org.simantics.issues.configureIssueSources"\r
250                icon="platform:/plugin/com.famfamfam.silk/icons/cog.png"\r
251                label="Configure"\r
252                style="push"\r
253                tooltip="Configure Issue Sources">\r
254              <visibleWhen\r
255                    checkEnabled="true">\r
256              </visibleWhen>\r
257          </command>\r
258          <separator name="additions" visible="false" />\r
259       </menuContribution>\r
260    </extension>\r
261 \r
262    <extension point="org.simantics.scl.reflection.binding">\r
263       <namespace path="http://www.simantics.org/IssueUI-0.0/Functions">\r
264          <externalClass className="org.simantics.db.Resource"/>\r
265          <externalClass className="org.simantics.db.layer0.variable.Variable"/>\r
266          <externalClass className="org.simantics.db.ReadGraph"/>\r
267          <externalClass className="org.simantics.db.WriteGraph"/>\r
268          <class className="org.simantics.issues.ui.All"/>\r
269       </namespace>\r
270    </extension>\r
271    \r
272 </plugin>\r