Package org.eclipse.gef.fx
Class FxBundle
- java.lang.Object
-
- org.eclipse.gef.fx.FxBundle
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class FxBundle extends java.lang.Object implements org.osgi.framework.BundleActivatorTheBundleActivatorfor the FX bundle.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPLUGIN_IDThe plug-in id of the FX bundle.
-
Constructor Summary
Constructors Constructor Description FxBundle()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.osgi.framework.BundleContextgetContext()If the bundle has been started, returns theBundleContextassociated to it.voidstart(org.osgi.framework.BundleContext bundleContext)voidstop(org.osgi.framework.BundleContext bundleContext)
-
-
-
Field Detail
-
PLUGIN_ID
public static final java.lang.String PLUGIN_ID
The plug-in id of the FX bundle.- See Also:
- Constant Field Values
-
-
Method Detail
-
getContext
public static org.osgi.framework.BundleContext getContext()
If the bundle has been started, returns theBundleContextassociated to it.- Returns:
- The
BundleContextof the module if this bundle was started (start(BundleContext)) and has since not been stopped (stop(BundleContext)),nullotherwise.
-
start
public void start(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception- Specified by:
startin interfaceorg.osgi.framework.BundleActivator- Throws:
java.lang.Exception
-
stop
public void stop(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Throws:
java.lang.Exception
-
-