Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Platform Plug-in Development Environment Guide
Previous Page Home Next Page

OSGi Frameworks

Identifier:
org.eclipse.pde.ui.osgiFrameworks

Since:
3.3

Description:

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.

Configuration Markup:

<!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

>

  • id - a unique identifier of the framework
  • name - human-readable name of the OSGi framework
  • launcherDelegate - a launch configuration delegate to launch the OSGi framework. The value of this attribute is the fully qualified name of the Java class that extends org.eclipse.pde.ui.launcher.AbstractPDELaunchConfiguration.
  • initializer - initializes new OSGi Framework launch configurations with suitable defaults. The value of this attribute must be a fully-qualified name of a Java class that extends the default implementation org.eclipse.pde.ui.launcher.OSGiLaunchConfigurationInitializer. If not specified, the default initializer org.eclipse.pde.ui.launcher.OSGiLaunchConfigurationInitializer is instantiated.

Examples:

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>

Supplied Implementation:

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


Copyright (c) 2006 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 https://www.eclipse.org/legal/epl-v10.html.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire