public final class BasePlugin
extends 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,
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 BasePlugin.Implementation |
getPlugin()
Returns the singleton instance of the Eclipse plugin.
|
static String |
getPluginId() |
ResourceLocator |
getPluginResourceLocator()
Returns the singleton instance of the Eclipse plugin.
|
static void |
log(int severity,
int code,
String message,
Throwable throwable) |
public static final BasePlugin INSTANCE
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 BasePlugin.Implementation getPlugin()
public static String getPluginId()
public ResourceLocator getPluginResourceLocator()
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.