Class QVTUIPlugin
- java.lang.Object
-
- org.eclipse.core.runtime.Plugin
-
- org.eclipse.m2m.internal.qvt.oml.ui.QVTUIPlugin
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class QVTUIPlugin extends org.eclipse.core.runtime.PluginThe activator class controls the plug-in life cycle
-
-
Constructor Summary
Constructors Constructor Description QVTUIPlugin()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, int code)static org.eclipse.core.runtime.IStatuscreateStatus(int severity, String message, Throwable throwable)static QVTUIPlugingetDefault()Returns the shared instancestatic voidlog(Throwable e)static voidlog(org.eclipse.core.runtime.IStatus status)voidstart(org.osgi.framework.BundleContext context)voidstop(org.osgi.framework.BundleContext context)
-
-
-
Field Detail
-
PLUGIN_ID
public static final String PLUGIN_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext context) throws Exception- 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 Exception- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Overrides:
stopin classorg.eclipse.core.runtime.Plugin- Throws:
Exception
-
getDefault
public static QVTUIPlugin getDefault()
Returns the shared instance- Returns:
- the shared instance
-
log
public static void log(Throwable e)
-
log
public static void log(org.eclipse.core.runtime.IStatus status)
-
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, int code)
-
createStatus
public static org.eclipse.core.runtime.IStatus createStatus(int severity, String message)
-
-