public class QvtPlugin extends EMFPlugin
Modifier and Type | Class and Description |
---|---|
static class |
QvtPlugin.Implementation |
EMFPlugin.EclipsePlugin, EMFPlugin.InternalEclipsePlugin, EMFPlugin.InternalHelper, EMFPlugin.OSGiDelegatingBundleActivator
Modifier and Type | Field and Description |
---|---|
static String |
ID |
static QvtPlugin |
INSTANCE
The singleton instance of the plugin.
|
IS_ECLIPSE_RUNNING, IS_RESOURCES_BUNDLE_AVAILABLE
Constructor and Description |
---|
QvtPlugin()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static BasicDiagnostic |
createDiagnostic(String message) |
static Diagnostic |
createErrorDiagnostic(String message,
Throwable throwable) |
static Diagnostic |
createWarnDiagnostic(String message) |
static void |
error(int code,
String message)
Generates an error log for the specified plug-in, with the specified
status code, message.
|
static void |
error(int code,
String message,
Throwable throwable)
Generates an error log for the specified plug-in, with the specified
status code, message, and throwable.
|
static void |
error(String message) |
static void |
error(String message,
Throwable throwable) |
static void |
error(Throwable throwable) |
static QvtPlugin |
getDefault()
Returns the shared instance.
|
static QvtPlugin.Implementation |
getPlugin() |
ResourceLocator |
getPluginResourceLocator() |
static void |
info(int code,
String message)
Generates an information log for the specified plug-in, with the
specified status code, message.
|
static void |
info(int code,
String message,
Throwable throwable)
Generates an information log for the specified plug-in, with the
specified status code, message, and throwable.
|
static void |
log(int severity,
int code,
String message,
Throwable throwable) |
static void |
logDiagnostic(Diagnostic diagnostic) |
static void |
warning(int code,
String message)
Generates a warning log for the specified plug-in, with the specified
status code, message.
|
static void |
warning(int code,
String message,
Throwable throwable)
Generates a warning log for the specified plug-in, with the specified
status code, message, and throwable.
|
getPluginLogger, getSymbolicName, log, main
getBaseURL, getImage, getString, getString, getString, getString, setShouldTranslate, shouldTranslate
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBaseURL, getImage, getString, getString, getString, getString
public static final String ID
public static final QvtPlugin INSTANCE
public ResourceLocator getPluginResourceLocator()
getPluginResourceLocator
in class EMFPlugin
public static QvtPlugin getDefault()
public static QvtPlugin.Implementation getPlugin()
public static void error(int code, String message)
code
- The status code for the log.message
- The message for the log.public static void error(int code, String message, Throwable throwable)
code
- The status code for the log.message
- The message for the log.throwable
- The throwable for the log.public static void error(Throwable throwable)
public static void error(String message)
public static void info(int code, String message)
code
- The status code for the log.message
- The message for the log.public static void info(int code, String message, Throwable throwable)
code
- The status code for the log.message
- The message for the log.throwable
- The throwable for the log.public static void warning(int code, String message)
code
- The status code for the log.message
- The message for the log.public static void warning(int code, String message, Throwable throwable)
code
- The status code for the log.message
- The message for the log.throwable
- The throwable for the log.public static void logDiagnostic(Diagnostic diagnostic)
public static BasicDiagnostic createDiagnostic(String message)
public static Diagnostic createErrorDiagnostic(String message, Throwable throwable)
public static Diagnostic createWarnDiagnostic(String message)
Copyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.