public class Activator extends AbstractUIPlugin
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_SCRIPTS_ALLOW_UI_ACCESS |
static java.lang.String |
PLUGIN_ID |
static java.lang.String |
PREFERENCES_NODE_SCRIPTS |
static java.lang.String |
SCRIPTS_ALLOW_UI_ACCESS |
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME| Constructor and Description |
|---|
Activator() |
| Modifier and Type | Method and Description |
|---|---|
org.osgi.framework.BundleContext |
getContext() |
static Activator |
getDefault() |
static ImageDescriptor |
getImageDescriptor(java.lang.String bundleID,
java.lang.String path)
Get
ImageDescriptor for a given bundle/path location. |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, shutdown, startupfind, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toStringpublic static final java.lang.String PLUGIN_ID
public static final java.lang.String PREFERENCES_NODE_SCRIPTS
public static final java.lang.String SCRIPTS_ALLOW_UI_ACCESS
public static final boolean DEFAULT_SCRIPTS_ALLOW_UI_ACCESS
public static Activator getDefault()
public void start(org.osgi.framework.BundleContext context)
throws java.lang.Exception
start in interface org.osgi.framework.BundleActivatorstart in class AbstractUIPluginjava.lang.Exceptionpublic void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
stop in interface org.osgi.framework.BundleActivatorstop in class AbstractUIPluginjava.lang.Exceptionpublic org.osgi.framework.BundleContext getContext()
public static ImageDescriptor getImageDescriptor(java.lang.String bundleID, java.lang.String path)
ImageDescriptor for a given bundle/path location.bundleID - path -