public class CommonPlugin
extends AbstractUIPlugin
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PLUGIN_ID |
Constructor and Description |
---|
CommonPlugin() |
Modifier and Type | Method and Description |
---|---|
static CommonPlugin |
getDefault() |
static ImageDescriptor |
getImageDescriptor(java.lang.String path)
Returns an image descriptor for the image file at the given plug-in
relative path
|
static void |
logError(java.lang.String message) |
static void |
logError(java.lang.Throwable e) |
static void |
logError(java.lang.Throwable e,
java.lang.String message) |
static void |
logInfo(java.lang.String info) |
void |
start(BundleContext context) |
void |
stop(BundleContext context) |
public static final java.lang.String PLUGIN_ID
public void start(BundleContext context) throws java.lang.Exception
java.lang.Exception
public void stop(BundleContext context) throws java.lang.Exception
java.lang.Exception
public static CommonPlugin getDefault()
public static void logError(java.lang.Throwable e)
public static void logError(java.lang.Throwable e, java.lang.String message)
public static void logError(java.lang.String message)
public static void logInfo(java.lang.String info)
public static ImageDescriptor getImageDescriptor(java.lang.String path)
path
- the pathCopyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.