public class InstancePlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin
Constructor and Description |
---|
InstancePlugin()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static InstancePlugin |
getDefault()
Returns the shared instance.
|
static java.lang.String |
getPluginId() |
java.util.ResourceBundle |
getResourceBundle()
Returns the plugin's resource bundle,
|
static java.lang.String |
getResourceString(java.lang.String key)
Returns the string from the plugin's resource bundle,
or 'key' if not found.
|
static void |
log(org.eclipse.core.runtime.IStatus status) |
static void |
logErrorMessage(java.lang.String message) |
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
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.ui.plugin.AbstractUIPlugin
java.lang.Exception
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.ui.plugin.AbstractUIPlugin
java.lang.Exception
public static InstancePlugin getDefault()
public static java.lang.String getResourceString(java.lang.String key)
public java.util.ResourceBundle getResourceBundle()
public static void logErrorMessage(java.lang.String message)
public static void log(org.eclipse.core.runtime.IStatus status)
public static java.lang.String getPluginId()