public class CommonUIUtils extends Object
Modifier and Type | Method and Description |
---|---|
static IWorkbenchWindow |
getActiveWorkbenchWindow()
Returns the currently active workbench window or
null
if none. |
static Shell |
getShell()
Returns the currently active workbench window shell or
null
if none. |
static Display |
getStandardDisplay()
Returns the standard display to be used.
|
static void |
runInUiThread(Runnable r) |
public static void runInUiThread(Runnable r)
public static Display getStandardDisplay()
public static Shell getShell()
null
if none.null
public static IWorkbenchWindow getActiveWorkbenchWindow()
null
if none.null
Copyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.