org.eclipse.dstore.extra
Class Activator
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.dstore.extra.Activator
- All Implemented Interfaces:
- BundleActivator
public class Activator
- extends Plugin
The main plugin class to be used in the desktop.
Constructor Summary |
Activator()
The constructor. |
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 |
Activator
public Activator()
- The constructor.
start
public void start(BundleContext context)
throws Exception
- This method is called upon plug-in activation
- Specified by:
start
in interface BundleActivator
- Overrides:
start
in class Plugin
- Throws:
Exception
stop
public void stop(BundleContext context)
throws Exception
- This method is called when the plug-in is stopped
- Specified by:
stop
in interface BundleActivator
- Overrides:
stop
in class Plugin
- Throws:
Exception
getDefault
public static Activator getDefault()
- Returns:
- the shared instance of this plugin.
Guidelines for using DataStore APIs.