|
|||||||||
| 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.core.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. |
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. |
| 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.BundleActivatorstart in class org.eclipse.core.runtime.PluginExceptionpublic static void logException(Exception e)
e - the Exception to log
public 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 from
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||