blob: 17e7bfd8f1db85e39968bd5d3defed9bd2467b6a [file] [log] [blame]
mparker035f7972009-06-24 03:17:06 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
3
4<!--
5 <copyright>
6 </copyright>
7
mparker306e6382010-01-28 19:18:58 +00008 $Id: plugin.xml,v 1.8 2010/01/28 19:18:58 mparker Exp $
mparker035f7972009-06-24 03:17:06 +00009-->
10
11<plugin>
12 <extension
13 point="org.eclipse.ui.commands">
14 <category
15 description="Running and Exploring Models"
16 id="org.eclipse.amp.axf.ui"
17 name="Model Execution Engine">
18 </category>
19 <command
20 categoryId="org.eclipse.amp.axf.ui"
21 id="org.eclipse.amp.axf.ui.start"
22 name="Start">
23 </command>
24 <command
25 categoryId="org.eclipse.amp.axf.ui"
26 id="org.eclipse.amp.axf.ui.pause"
27 name="Pause">
28 </command>
29 <command
30 categoryId="org.eclipse.amp.axf.ui"
31 id="org.eclipse.amp.axf.ui.step"
32 name="Step">
33 </command>
34 <command
35 categoryId="org.eclipse.amp.axf.ui"
36 id="org.eclipse.amp.axf.ui.resume"
37 name="Resume">
38 </command>
39 <command
40 categoryId="org.eclipse.amp.axf.ui"
41 id="org.eclipse.amp.axf.ui.stop"
42 name="Stop">
43 </command>
44 <command
45 categoryId="org.eclipse.amp.axf.ui"
46 id="org.eclipse.amp.axf.ui.restart"
47 name="Restart">
48 </command>
49 <command
50 categoryId="org.eclipse.amp.axf.ui"
51 id="org.eclipse.amp.axf.ui.close"
52 name="Close">
53 </command>
54 </extension>
55 <extension
56 point="org.eclipse.ui.menus">
57 <menuContribution
58 locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
59 <toolbar
60 id="org.eclipse.amp.axf.ui.execute">
61
62 </toolbar>
63 </menuContribution>
64 <menuContribution
65 locationURI="menu:org.eclipse.ui.main.menu?after=additions">
66 <menu
67 id="org.eclipse.amp.axf.ui.menu"
68 label="Control">
69 <command
70 commandId="org.eclipse.amp.axf.ui.start"
71 disabledIcon="icons/dtool16/run_exc.gif"
72 icon="icons/etool16/run_exc.gif"
73 label="Start"
74 style="push">
75 <visibleWhen
76 checkEnabled="false">
77 <reference
78 definitionId="org.eclipse.amp.axf.ui.active">
79 </reference>
80 </visibleWhen>
81 </command>
82 <command
83 commandId="org.eclipse.amp.axf.ui.restart"
84 icon="icons/etool16/run_restart.gif"
85 label="Restart"
86 style="push">
87 <visibleWhen
88 checkEnabled="false">
89 <reference
90 definitionId="org.eclipse.amp.axf.ui.active">
91 </reference>
92 </visibleWhen>
93 </command>
94 <command
95 commandId="org.eclipse.amp.axf.ui.pause"
96 disabledIcon="icons/dtool16/run_pause.gif"
97 icon="icons/etool16/run_pause.gif"
98 label="Pause"
99 style="push"
100 tooltip="Pause the model.">
101 <visibleWhen
102 checkEnabled="false">
103 <reference
104 definitionId="org.eclipse.amp.axf.ui.active">
105 </reference>
106 </visibleWhen>
107 </command>
108 <command
109 commandId="org.eclipse.amp.axf.ui.step"
110 disabledIcon="icons/dtool16/run_step.gif"
111 icon="icons/etool16/run_step.gif"
112 label="Step"
113 style="push"
114 tooltip="Move forward one step.">
115 <visibleWhen
116 checkEnabled="false">
117 <reference
118 definitionId="org.eclipse.amp.axf.ui.active">
119 </reference>
120 </visibleWhen>
121 </command>
122 <command
123 commandId="org.eclipse.amp.axf.ui.resume"
124 disabledIcon="icons/dtool16/run_resume.gif"
125 icon="icons/etool16/run_resume.gif"
126 label="Resume"
127 style="push"
128 tooltip="Resume the active model.">
129 <visibleWhen
130 checkEnabled="false">
131 <reference
132 definitionId="org.eclipse.amp.axf.ui.active">
133 </reference>
134 </visibleWhen>
135 </command>
136 <command
137 commandId="org.eclipse.amp.axf.ui.stop"
138 disabledIcon="icons/dtool16/run_stop.gif"
139 icon="icons/etool16/run_stop.gif"
140 label="Stop"
141 style="push">
142 <visibleWhen
143 checkEnabled="false">
144 <reference
145 definitionId="org.eclipse.amp.axf.ui.active">
146 </reference>
147 </visibleWhen>
148 </command>
149 <command
150 commandId="org.eclipse.amp.axf.ui.close"
151 disabledIcon="icons/dtool16/run_close.gif"
152 icon="icons/etool16/run_close.gif"
153 label="Close"
154 style="push">
155 <visibleWhen
156 checkEnabled="false">
157 <reference
158 definitionId="org.eclipse.amp.axf.ui.active">
159 </reference>
160 </visibleWhen>
161 </command>
162 </menu>
163 </menuContribution>
164 <menuContribution
165 locationURI="toolbar:org.eclipse.amp.axf.ui.execute">
mparker035f7972009-06-24 03:17:06 +0000166 <command
167 commandId="org.eclipse.amp.axf.ui.start"
168 disabledIcon="icons/dtool16/run_exc.gif"
169 icon="icons/etool16/run_exc.gif"
170 label="Start"
171 style="push">
172 <visibleWhen
173 checkEnabled="false">
174 <reference
175 definitionId="org.eclipse.amp.axf.ui.active">
176 </reference>
177 </visibleWhen>
178 </command>
179 <command
180 commandId="org.eclipse.amp.axf.ui.restart"
181 icon="icons/etool16/run_restart.gif"
182 label="Restart"
183 style="push">
184 <visibleWhen
185 checkEnabled="false">
186 <reference
187 definitionId="org.eclipse.amp.axf.ui.active">
188 </reference>
189 </visibleWhen>
190 </command>
191 <command
192 commandId="org.eclipse.amp.axf.ui.pause"
193 disabledIcon="icons/dtool16/run_pause.gif"
194 icon="icons/etool16/run_pause.gif"
195 label="Pause"
196 style="push">
197 <visibleWhen
198 checkEnabled="false">
199 <reference
200 definitionId="org.eclipse.amp.axf.ui.active">
201 </reference>
202 </visibleWhen>
203 </command>
204 <command
205 commandId="org.eclipse.amp.axf.ui.step"
206 disabledIcon="icons/dtool16/run_step.gif"
207 icon="icons/etool16/run_step.gif"
208 label="Step"
209 style="push">
210 <visibleWhen
211 checkEnabled="false">
212 <reference
213 definitionId="org.eclipse.amp.axf.ui.active">
214 </reference>
215 </visibleWhen>
216 </command>
217 <command
218 commandId="org.eclipse.amp.axf.ui.resume"
219 disabledIcon="icons/dtool16/run_resume.gif"
220 icon="icons/etool16/run_resume.gif"
221 label="Resume"
222 style="push">
223 <visibleWhen
224 checkEnabled="false">
225 <reference
226 definitionId="org.eclipse.amp.axf.ui.active">
227 </reference>
228 </visibleWhen>
229 </command>
230 <command
231 commandId="org.eclipse.amp.axf.ui.stop"
232 disabledIcon="icons/dtool16/run_stop.gif"
233 icon="icons/etool16/run_stop.gif"
234 label="Stop"
235 style="push">
236 <visibleWhen
237 checkEnabled="false">
238 <reference
239 definitionId="org.eclipse.amp.axf.ui.active">
240 </reference>
241 </visibleWhen>
242 </command>
243 <command
244 commandId="org.eclipse.amp.axf.ui.close"
245 disabledIcon="icons/dtool16/run_close.gif"
246 icon="icons/etool16/run_close.gif"
247 label="Close"
248 style="push">
249 <visibleWhen
250 checkEnabled="false">
251 <reference
252 definitionId="org.eclipse.amp.axf.ui.active">
253 </reference>
254 </visibleWhen>
255 </command>
mparker337dad02009-12-09 02:18:33 +0000256 <control
mparker035f7972009-06-24 03:17:06 +0000257 class="org.eclipse.amp.axf.ide.view.ScaleGranularityControl"
258 id="org.eclipse.amp.axf.view.ui.slider">
259 <visibleWhen
260 checkEnabled="false">
261 <reference
262 definitionId="org.eclipse.amp.axf.ui.active">
263 </reference>
264 </visibleWhen>
mparker337dad02009-12-09 02:18:33 +0000265 </control>
mparker035f7972009-06-24 03:17:06 +0000266 </menuContribution>
267 </extension>
268 <extension point="org.eclipse.core.expressions.definitions">
269 <definition
270 id="org.eclipse.amp.axf.ui.active">
271 <with
272 variable="activeContexts">
273 <iterate
274 operator="or">
275 <equals
276 value="org.eclipse.amp.axf.executionContext">
277 </equals>
278 </iterate>
279 </with>
280 </definition>
281 </extension>
282 <extension
283 point="org.eclipse.ui.bindings">
284 <key
285 commandId="org.eclipse.amp.axf.ui.start"
286 contextId="org.eclipse.amp.axf.activeEditorContext"
287 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
288 sequence="M2+M3+.">
289 </key>
290 <key
291 commandId="org.eclipse.amp.axf.ui.restart"
292 contextId="org.eclipse.amp.axf.activeEditorContext"
293 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
294 sequence="M2+M3+,">
295 </key>
296 <key
297 commandId="org.eclipse.amp.axf.ui.pause"
298 contextId="org.eclipse.amp.axf.activeEditorContext"
299 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
300 sequence="M2+M3+K">
301 </key>
302 <key
303 commandId="org.eclipse.amp.axf.ui.resume"
304 contextId="org.eclipse.amp.axf.activeEditorContext"
305 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
306 sequence="M2+M3+L">
307 </key>
308 <key
309 commandId="org.eclipse.amp.axf.ui.step"
310 contextId="org.eclipse.amp.axf.activeEditorContext"
311 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
312 sequence="M2+M3+SPACE">
313 </key>
314 </extension>
315 <extension
316 point="org.eclipse.ui.contexts">
317 <context
318 description="Executing model within Eclipse"
319 id="org.eclipse.amp.axf.executionContext"
320 name="Model Executing"
321 parentId="org.eclipse.ui.contexts.window">
322 </context>
323 <context
324 id="org.eclipse.amp.axf.activeEditorContext"
325 name="Model View">
326 </context>
327 </extension>
328
329 <extension
330 point="org.eclipse.ui.views">
mparker035f7972009-06-24 03:17:06 +0000331 <view
332 allowMultiple="false"
mparkerf3bd2ba2010-01-13 17:38:48 +0000333 category="org.eclipse.amp.axf.views"
mparker035f7972009-06-24 03:17:06 +0000334 class="org.eclipse.amp.axf.ide.ModelManagerViewPart"
335 icon="icons/etool16/model_mananger.gif"
336 id="org.eclipse.amp.view.ModelManager"
337 name="Model Manager"
338 restorable="false">
339 </view>
340 </extension>
341 <extension
342 point="org.eclipse.ui.perspectives">
343 <perspective
344 class="org.eclipse.amp.axf.ide.ExecutionPerspectiveFactory"
mparkere9387422010-01-26 05:52:23 +0000345 icon="icons/etool16/execution16.png"
mparker035f7972009-06-24 03:17:06 +0000346 id="org.eclipse.amp.axf.ExecutionPerspective"
347 name="Agent Execution">
348 <description>
mparkere9387422010-01-26 05:52:23 +0000349 Executing Agent Models.
mparker035f7972009-06-24 03:17:06 +0000350 </description>
351 </perspective>
352 </extension>
353 <extension point="org.eclipse.ui.perspectiveExtensions">
354 <perspectiveExtension
355 targetID="org.eclipse.amp.axf.ExecutionPerspective">
356 <view
357 id="org.eclipse.jdt.ui.PackageExplorer"
358 minimized="false"
359 ratio=".25"
360 relationship="left"
361 relative="org.eclipse.ui.editorss"
362 standalone="false"
363 visible="true">
364 </view>
365 <view
mparker035f7972009-06-24 03:17:06 +0000366 id="org.eclipse.ui.views.PropertySheet"
367 minimized="false"
368 ratio=".70"
369 relationship="bottom"
370 relative="org.eclipse.jdt.ui.PackageExplorer"
371 visible="true">
372 </view>
373 <view
374 id="org.eclipse.ui.views.ProblemView"
375 minimized="true"
376 ratio=".8"
377 relationship="bottom"
378 relative="org.eclipse.ui.editorss"
379 visible="true">
380 </view>
381 <view
382 id="org.eclipse.ui.console.ConsoleView"
383 minimized="true"
384 relationship="stack"
385 relative="org.eclipse.ui.views.ProblemView"
386 visible="true">
387 </view>
388 <view
389 id="org.eclipse.pde.runtime.LogView"
390 minimized="true"
391 relationship="stack"
392 relative="org.eclipse.ui.views.ProblemView"
393 visible="true">
394 </view>
395 <view
396 id="org.eclipse.ui.views.ProgressView"
397 minimized="false"
398 relationship="stack"
399 relative="org.eclipse.ui.views.ProblemView">
400 </view>
401 <view
402 id="org.eclipse.amp.view.ModelManager"
403 relationship="stack"
404 relative="org.eclipse.jdt.ui.PackageExplorer"
405 visible="true">
406 </view>
407 <viewShortcut
408 id="org.eclipse.ui.views.PropertySheet">
409 </viewShortcut>
410 <viewShortcut
411 id="org.eclipse.ui.views.ProblemView">
412 </viewShortcut>
413 <viewShortcut
414 id="org.eclipse.ui.console.ConsoleView">
415 </viewShortcut>
416 <viewShortcut
417 id="org.eclipse.pde.runtime.LogView">
418 </viewShortcut>
419 <viewShortcut
420 id="org.eclipse.jdt.ui.SourceView">
421 </viewShortcut>
422 <viewShortcut
423 id="org.eclipse.ui.views.ProgressView">
424 </viewShortcut>
mparker035f7972009-06-24 03:17:06 +0000425 <viewShortcut
426 id="org.eclipse.amp.view.ModelManager">
427 </viewShortcut>
428 </perspectiveExtension>
429<!-- <perspectiveExtension
430 targetID="???">
431 <perspectiveShortcut
432 id="org.eclipse.amp.axf.ExecutionPerspective">
433 </perspectiveShortcut>
434 <newWizardShortcut
435 id="org.eclipse.amp.escape.wizards.newProject">
436 </newWizardShortcut>
437 <newWizardShortcut
438 id="org.eclipse.amp.escape.wizards.newParameters">
439 </newWizardShortcut>
440 <newWizardShortcut
441 id="org.eclipse.amp.escape.wizards.newTest">
442 </newWizardShortcut>
443 </perspectiveExtension> -->
444 <perspectiveExtension
445 targetID="org.eclipse.jdt.ui.JavaPerspective">
446 <perspectiveShortcut
447 id="org.eclipse.amp.axf.ExecutionPerspective">
448 </perspectiveShortcut>
449 </perspectiveExtension>
450 </extension>
451 <extension
452 point="org.eclipse.ui.startup">
mparker306e6382010-01-28 19:18:58 +0000453 <startup
454 class="org.eclipse.amp.axf.ide.AXFWorkbenchPlugin">
mparker035f7972009-06-24 03:17:06 +0000455 </startup>
456 </extension>
457 </plugin>
458