mparker | 035f797 | 2009-06-24 03:17:06 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <?eclipse version="3.0"?> |
| 3 | |
| 4 | <!-- |
| 5 | <copyright> |
| 6 | </copyright> |
| 7 | |
mparker | cef1f1a | 2009-10-30 03:25:06 +0000 | [diff] [blame] | 8 | $Id: plugin.xml,v 1.4 2009/10/30 03:25:06 mparker Exp $ |
mparker | 035f797 | 2009-06-24 03:17:06 +0000 | [diff] [blame] | 9 | --> |
| 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"> |
mparker | 035f797 | 2009-06-24 03:17:06 +0000 | [diff] [blame] | 166 | <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> |
| 256 | <!-- <control |
| 257 | 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> |
| 265 | </control>--> |
| 266 | </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"> |
| 331 | <category |
| 332 | id="org.eclipse.amp.execution" |
| 333 | name="Model Execution"> |
| 334 | </category> |
| 335 | <view |
| 336 | allowMultiple="false" |
| 337 | category="org.eclipse.amp.execution" |
| 338 | class="org.eclipse.amp.axf.ide.ModelManagerViewPart" |
| 339 | icon="icons/etool16/model_mananger.gif" |
| 340 | id="org.eclipse.amp.view.ModelManager" |
| 341 | name="Model Manager" |
| 342 | restorable="false"> |
| 343 | </view> |
| 344 | </extension> |
| 345 | <extension |
| 346 | point="org.eclipse.ui.perspectives"> |
| 347 | <perspective |
| 348 | class="org.eclipse.amp.axf.ide.ExecutionPerspectiveFactory" |
| 349 | icon="icons/etool16/generic_agent.gif" |
| 350 | id="org.eclipse.amp.axf.ExecutionPerspective" |
| 351 | name="Agent Execution"> |
| 352 | <description> |
| 353 | Executing Escape models. |
| 354 | </description> |
| 355 | </perspective> |
| 356 | </extension> |
| 357 | <extension point="org.eclipse.ui.perspectiveExtensions"> |
| 358 | <perspectiveExtension |
| 359 | targetID="org.eclipse.amp.axf.ExecutionPerspective"> |
| 360 | <view |
| 361 | id="org.eclipse.jdt.ui.PackageExplorer" |
| 362 | minimized="false" |
| 363 | ratio=".25" |
| 364 | relationship="left" |
| 365 | relative="org.eclipse.ui.editorss" |
| 366 | standalone="false" |
| 367 | visible="true"> |
| 368 | </view> |
| 369 | <view |
mparker | 035f797 | 2009-06-24 03:17:06 +0000 | [diff] [blame] | 370 | id="org.eclipse.ui.views.PropertySheet" |
| 371 | minimized="false" |
| 372 | ratio=".70" |
| 373 | relationship="bottom" |
| 374 | relative="org.eclipse.jdt.ui.PackageExplorer" |
| 375 | visible="true"> |
| 376 | </view> |
| 377 | <view |
| 378 | id="org.eclipse.ui.views.ProblemView" |
| 379 | minimized="true" |
| 380 | ratio=".8" |
| 381 | relationship="bottom" |
| 382 | relative="org.eclipse.ui.editorss" |
| 383 | visible="true"> |
| 384 | </view> |
| 385 | <view |
| 386 | id="org.eclipse.ui.console.ConsoleView" |
| 387 | minimized="true" |
| 388 | relationship="stack" |
| 389 | relative="org.eclipse.ui.views.ProblemView" |
| 390 | visible="true"> |
| 391 | </view> |
| 392 | <view |
| 393 | id="org.eclipse.pde.runtime.LogView" |
| 394 | minimized="true" |
| 395 | relationship="stack" |
| 396 | relative="org.eclipse.ui.views.ProblemView" |
| 397 | visible="true"> |
| 398 | </view> |
| 399 | <view |
| 400 | id="org.eclipse.ui.views.ProgressView" |
| 401 | minimized="false" |
| 402 | relationship="stack" |
| 403 | relative="org.eclipse.ui.views.ProblemView"> |
| 404 | </view> |
| 405 | <view |
| 406 | id="org.eclipse.amp.view.ModelManager" |
| 407 | relationship="stack" |
| 408 | relative="org.eclipse.jdt.ui.PackageExplorer" |
| 409 | visible="true"> |
| 410 | </view> |
| 411 | <viewShortcut |
| 412 | id="org.eclipse.ui.views.PropertySheet"> |
| 413 | </viewShortcut> |
| 414 | <viewShortcut |
| 415 | id="org.eclipse.ui.views.ProblemView"> |
| 416 | </viewShortcut> |
| 417 | <viewShortcut |
| 418 | id="org.eclipse.ui.console.ConsoleView"> |
| 419 | </viewShortcut> |
| 420 | <viewShortcut |
| 421 | id="org.eclipse.pde.runtime.LogView"> |
| 422 | </viewShortcut> |
| 423 | <viewShortcut |
| 424 | id="org.eclipse.jdt.ui.SourceView"> |
| 425 | </viewShortcut> |
| 426 | <viewShortcut |
| 427 | id="org.eclipse.ui.views.ProgressView"> |
| 428 | </viewShortcut> |
mparker | 035f797 | 2009-06-24 03:17:06 +0000 | [diff] [blame] | 429 | <viewShortcut |
| 430 | id="org.eclipse.amp.view.ModelManager"> |
| 431 | </viewShortcut> |
| 432 | </perspectiveExtension> |
| 433 | <!-- <perspectiveExtension |
| 434 | targetID="???"> |
| 435 | <perspectiveShortcut |
| 436 | id="org.eclipse.amp.axf.ExecutionPerspective"> |
| 437 | </perspectiveShortcut> |
| 438 | <newWizardShortcut |
| 439 | id="org.eclipse.amp.escape.wizards.newProject"> |
| 440 | </newWizardShortcut> |
| 441 | <newWizardShortcut |
| 442 | id="org.eclipse.amp.escape.wizards.newParameters"> |
| 443 | </newWizardShortcut> |
| 444 | <newWizardShortcut |
| 445 | id="org.eclipse.amp.escape.wizards.newTest"> |
| 446 | </newWizardShortcut> |
| 447 | </perspectiveExtension> --> |
| 448 | <perspectiveExtension |
| 449 | targetID="org.eclipse.jdt.ui.JavaPerspective"> |
| 450 | <perspectiveShortcut |
| 451 | id="org.eclipse.amp.axf.ExecutionPerspective"> |
| 452 | </perspectiveShortcut> |
| 453 | </perspectiveExtension> |
| 454 | </extension> |
| 455 | <extension |
| 456 | point="org.eclipse.ui.startup"> |
| 457 | <startup> |
| 458 | </startup> |
| 459 | </extension> |
| 460 | </plugin> |
| 461 | |