Startup

org.eclipse.ui.startup

Release 2.0

This extension point is used to register plugins that want to be activated on startup. The plugin class or the class given as the attribute on the startup element must implement the interface org.eclipse.ui.IStartup. Once the workbench is started, the method earlyStartup() will be called from a separate thread. If the startup element has a class attribute, the class will be instantiated and earlyStartup() will be called on the result. Otherwise, this method will be called on the plug-in class. Do not specify the plug-in class as the value of the class attribute, or it will be instantiated twice (once by regular plug-in activation, and once by this mechanism). These plugins are listed in the workbench preferences and the user may disable any plugin from early startup.

<!ELEMENT extension (startup*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT startup EMPTY>

<!ATTLIST startup

class CDATA #IMPLIED>


Following is an example of a startup extension:
   

<extension point=

"org.eclipse.ui.startup"

>

<startup class=

"org.eclipse.example.StartupClass"

/>

</extension>

See interface org.eclipse.ui.IStartup.