|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.Plugin
de.cau.cs.kieler.uml2.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. |
static void |
setDefault(Activator value)
Sets the shared instance. |
void |
start(org.osgi.framework.BundleContext context)
Starts the plug-in. |
void |
stop(org.osgi.framework.BundleContext context)
Stops the plug-in. |
Methods inherited from class org.eclipse.core.runtime.Plugin |
---|
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, 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 Plugin
context
- The bundle context for this plug-in
Exception
- When starting this plug-in fails.AbstractUIPlugin.start(org.osgi.framework.BundleContext)
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class Plugin
context
- The bundle context for this plug-in
Exception
- When stopping this plug-in fails.AbstractUIPlugin.stop(org.osgi.framework.BundleContext)
public static Activator getDefault()
public static void setDefault(Activator value)
value
- The new shared instance value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |