public class GruntPlugin
extends AbstractUIPlugin
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PLUGIN_ID |
Constructor and Description |
---|
GruntPlugin() |
Modifier and Type | Method and Description |
---|---|
static IWorkbenchPage |
getActivePage() |
static IWorkbenchWindow |
getActiveWorkbenchWindow() |
static GruntPlugin |
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.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 GruntPlugin getDefault()
public static void logError(java.lang.Throwable e)
public static void logError(java.lang.Throwable e, java.lang.String message)
public static void logInfo(java.lang.String info)
public static ImageDescriptor getImageDescriptor(java.lang.String path)
path
- the pathpublic static IWorkbenchWindow getActiveWorkbenchWindow()
public static IWorkbenchPage getActivePage()
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.