public class Activator
extends org.eclipse.ui.plugin.AbstractUIPlugin
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ICON_PATH
The icon folder
|
Constructor and Description |
---|
Activator()
The constructor
|
Modifier and Type | Method and Description |
---|---|
static Activator |
getDefault()
Returns the shared instance
|
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(java.lang.String id)
Returns the image descriptor for the given image ID.
|
static java.lang.String |
getPluginId() |
org.eclipse.jface.preference.IPreferenceStore |
getPreferenceStore() |
org.eclipse.jface.resource.ImageDescriptor |
privateGetImageDescriptor(java.lang.String id) |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
createImageRegistry, getDialogSettings, getImageRegistry, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
public static final java.lang.String ICON_PATH
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 Activator getDefault()
public static java.lang.String getPluginId()
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String id)
id
- the identifier for the image to retrievepublic org.eclipse.jface.resource.ImageDescriptor privateGetImageDescriptor(java.lang.String id)
public org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
getPreferenceStore
in class org.eclipse.ui.plugin.AbstractUIPlugin