public final class BasePlugin
extends org.eclipse.emf.common.EMFPlugin
| Modifier and Type | Class and Description |
|---|---|
static class |
BasePlugin.Implementation
The actual implementation of the Eclipse Plugin.
|
| Modifier and Type | Field and Description |
|---|---|
static BasePlugin |
INSTANCE
Keep track of the singleton.
|
| Constructor and Description |
|---|
BasePlugin()
Create the instance.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
error(int code,
java.lang.String message)
Generates an error log for the specified plug-in, with the specified
status code, message.
|
static void |
error(int code,
java.lang.String message,
java.lang.Throwable throwable)
Generates an error log for the specified plug-in, with the specified
status code, message, and throwable.
|
static BasePlugin.Implementation |
getPlugin()
Returns the singleton instance of the Eclipse plugin.
|
static java.lang.String |
getPluginId() |
org.eclipse.emf.common.util.ResourceLocator |
getPluginResourceLocator()
Returns the singleton instance of the Eclipse plugin.
|
static void |
log(int severity,
int code,
java.lang.String message,
java.lang.Throwable throwable) |
getDelegateResourceLocators, getPluginLogger, getPrimaryResourceLocator, getSymbolicName, log, maindelegatedGetImage, delegatedGetString, doGetImage, doGetString, extensionFor, getBaseURL, getImage, getString, getString, getString, getString, setShouldTranslate, shouldTranslatepublic static final BasePlugin INSTANCE
public static void error(int code,
java.lang.String message)
code - The status code for the log.message - The message for the log.public static void error(int code,
java.lang.String message,
java.lang.Throwable throwable)
code - The status code for the log.message - The message for the log.throwable - The throwable for the log.public static BasePlugin.Implementation getPlugin()
public static java.lang.String getPluginId()
public org.eclipse.emf.common.util.ResourceLocator getPluginResourceLocator()
getPluginResourceLocator in class org.eclipse.emf.common.EMFPluginpublic static void log(int severity,
int code,
java.lang.String message,
java.lang.Throwable throwable)