OSGi Frameworks

org.eclipse.pde.ui.osgiFrameworks

3.3

This extension point is used to register new OSGi frameworks. Each framework is associated with a launcher delegate that is called when the OSGi framework is selected in the OSGi Framework launch configuration.

Registered OSGi frameworks appear on the Plug-in Development > OSGi frameworks preference page, where a default framework can be set.

<!ELEMENT extension (framework+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT framework EMPTY>

<!ATTLIST framework

id               CDATA #REQUIRED

name             CDATA #REQUIRED

launcherDelegate CDATA #REQUIRED

initializer      CDATA #IMPLIED>


The following is an example of the extension point:

   

<extension point=

"org.eclipse.pde.ui.osgiFrameworks"

>

<framework launcherDelegate=

"org.eclipse.pde.ui.launcher.EquinoxLaunchConfiguration"

id=

"org.eclipse.pde.ui.EquinoxFramework"

name=

"%Equinox.shortcut.label"

initializer=

"org.eclipse.pde.internal.ui.launcher.EquinoxInitializer"

/>

</extension>

The value of the attribute launcherDelegate must be a fully qualified name of a Java class that extends org.eclipse.pde.ui.launcher.AbstractPDELaunchConfiguration. If the launcher is to provide its own source lookup order, then the method setDefaultSourceLocator should be overridden.

The value of the attribute initializer must be a fully qualified name of a Java class that extends org.eclipse.ui.launcher.OSGiLaunchConfigurationInitializer.

PDE supplies the Equinox OSGi Framework extension to launch Equinox frameworks.