public class Activator extends AbstractUIPlugin
Modifier and Type | Field and Description |
---|---|
static String |
DEBUG_LAZY |
static String |
DEBUG_TIMING |
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 void |
debugLog(String msg) |
static Activator |
getDefault()
Returns the shared instance
|
static ImageDescriptor |
getImageDescriptor(String path)
Returns an image descriptor for the image file at the given
plug-in relative path
|
static IStatus |
handleError(Throwable e,
String message,
int style,
Object... args) |
static boolean |
isDebugging(String option) |
static void |
resetLogTimer() |
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 static final String DEBUG_TIMING
public static final String DEBUG_LAZY
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 ImageDescriptor getImageDescriptor(String path)
path
- the pathpublic static boolean isDebugging(String option)
public static void resetLogTimer()
public static void debugLog(String msg)