public class Activator
extends org.eclipse.ui.plugin.AbstractUIPlugin
Modifier and Type | Field and Description |
---|---|
static String |
PLUGIN_ID
The plug-in ID.
|
Constructor and Description |
---|
Activator()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(String imagePath)
Delegate for @see
AbstractUIPlugin.imageDescriptorFromPlugin(String, String) |
static Activator |
getInstance()
Returns the shared instance.
|
static void |
log(int status,
String message)
Logs a message with a specific status.
|
static String |
log(Throwable t)
Logs a
Throwable . |
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
public static final String PLUGIN_ID
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String imagePath)
AbstractUIPlugin.imageDescriptorFromPlugin(String, String)
imagePath
- the path to the image to loadImageDescriptor
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.ui.plugin.AbstractUIPlugin
Exception
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.ui.plugin.AbstractUIPlugin
Exception
public static Activator getInstance()
public static void log(int status, String message)
status
- the IStatus
valuemessage
- the message to logCopyright © 2019. All rights reserved.