Package org.eclipse.gef.fx
Class FxBundle
java.lang.Object
org.eclipse.gef.fx.FxBundle
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
The
BundleActivator
for the FX bundle.-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
PLUGIN_ID
The plug-in id of the FX bundle.- See Also:
-
-
Constructor Details
-
FxBundle
public FxBundle()
-
-
Method Details
-
getContext
public static org.osgi.framework.BundleContext getContext()If the bundle has been started, returns theBundleContext
associated to it.- Returns:
- The
BundleContext
of the module if this bundle was started (start(BundleContext)
) and has since not been stopped (stop(BundleContext)
),null
otherwise.
-
start
- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Throws:
Exception
-
stop
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Throws:
Exception
-