public final class ExtendedPlatformUI
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SYSTEM_CONSOLE_NAME |
Modifier and Type | Method and Description |
---|---|
static org.eclipse.ui.IWorkbenchPage |
getActivePage() |
static org.eclipse.swt.widgets.Shell |
getActiveShell() |
static org.eclipse.swt.widgets.Display |
getDisplay() |
static boolean |
openConfirmDeleteDialog(java.lang.String objectName) |
static boolean |
openConfirmResetSelectionDialog() |
static boolean |
openQuestionDialog(java.lang.String title,
java.lang.String message) |
static org.eclipse.ui.console.MessageConsoleStream |
out()
A convenience method to write on a Sphinx console.
|
static void |
showObjectsInActiveView(java.util.Collection<?> objects) |
static void |
showObjectsInView(java.util.Collection<?> objects,
java.lang.String viewId) |
static void |
showSystemConsole() |
public static final java.lang.String SYSTEM_CONSOLE_NAME
public static org.eclipse.swt.widgets.Shell getActiveShell()
public static org.eclipse.swt.widgets.Display getDisplay()
public static org.eclipse.ui.IWorkbenchPage getActivePage()
null
if no active workbench page can be determinedpublic static org.eclipse.ui.console.MessageConsoleStream out()
public static boolean openConfirmDeleteDialog(java.lang.String objectName)
objectName
- The name of the object for which deletion must be confirmed.public static boolean openConfirmResetSelectionDialog()
public static boolean openQuestionDialog(java.lang.String title, java.lang.String message)
title
- The title of the 'confirm delete' dialog.message
- The message to display in the 'confirm delete' dialog.public static void showObjectsInActiveView(java.util.Collection<?> objects)
public static void showObjectsInView(java.util.Collection<?> objects, java.lang.String viewId)
public static void showSystemConsole()