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, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
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.core.runtime.Plugin
Exception
public 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.BundleActivator
stop
in class org.eclipse.core.runtime.Plugin
Exception
public static Activator getDefault()
public ECPControlFactory getECPControlFactory()
ECPControlFactory
.ECPControlFactory
public 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 © 2019. All rights reserved.