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.Plugin
The activator class controls the plug-in life cycle. Auto generated by RCP.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static ActivatorThe shared instance.static final StringThe plug-in ID.Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ActivatorReturns 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, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
-
Field Details
-
PLUGIN_ID
The plug-in ID.- See Also:
-
plugin
The shared instance.
-
-
Constructor Details
-
Activator
public Activator()The constructor.
-
-
Method Details
-
start
TheAbstractUIPluginimplementation 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:
Exception- if this plug-in did not start up properly
-
stop
TheAbstractUIPluginimplementation 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:
Exception- if this plug-in did not start up properly
-
getDefault
Returns the shared instance.- Returns:
- the shared instance
-