Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Job metadata tag allows you to specify what kind of Eclipse Job that your Groovy Monkey script will be run in. By
default it is set to Job, but UIJob and WorkspaceJob are also available. In Eclipse it is best to run almost all of your
code from outside the UI Thread so UIJob is not recommended. To enable you to access UI elements from within your script
there is a Runner DOM that enables your script to pass a Runnable object that can be called from the asyncExec() or syncExec() methods. For Groovy the JFace DOM allows you to pass a Closure directly to be invoked from either asyncExec()
or syncExec().

Exec-Mode metadata keyword

...