public class Activator 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 |
---|
Activator()
The constructor
|
Modifier and Type | Method and Description |
---|---|
static Activator |
getDefault()
Returns the shared instance
|
static Activator |
getDefaultInstance() |
static ImageDescriptor |
getImageDescriptor(String path)
Returns an image descriptor for the image file at the given plug-in
relative path
|
static IStatus |
handleError(Throwable cause) |
static IStatus |
handleError(Throwable cause,
String message,
Object... args) |
IStatus |
handleProblem(int severity,
String message,
Throwable cause) |
IStatus |
handleProblem(int severity,
Throwable e) |
static IStatus |
handleWarning(Throwable cause) |
static IStatus |
handleWarning(Throwable cause,
String message,
Object... args) |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
public static final String PLUGIN_ID
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
start
in class AbstractUIPlugin
Exception
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class AbstractUIPlugin
Exception
public static Activator getDefault()
public static Activator getDefaultInstance()
public static ImageDescriptor getImageDescriptor(String path)
path
- the path