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)
Get an Image based on an path.
|
ReportService |
getReportService()
Returns the
ReportService . |
static void |
log(Throwable throwable)
Helper for logging
Throwables . |
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 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 static org.eclipse.swt.graphics.Image getImage(String path)
Activator.getImage(String)
.path
- the path of the image to loadpublic static void log(Throwable throwable)
Throwables
.throwable
- the Throwable
to logpublic ECPControlFactory getECPControlFactory()
ECPControlFactory
.ECPControlFactory
public void ungetECPControlFactory()
ECPControlFactory
from use, allowing the OSGi Bundle to be shutdown.public ReportService getReportService()
ReportService
.ReportService
Copyright © 2019. All rights reserved.