Class Activator
- java.lang.Object
-
- org.eclipse.core.runtime.Plugin
-
- org.eclipse.emf.ecp.ide.internal.migration.Activator
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class Activator extends org.eclipse.core.runtime.Plugin- Author:
- johannes
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPLUGIN_IDThe PlugIn ID.
-
Constructor Summary
Constructors Constructor Description Activator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.eclipse.core.runtime.IStatusgetStatus(java.lang.Throwable t)Gets aIStatusfor a throwable.static voidlog(java.lang.String message)Logs messages.static java.lang.Stringlog(java.lang.Throwable t)LogsThrowable.static voidlog(org.eclipse.core.runtime.IStatus status)LogsIStatus.voidstart(org.osgi.framework.BundleContext bundleContext)voidstop(org.osgi.framework.BundleContext bundleContext)-
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
-
-
-
-
Field Detail
-
PLUGIN_ID
public static final java.lang.String PLUGIN_ID
The PlugIn ID.- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception- Specified by:
startin interfaceorg.osgi.framework.BundleActivator- Overrides:
startin classorg.eclipse.core.runtime.Plugin- Throws:
java.lang.Exception
-
stop
public void stop(org.osgi.framework.BundleContext bundleContext) throws java.lang.Exception- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Overrides:
stopin classorg.eclipse.core.runtime.Plugin- Throws:
java.lang.Exception
-
log
public static void log(java.lang.String message)
Logs messages.- Parameters:
message- the message
-
log
public static void log(org.eclipse.core.runtime.IStatus status)
LogsIStatus.- Parameters:
status- theIStatus
-
log
public static java.lang.String log(java.lang.Throwable t)
LogsThrowable.- Parameters:
t- theThrowable- Returns:
- the message of the created status
-
getStatus
public static org.eclipse.core.runtime.IStatus getStatus(java.lang.Throwable t)
Gets aIStatusfor a throwable.- Parameters:
t- theThrowable- Returns:
- the created
IStatus
-
-