Package org.csstudio.opibuilder.util
Class DisplayUtils
java.lang.Object
org.csstudio.opibuilder.util.DisplayUtils
-
Constructor Details
-
DisplayUtils
public DisplayUtils()
-
-
Method Details
-
getDisplay
Returns a non-null instance of Display object. Tries to find the Display object for the current thread first and if it fails tries to get:- Workbench display if the workbench running
- Default display object
- Returns:
- non-null Display object
-
getDefaultShell
Attempts to return the default shell. If it cannot return the default shell, it returns the shell of the first workbench window that has shell.
-