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).
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>
- 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>
<!ATTLIST startup
class CDATA #REQUIRED>
- class - a fully qualified name of the class that implements
org.eclipse.ui.IStartup.
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:
<extension point="org.eclipse.ui.startup">
<startup class="org.eclipse.example.StartupClass"/>
</extension>
API Information:
See interface org.eclipse.ui.IStartup.
Copyright (c) 2002, 2015 IBM Corporation and others.
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0 which accompanies
this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/
SPDX-License-Identifier: EPL-2.0