Startup

Identifier:
org.eclipse.ui.startup

Since:
2.0

Description:
This extension point is used to register plug-ins that want to be activated on startup. 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. The class specified by the startup element's class attribute will be instantiated and earlyStartup() will be called on the result. 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). If the extension does not provide a class as an attribute on the startup element, the plug-in's activator (plug-in class) must implement org.eclipse.ui.IStartup. Note that this form is deprecated and should no longer be used. Its functioning relies on the availability of the org.eclipse.core.runtime.compatibility plug-in and the org.eclipse.core.runtime.compatibility.registry fragment. Plug-ins that provide an extension to this extension point are listed in the workbench preferences and the user may disable any plug-in from early startup.

Configuration Markup:

<!ELEMENT extension (startup*)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT startup EMPTY>

<!ATTLIST startup

class CDATA #IMPLIED>


Examples:
Following is an example of a startup extension:

   <extension point="org.eclipse.ui.startup">
     <startup class="org.eclipse.example.StartupClass"/>
   </extension>

API Information:
See interface org.eclipse.ui.IStartup.


Copyright (c) 2002, 2013 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html