public class ChromiumDebugUIPlugin
extends AbstractUIPlugin
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EDITOR_ID
Editor ID for JS files.
|
static java.lang.String |
PLUGIN_ID
The plug-in ID.
|
| Constructor and Description |
|---|
ChromiumDebugUIPlugin() |
| Modifier and Type | Method and Description |
|---|---|
static IWorkbenchPart |
getActivePart()
Must be called from SWT UI thread only
|
static Shell |
getActiveShell()
Must be called from SWT UI thread only
|
static Shell |
getActiveWorkbenchShell() |
static IWorkbenchWindow |
getActiveWorkbenchWindow() |
static ChromiumDebugUIPlugin |
getDefault()
Returns the shared instance.
|
static Display |
getDisplay() |
static void |
logError(java.lang.Throwable e) |
static void |
logError(java.lang.Throwable e,
java.lang.String message) |
void |
start(BundleContext context) |
static void |
statusDialog(IStatus status)
Creates a status dialog using the given
status. |
static void |
statusDialog(java.lang.String title,
IStatus status)
Creates a status dialog using the given
status and title. |
void |
stop(BundleContext context) |
public static final java.lang.String PLUGIN_ID
public static final java.lang.String EDITOR_ID
public void start(BundleContext context)
throws java.lang.Exception
java.lang.Exceptionpublic void stop(BundleContext context)
throws java.lang.Exception
java.lang.Exceptionpublic static ChromiumDebugUIPlugin getDefault()
public static Display getDisplay()
public static Shell getActiveWorkbenchShell()
null if one is not availablepublic static IWorkbenchWindow getActiveWorkbenchWindow()
public static Shell getActiveShell()
Shellpublic static IWorkbenchPart getActivePart()
IWorkbenchPartpublic static void statusDialog(IStatus status)
status.status - to derive the severitypublic static void statusDialog(java.lang.String title,
IStatus status)
status and title.title - of the dialogstatus - to derive the severitypublic static void logError(java.lang.Throwable e)
public static void logError(java.lang.Throwable e,
java.lang.String message)
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.