mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 1 | <?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> |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 12 | </extension>
|
| 13 | <extension point="org.eclipse.ui.menus">
|
| 14 | <menuContribution locationURI="popup:org.eclipse.ui.popup.any">
|
mparker | 088c537 | 2009-09-09 18:56:22 +0000 | [diff] [blame] | 15 | <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>
|
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 26 | </visibleWhen>
|
| 27 | </command> |
| 28 | <command commandId="org.eclipse.amp.escape.runtime.executeHeadless" |
mparker | 088c537 | 2009-09-09 18:56:22 +0000 | [diff] [blame] | 29 | 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> |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 34 | </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" |
mparker | b934407 | 2009-09-04 02:02:12 +0000 | [diff] [blame] | 40 | icon="icons/etool16/execute.gif" label="Execute" style="push" |
mparker | 088c537 | 2009-09-09 18:56:22 +0000 | [diff] [blame] | 41 | tooltip="Execute Escape Java model."> |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 42 | <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" |
mparker | b934407 | 2009-09-04 02:02:12 +0000 | [diff] [blame] | 48 | icon="icons/etool16/execute_headless.gif" label="Execute Headless" style="push" |
mparker | 088c537 | 2009-09-09 18:56:22 +0000 | [diff] [blame] | 49 | tooltip="Execute Escape Java model without views."> |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 50 | <visibleWhen checkEnabled="false"> |
| 51 | <reference definitionId="org.eclipse.amp.escape.allowexecute"> |
| 52 | </reference> |
| 53 | </visibleWhen> |
| 54 | </command> |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 55 | </menuContribution>
|
| 56 | <menuContribution locationURI="menu:org.eclipse.amp.axf.ui.menu?after=additions"> |
| 57 | <command commandId="org.eclipse.amp.escape.runtime.execute" |
mparker | b934407 | 2009-09-04 02:02:12 +0000 | [diff] [blame] | 58 | icon="icons/etool16/execute.gif" label="Execute" style="push" |
mparker | 088c537 | 2009-09-09 18:56:22 +0000 | [diff] [blame] | 59 | tooltip="Execute Escape Java model."> |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 60 | <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" |
mparker | b934407 | 2009-09-04 02:02:12 +0000 | [diff] [blame] | 66 | icon="icons/etool16/execute_headless.gif" label="Execute Headless" style="push" |
mparker | 088c537 | 2009-09-09 18:56:22 +0000 | [diff] [blame] | 67 | tooltip="Execute Escape Java model without views."> |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 68 | <visibleWhen checkEnabled="false"> |
| 69 | <reference definitionId="org.eclipse.amp.escape.allowexecute"> |
| 70 | </reference> |
| 71 | </visibleWhen> |
| 72 | </command>
|
| 73 | </menuContribution> |
| 74 | |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 75 | <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>
|
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 93 | </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> |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 117 | </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>
|
mparker | b934407 | 2009-09-04 02:02:12 +0000 | [diff] [blame] | 123 | <extension point="org.eclipse.ui.newWizards"> |
mparker | 0249995 | 2009-09-08 01:47:13 +0000 | [diff] [blame] | 124 | <wizard category="org.eclipse.amp.amf.ide.wizards" |
mparker | b934407 | 2009-09-04 02:02:12 +0000 | [diff] [blame] | 125 | class="org.eclipse.amp.escape.ide.ParameterFileWizard" icon="icons/etool16/parameter_file.gif" |
mparker | 0249995 | 2009-09-08 01:47:13 +0000 | [diff] [blame] | 126 | id="org.eclipse.amp.escape.wizards.newParameters" name="Parameters File"> |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 127 | </wizard> |
mparker | 0249995 | 2009-09-08 01:47:13 +0000 | [diff] [blame] | 128 | <wizard category="org.eclipse.amp.amf.ide.wizards" class="org.eclipse.amp.escape.ide.TestRunFileWizard" |
mparker | b934407 | 2009-09-04 02:02:12 +0000 | [diff] [blame] | 129 | icon="icons/etool16/test.gif" id="org.eclipse.amp.escape.wizards.newTest" |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 130 | name="Test File"> |
| 131 | </wizard> |
mparker | b934407 | 2009-09-04 02:02:12 +0000 | [diff] [blame] | 132 | </extension> |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 133 | |
| 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" |
mparker | d086050 | 2009-12-17 18:49:03 +0000 | [diff] [blame] | 137 | relationship="left" relative="org.eclipse.ui.editorss" visible="false"> |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 138 | </view> |
| 139 | <view id="org.eclipse.amp.view.GEF3DView:*" ratio=".8" |
mparker | d086050 | 2009-12-17 18:49:03 +0000 | [diff] [blame] | 140 | relationship="left" relative="org.eclipse.ui.editorss" visible="false"> |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 141 | </view> |
| 142 | <view id="org.eclipse.amp.escape.view.GraphicsView:*" ratio=".8" |
mparker | d086050 | 2009-12-17 18:49:03 +0000 | [diff] [blame] | 143 | relationship="left" relative="org.eclipse.ui.editorss" visible="false"> |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 144 | </view> |
| 145 | <view id="org.eclipse.amp.view.TreeView:*" ratio=".8" |
mparker | d086050 | 2009-12-17 18:49:03 +0000 | [diff] [blame] | 146 | relationship="left" relative="org.eclipse.ui.editorss" visible="false"> |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 147 | </view> |
| 148 | <viewShortcut id="org.eclipse.amp.escape.view.GraphicsView"> |
| 149 | </viewShortcut> |
| 150 | <viewShortcut id="org.eclipse.amp.view.TreeView"> |
| 151 | </viewShortcut> |
| 152 | </perspectiveExtension> |
mparker | b934407 | 2009-09-04 02:02:12 +0000 | [diff] [blame] | 153 | <perspectiveExtension targetID="org.eclipse.amp.amf.AgentModelingPerspective"> <perspectiveShortcut |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 154 | 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> |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 164 | </extension> |
mparker | e6fc516 | 2009-08-03 17:17:59 +0000 | [diff] [blame] | 165 | <!-- <extension point="org.eclipse.ui.editors"> |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 166 | <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" |
mparker | a5a3c1d | 2009-07-23 04:03:43 +0000 | [diff] [blame] | 171 | extensions="atest" icon="icons/test_file.gif" id="org.eclipse.amp.escape.ide.TestEditor" |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 172 | name="Model Test"> |
| 173 | </editor> |
mparker | e6fc516 | 2009-08-03 17:17:59 +0000 | [diff] [blame] | 174 | </extension>--> |
mparker | 60b16b0 | 2009-06-26 07:24:58 +0000 | [diff] [blame] | 175 | </plugin> |
| 176 | |