public class ImpactAnalyzerPlugin
extends org.eclipse.emf.common.EMFPlugin.EclipsePlugin
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEBUG |
static java.lang.String |
EMPTY_STRING |
static java.lang.String |
EXCEPTIONS_CATCHING |
static int |
IGNORED_EXCEPTION_WARNING |
Constructor and Description |
---|
ImpactAnalyzerPlugin()
Initializes me with my Eclipse plug-in descriptor.
|
Modifier and Type | Method and Description |
---|---|
static void |
catching(java.lang.Class<?> clazz,
java.lang.String methodName,
java.lang.Throwable throwable)
Traces the catching of the specified throwable in the specified method of the specified class.
|
static ImpactAnalyzerPlugin |
getPlugin() |
static java.lang.String |
getPluginId() |
static void |
log(int severity,
int code,
java.lang.String message,
java.lang.Throwable throwable) |
static boolean |
shouldTrace(java.lang.String option) |
void |
start(org.osgi.framework.BundleContext context) |
static void |
trace(java.lang.String message)
Emits the specified message to the trace log.
|
doGetImage, getBaseURL, getImage, getString, getString, getString, getString, getSymbolicName, log
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, stop, toString
public static final java.lang.String DEBUG
public static final java.lang.String EXCEPTIONS_CATCHING
public static final java.lang.String EMPTY_STRING
public static final int IGNORED_EXCEPTION_WARNING
public ImpactAnalyzerPlugin()
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.core.runtime.Plugin
java.lang.Exception
public static ImpactAnalyzerPlugin getPlugin()
public static java.lang.String getPluginId()
public static void log(int severity, int code, java.lang.String message, java.lang.Throwable throwable)
public static void catching(java.lang.Class<?> clazz, java.lang.String methodName, java.lang.Throwable throwable)
clazz
- The class in which the throwable is being caught.methodName
- The name of the method in which the throwable is being caught.throwable
- The throwable that is being caught.public static boolean shouldTrace(java.lang.String option)
public static void trace(java.lang.String message)
message
- a messageshouldTrace(String)