public class Activator
extends org.eclipse.core.runtime.Plugin
| 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 Activator |
getDefault()
Returns the shared instance.
|
ECPControlFactory |
getECPControlFactory()
Returns the
ECPControlFactory. |
static org.eclipse.swt.graphics.Image |
getImage(String path)
Finds and returns an image for the provided path.
|
static void |
logException(Exception e)
Logs exception.
|
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
void |
ungetECPControlFactory()
Frees the
ECPControlFactory from use, allowing the OSGi Bundle to be shutdown. |
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toStringpublic static final String PLUGIN_ID
public void start(org.osgi.framework.BundleContext context)
throws Exception
start in interface org.osgi.framework.BundleActivatorstart in class org.eclipse.core.runtime.PluginExceptionpublic static void logException(Exception e)
e - the Exception to logpublic void stop(org.osgi.framework.BundleContext context)
throws Exception
stop in interface org.osgi.framework.BundleActivatorstop in class org.eclipse.core.runtime.PluginExceptionpublic static Activator getDefault()
public ECPControlFactory getECPControlFactory()
ECPControlFactory.ECPControlFactorypublic void ungetECPControlFactory()
ECPControlFactory from use, allowing the OSGi Bundle to be shutdown.public static org.eclipse.swt.graphics.Image getImage(String path)
path - the path to get the image fromCopyright © 2020. All rights reserved.