|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.Plugin
org.eclipse.emf.ecp.view.internal.custom.swt.Activator
public class Activator
The activator class controls the plug-in life cycle.
Field Summary | |
---|---|
static String |
PLUGIN_ID
The plug-in ID. |
Fields inherited from class org.eclipse.core.runtime.Plugin |
---|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME |
Constructor Summary | |
---|---|
Activator()
The constructor. |
Method Summary | |
---|---|
static Activator |
getDefault()
Returns the shared instance. |
ECPControlFactory |
getECPControlFactory()
Returns the ECPControlFactory . |
EMFFormsDatabinding |
getEMFFormsDatabinding()
Returns the EMFFormsDatabinding service. |
EMFFormsLabelProvider |
getEMFFormsLabelProvider()
Returns the EMFFormsLabelProvider service. |
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. |
Methods inherited from class org.eclipse.core.runtime.Plugin |
---|
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PLUGIN_ID
Constructor Detail |
---|
public Activator()
Method Detail |
---|
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 load
public 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
public EMFFormsDatabinding getEMFFormsDatabinding()
EMFFormsDatabinding
service.
EMFFormsDatabinding
public EMFFormsLabelProvider getEMFFormsLabelProvider()
EMFFormsLabelProvider
service.
EMFFormsLabelProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |