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.
<!ELEMENT extension (startup*)>
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance
<!ELEMENT startup EMPTY>
class CDATA #IMPLIED>
- class - a fully qualified name of the class that implements
Mandatory since 3.0. Do not specify the plug-in class as it would be instantiated twice (once by regular plug-in activation, and once by this mechanism).
Examples: Following is an example of a startup 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