public class GraphitiUIPlugin extends AbstractUIPlugin
Modifier and Type | Field and Description |
---|---|
static String |
PLUGIN_ID |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
Constructor and Description |
---|
GraphitiUIPlugin()
Creates the Plugin and caches its default instance.
|
Modifier and Type | Method and Description |
---|---|
static GraphitiUIPlugin |
getDefault()
Gets the default-instance of this plugin.
|
void |
start(org.osgi.framework.BundleContext context)
This method is called upon plug-in activation.
|
void |
stop(org.osgi.framework.BundleContext context)
This method is called when the plug-in is stopped.
|
getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, shutdown, startup
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
public static final String PLUGIN_ID
public GraphitiUIPlugin()
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
start
in class AbstractUIPlugin
context
- the contextException
- the exceptionpublic void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class AbstractUIPlugin
context
- the contextException
- the exceptionpublic static GraphitiUIPlugin getDefault()