Start jobs immediately after the workbench started

There are several options to start jobs immediately after workbench started:

  • Use the org.eclipse.ui.startup extension point in your plugin.xml. Note that UI manipulations have to be executed by Display.syncExec() resp Display.asyncExec() as we are not in UI thread at that moment.
  • ApplicationWorkbenchWindowAdvisor has several methods like postWindowOpen where custom code can be executed.
  • Using UIJob. When you place a job in that queue it will be executed as soon as the workbench is fully initialized.
  • Put code in the start method of Activator. This method is called very early and can hardly be used for UI stuff.