public class Activator extends AbstractUIPlugin
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEFAULT_SCRIPTS_ALLOW_UI_ACCESS |
static String |
PLUGIN_ID |
static String |
PREFERENCES_NODE_SCRIPTS |
static 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(String bundleID,
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 String PLUGIN_ID
public static final String PREFERENCES_NODE_SCRIPTS
public static final 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 Exception
start in interface org.osgi.framework.BundleActivatorstart in class AbstractUIPluginExceptionpublic void stop(org.osgi.framework.BundleContext context)
throws Exception
stop in interface org.osgi.framework.BundleActivatorstop in class AbstractUIPluginExceptionpublic org.osgi.framework.BundleContext getContext()
public static ImageDescriptor getImageDescriptor(String bundleID, String path)
ImageDescriptor for a given bundle/path location.bundleID - path -