blob: f66c0b801c7c95d7f6aa179323648a57c10eaa39 [file] [log] [blame]
mparker60b16b02009-06-26 07:24:58 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.4"?>
3
4<plugin>
5 <extension point="org.eclipse.ui.commands">
6 <command categoryId="org.eclipse.amp.axf.ui" id="org.eclipse.amp.escape.runtime.execute"
7 name="Execute">
8 </command>
9 <command categoryId="org.eclipse.amp.axf.ui"
10 id="org.eclipse.amp.escape.runtime.executeHeadless" name="Execute Headless">
11 </command>
mparker60b16b02009-06-26 07:24:58 +000012 </extension>
13 <extension point="org.eclipse.ui.menus">
14 <menuContribution locationURI="popup:org.eclipse.ui.popup.any">
mparker088c5372009-09-09 18:56:22 +000015 <command
16 commandId="org.eclipse.amp.escape.runtime.execute"
17 icon="icons/etool16/execute.gif"
18 id="Execute Headless"
19 label="Execute"
20 style="push"
21 tooltip="Execute Escape Java model.">
22 <visibleWhen checkEnabled="false">
23 <reference
24 definitionId="org.eclipse.amp.escape.allowexecute">
25 </reference>
mparker60b16b02009-06-26 07:24:58 +000026 </visibleWhen>
27 </command>
28 <command commandId="org.eclipse.amp.escape.runtime.executeHeadless"
mparker088c5372009-09-09 18:56:22 +000029 icon="icons/etool16/execute_headless.gif" style="push" tooltip="Execute Escape Java model.">
30 <visibleWhen checkEnabled="false">
31 <reference
32 definitionId="org.eclipse.amp.escape.allowexecute">
33 </reference>
mparker60b16b02009-06-26 07:24:58 +000034 </visibleWhen>
35 </command>
36 </menuContribution>
37 <menuContribution
38 locationURI="toolbar:org.eclipse.amp.escape.ide.launch?after=additions">
39 <command commandId="org.eclipse.amp.escape.runtime.execute"
mparkerb9344072009-09-04 02:02:12 +000040 icon="icons/etool16/execute.gif" label="Execute" style="push"
mparker088c5372009-09-09 18:56:22 +000041 tooltip="Execute Escape Java model.">
mparker60b16b02009-06-26 07:24:58 +000042 <visibleWhen checkEnabled="false">
43 <reference definitionId="org.eclipse.amp.escape.allowexecute">
44 </reference>
45 </visibleWhen>
46 </command>
47 <command commandId="org.eclipse.amp.escape.runtime.executeHeadless"
mparkerb9344072009-09-04 02:02:12 +000048 icon="icons/etool16/execute_headless.gif" label="Execute Headless" style="push"
mparker088c5372009-09-09 18:56:22 +000049 tooltip="Execute Escape Java model without views.">
mparker60b16b02009-06-26 07:24:58 +000050 <visibleWhen checkEnabled="false">
51 <reference definitionId="org.eclipse.amp.escape.allowexecute">
52 </reference>
53 </visibleWhen>
54 </command>
mparker60b16b02009-06-26 07:24:58 +000055 </menuContribution>
56 <menuContribution locationURI="menu:org.eclipse.amp.axf.ui.menu?after=additions">
57 <command commandId="org.eclipse.amp.escape.runtime.execute"
mparkerb9344072009-09-04 02:02:12 +000058 icon="icons/etool16/execute.gif" label="Execute" style="push"
mparker088c5372009-09-09 18:56:22 +000059 tooltip="Execute Escape Java model.">
mparker60b16b02009-06-26 07:24:58 +000060 <visibleWhen checkEnabled="false">
61 <reference definitionId="org.eclipse.amp.escape.allowexecute">
62 </reference>
63 </visibleWhen>
64 </command>
65 <command commandId="org.eclipse.amp.escape.runtime.executeHeadless"
mparkerb9344072009-09-04 02:02:12 +000066 icon="icons/etool16/execute_headless.gif" label="Execute Headless" style="push"
mparker088c5372009-09-09 18:56:22 +000067 tooltip="Execute Escape Java model without views.">
mparker60b16b02009-06-26 07:24:58 +000068 <visibleWhen checkEnabled="false">
69 <reference definitionId="org.eclipse.amp.escape.allowexecute">
70 </reference>
71 </visibleWhen>
72 </command>
73 </menuContribution>
74
mparker60b16b02009-06-26 07:24:58 +000075 <menuContribution
76 locationURI="toolbar:org.eclipse.ui.main.toolbar?after=additions">
77 <toolbar
78 id="org.eclipse.amp.escape.ide.launch">
79 </toolbar>
80 </menuContribution>
81 </extension>
82 <extension point="org.eclipse.core.expressions.definitions">
83 <definition id="org.eclipse.amp.escape.allowexecute">
84 <or>
85 <with variable="selection">
86 <iterate ifEmpty="false">
87 <adapt type="org.eclipse.jdt.core.ICompilationUnit">
88 </adapt>
89 </iterate>
90 </with>
91 </or>
92 </definition>
mparker60b16b02009-06-26 07:24:58 +000093 </extension>
94 <extension point="org.eclipse.ui.handlers">
95 <handler class="org.eclipse.amp.escape.command.ExecuteJavaHandler"
96 commandId="org.eclipse.amp.escape.runtime.execute">
97 <activeWhen>
98 <reference definitionId="org.eclipse.amp.escape.allowexecute">
99 </reference>
100 </activeWhen>
101 <enabledWhen>
102 <reference definitionId="org.eclipse.amp.escape.allowexecute">
103 </reference>
104 </enabledWhen>
105 </handler>
106 <handler class="org.eclipse.amp.escape.command.ExecuteJavaHeadlessHandler"
107 commandId="org.eclipse.amp.escape.runtime.executeHeadless">
108 <activeWhen>
109 <reference definitionId="org.eclipse.amp.escape.allowexecute">
110 </reference>
111 </activeWhen>
112 <enabledWhen>
113 <reference definitionId="org.eclipse.amp.escape.allowexecute">
114 </reference>
115 </enabledWhen>
116 </handler>
mparker60b16b02009-06-26 07:24:58 +0000117 </extension>
118 <extension point="org.eclipse.ui.bindings">
119 <key commandId="org.eclipse.amp.escape.runtime.execute" contextId="org.eclipse.ui.contexts.window"
120 schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" sequence="M1+L">
121 </key>
122 </extension>
mparkerb9344072009-09-04 02:02:12 +0000123<extension point="org.eclipse.ui.newWizards">
mparker02499952009-09-08 01:47:13 +0000124 <wizard category="org.eclipse.amp.amf.ide.wizards"
mparkerb9344072009-09-04 02:02:12 +0000125 class="org.eclipse.amp.escape.ide.ParameterFileWizard" icon="icons/etool16/parameter_file.gif"
mparker02499952009-09-08 01:47:13 +0000126 id="org.eclipse.amp.escape.wizards.newParameters" name="Parameters File">
mparker60b16b02009-06-26 07:24:58 +0000127 </wizard>
mparker02499952009-09-08 01:47:13 +0000128 <wizard category="org.eclipse.amp.amf.ide.wizards" class="org.eclipse.amp.escape.ide.TestRunFileWizard"
mparkerb9344072009-09-04 02:02:12 +0000129 icon="icons/etool16/test.gif" id="org.eclipse.amp.escape.wizards.newTest"
mparker60b16b02009-06-26 07:24:58 +0000130 name="Test File">
131 </wizard>
mparkerb9344072009-09-04 02:02:12 +0000132 </extension>
mparker60b16b02009-06-26 07:24:58 +0000133
134 <extension point="org.eclipse.ui.perspectiveExtensions">
135 <perspectiveExtension targetID="org.eclipse.amp.axf.ExecutionPerspective">
136 <view id="org.eclipse.amp.view.GEFView:*" ratio=".8"
mparkerd0860502009-12-17 18:49:03 +0000137 relationship="left" relative="org.eclipse.ui.editorss" visible="false">
mparker60b16b02009-06-26 07:24:58 +0000138 </view>
139 <view id="org.eclipse.amp.view.GEF3DView:*" ratio=".8"
mparkerd0860502009-12-17 18:49:03 +0000140 relationship="left" relative="org.eclipse.ui.editorss" visible="false">
mparker60b16b02009-06-26 07:24:58 +0000141 </view>
142 <view id="org.eclipse.amp.escape.view.GraphicsView:*" ratio=".8"
mparkerd0860502009-12-17 18:49:03 +0000143 relationship="left" relative="org.eclipse.ui.editorss" visible="false">
mparker60b16b02009-06-26 07:24:58 +0000144 </view>
145 <view id="org.eclipse.amp.view.TreeView:*" ratio=".8"
mparkerd0860502009-12-17 18:49:03 +0000146 relationship="left" relative="org.eclipse.ui.editorss" visible="false">
mparker60b16b02009-06-26 07:24:58 +0000147 </view>
148 <viewShortcut id="org.eclipse.amp.escape.view.GraphicsView">
149 </viewShortcut>
150 <viewShortcut id="org.eclipse.amp.view.TreeView">
151 </viewShortcut>
152 </perspectiveExtension>
mparkerb9344072009-09-04 02:02:12 +0000153 <perspectiveExtension targetID="org.eclipse.amp.amf.AgentModelingPerspective"> <perspectiveShortcut
mparker60b16b02009-06-26 07:24:58 +0000154 id="org.eclipse.amp.axf.ExecutionPerspective"> </perspectiveShortcut>
155 <newWizardShortcut id="org.eclipse.amp.escape.wizards.newProject">
156 </newWizardShortcut> <newWizardShortcut
157 id="org.eclipse.amp.escape.wizards.newParameters">
158 </newWizardShortcut> <newWizardShortcut
159 id="org.eclipse.amp.escape.wizards.newTest"> </newWizardShortcut>
160 </perspectiveExtension> <perspectiveExtension
161 targetID="org.eclipse.jdt.ui.JavaPerspective"> <perspectiveShortcut
162 id="org.eclipse.amp.axf.ExecutionPerspective"> </perspectiveShortcut>
163 </perspectiveExtension>
mparker60b16b02009-06-26 07:24:58 +0000164 </extension>
mparkere6fc5162009-08-03 17:17:59 +0000165<!-- <extension point="org.eclipse.ui.editors">
mparker60b16b02009-06-26 07:24:58 +0000166 <editor class="org.eclipse.ui.editors.text.TextEditor" default="false"
167 extensions="apar" icon="icons/etool16/run_parameter.gif" id="org.eclipse.amp.escape.ide.ParameterEditor"
168 name="Model Parameters">
169 </editor>
170 <editor class="org.eclipse.ui.editors.text.TextEditor" default="false"
mparkera5a3c1d2009-07-23 04:03:43 +0000171 extensions="atest" icon="icons/test_file.gif" id="org.eclipse.amp.escape.ide.TestEditor"
mparker60b16b02009-06-26 07:24:58 +0000172 name="Model Test">
173 </editor>
mparkere6fc5162009-08-03 17:17:59 +0000174 </extension>-->
mparker60b16b02009-06-26 07:24:58 +0000175</plugin>
176