public class Activator
extends org.eclipse.core.runtime.Plugin
Modifier and Type | Field and Description |
---|---|
static String |
PLUGIN_ID
The plug-in ID.
|
Constructor and Description |
---|
Activator()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static Activator |
getDefault()
Returns the shared instance.
|
ReportService |
getReportService()
Returns the
ReportService . |
static void |
log(AbstractReport report)
Logs a
AbstractReport . |
static void |
logException(Exception e)
Logs exception.
|
static void |
logMessage(int severity,
String message)
Logs messages.
|
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
public static final String PLUGIN_ID
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.core.runtime.Plugin
Exception
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.core.runtime.Plugin
Exception
public static Activator getDefault()
public static void logException(Exception e)
e
- the Exception
to logpublic static void logMessage(int severity, String message)
severity
- the severity to use for loggingmessage
- the message to logpublic static void log(AbstractReport report)
AbstractReport
.report
- the AbstractReport
to be loggedpublic ReportService getReportService()
ReportService
.ReportService
Copyright © 2017. All rights reserved.