public class Activator
extends org.eclipse.core.runtime.Plugin
Constructor and Description |
---|
Activator() |
Modifier and Type | Method and Description |
---|---|
static Activator |
getInstance()
Returns the shared instance.
|
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 void |
log(String message,
Throwable t)
Logs messages and
Throwable . |
static String |
log(Throwable t)
Logs
Throwable . |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
find, find, getBundle, 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 getInstance()
public static void log(String message)
message
- the messagepublic static void log(String message, Throwable t)
Throwable
.message
- the messaget
- the throwablepublic static void log(org.eclipse.core.runtime.IStatus status)
IStatus
.status
- the IStatus
public static String log(Throwable t)
Throwable
.t
- the Throwable
Copyright © 2019. All rights reserved.