Package net.ssehub.easy.producer.eclipse
Class Activator
- java.lang.Object
-
- org.eclipse.core.runtime.Plugin
-
- net.ssehub.easy.producer.eclipse.Activator
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class Activator extends org.eclipse.core.runtime.PluginThe activator class controls the plug-in life cycle. Auto generated by RCP.
-
-
Constructor Summary
Constructors Constructor Description Activator()The constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActivatorgetDefault()Returns the shared instance.voidstart(org.osgi.framework.BundleContext context)TheAbstractUIPluginimplementation of thisPluginmethod refreshes the plug-in actions.
This instance is created.voidstop(org.osgi.framework.BundleContext context)TheAbstractUIPluginimplementation of thisPluginmethod saves this plug-in's preference and dialog stores and shuts down its image registry (if they are in use).-
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
-
-
-
-
Field Detail
-
PLUGIN_ID
public static final java.lang.String PLUGIN_ID
The plug-in ID.- See Also:
- Constant Field Values
-
plugin
private static Activator plugin
The shared instance.
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext context) throws java.lang.ExceptionTheAbstractUIPluginimplementation of thisPluginmethod refreshes the plug-in actions.
This instance is created.- Specified by:
startin interfaceorg.osgi.framework.BundleActivator- Overrides:
startin classorg.eclipse.core.runtime.Plugin- Parameters:
context- the bundle context for this plug-in- Throws:
java.lang.Exception- if this plug-in did not start up properly
-
stop
public void stop(org.osgi.framework.BundleContext context) throws java.lang.ExceptionTheAbstractUIPluginimplementation of thisPluginmethod saves this plug-in's preference and dialog stores and shuts down its image registry (if they are in use).- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Overrides:
stopin classorg.eclipse.core.runtime.Plugin- Parameters:
context- the bundle context for this plug-in- Throws:
java.lang.Exception- if this plug-in did not start up properly
-
getDefault
public static Activator getDefault()
Returns the shared instance.- Returns:
- the shared instance
-
-