public class Activator
extends org.eclipse.core.runtime.Plugin
| Constructor and Description |
|---|
Activator() |
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.core.runtime.IStatus |
getStatus(Throwable t)
Gets a
IStatus for a throwable. |
static void |
log(org.eclipse.core.runtime.IStatus status)
Logs
IStatus. |
static void |
log(String message)
Logs messages.
|
static String |
log(Throwable t)
Logs
Throwable. |
void |
start(org.osgi.framework.BundleContext bundleContext) |
void |
stop(org.osgi.framework.BundleContext bundleContext) |
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toStringpublic static final String PLUGIN_ID
public void start(org.osgi.framework.BundleContext bundleContext)
throws Exception
start in interface org.osgi.framework.BundleActivatorstart in class org.eclipse.core.runtime.PluginExceptionpublic void stop(org.osgi.framework.BundleContext bundleContext)
throws Exception
stop in interface org.osgi.framework.BundleActivatorstop in class org.eclipse.core.runtime.PluginExceptionpublic static void log(String message)
message - the messagepublic static void log(org.eclipse.core.runtime.IStatus status)
IStatus.status - the IStatuspublic static String log(Throwable t)
Throwable.t - the ThrowableCopyright © 2020. All rights reserved.