Package uk.ac.gda.ui.utils
Class SWTUtils
java.lang.Object
uk.ac.gda.ui.utils.SWTUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final voidshowCenteredShell(org.eclipse.swt.widgets.Shell shell) This method will centre a Shell on the primary view device.
-
Constructor Details
-
SWTUtils
public SWTUtils()
-
-
Method Details
-
showCenteredShell
public static final void showCenteredShell(org.eclipse.swt.widgets.Shell shell) This method will centre a Shell on the primary view device. The method will show the shell in the thread which calls the method and not return until the user closes the shell.- Parameters:
shell-
-