public class Activator
extends org.eclipse.ui.plugin.AbstractUIPlugin
Constructor and Description |
---|
Activator()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static Activator |
getDefault()
Returns the shared instance.
|
static String |
getId() |
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(String path)
Returns an image descriptor for the image file at the given
plug-in relative path.
|
static void |
logError(int code,
String msg,
Throwable ex) |
void |
notifyError(String message,
Throwable error)
Notify error using message box (thread safe).
|
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
|
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
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 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 getDefault()
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String path)
path
- the pathpublic static String getId()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.