Class QvtRuntimePlugin
- java.lang.Object
-
- org.eclipse.core.runtime.Plugin
-
- org.eclipse.m2m.internal.qvt.oml.runtime.QvtRuntimePlugin
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class QvtRuntimePlugin extends org.eclipse.core.runtime.PluginThe main plugin class to be used in the desktop.
-
-
Field Summary
Fields Modifier and Type Field Description static StringIDstatic org.eclipse.core.runtime.IStatusLAUNCH_ERROR_STATUS
-
Constructor Summary
Constructors Constructor Description QvtRuntimePlugin()The constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.eclipse.core.runtime.IStatuscreateStatus(int severity, String message)static org.eclipse.core.runtime.IStatuscreateStatus(int severity, String message, Throwable throwable)static QvtRuntimePlugingetDefault()Returns the shared instance.static voidlog(Throwable e)static voidlog(org.eclipse.core.runtime.IStatus status)voidstart(org.osgi.framework.BundleContext context)This method is called upon plug-in activationvoidstop(org.osgi.framework.BundleContext context)This method is called when the plug-in is stopped
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
LAUNCH_ERROR_STATUS
public static final org.eclipse.core.runtime.IStatus LAUNCH_ERROR_STATUS
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext context) throws ExceptionThis method is called upon plug-in activation- Specified by:
startin interfaceorg.osgi.framework.BundleActivator- Overrides:
startin classorg.eclipse.core.runtime.Plugin- Throws:
Exception
-
stop
public void stop(org.osgi.framework.BundleContext context) throws ExceptionThis method is called when the plug-in is stopped- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Overrides:
stopin classorg.eclipse.core.runtime.Plugin- Throws:
Exception
-
getDefault
public static QvtRuntimePlugin getDefault()
Returns the shared instance.
-
log
public static void log(org.eclipse.core.runtime.IStatus status)
-
log
public static void log(Throwable e)
-
createStatus
public static org.eclipse.core.runtime.IStatus createStatus(int severity, String message, Throwable throwable)
-
createStatus
public static org.eclipse.core.runtime.IStatus createStatus(int severity, String message)
-
-