- java.lang.Object
-
- de.carne.test.swt.platform.PlatformHelper
-
- de.carne.test.swt.platform.win32.Win32PlatformHelper
-
public class Win32PlatformHelper extends PlatformHelper
Win32 platform helper.
-
-
Constructor Summary
Constructors Constructor Description Win32PlatformHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleaninternalCloseNativeDialogs(org.eclipse.swt.widgets.Display display)Makes sure that any open native platform dialog is closed.protected booleaninternalInNativeDialog(org.eclipse.swt.widgets.Display display)Checks whether a native platform dialog is currently open.protected booleaninternalIsCurrentThreadSWTCapable()Checks whether SWT code can be executed by the current thread.-
Methods inherited from class de.carne.test.swt.platform.PlatformHelper
closeNativeDialogs, grabScreen, inNativeDialog, internalGrabScreen, isCurrentThreadSWTCapable
-
-
-
-
Method Detail
-
internalIsCurrentThreadSWTCapable
protected boolean internalIsCurrentThreadSWTCapable()
Description copied from class:PlatformHelperChecks whether SWT code can be executed by the current thread.- Overrides:
internalIsCurrentThreadSWTCapablein classPlatformHelper- Returns:
trueif the current thread can execute SWT code.- See Also:
PlatformHelper.isCurrentThreadSWTCapable()
-
internalInNativeDialog
protected boolean internalInNativeDialog(org.eclipse.swt.widgets.Display display)
Description copied from class:PlatformHelperChecks whether a native platform dialog is currently open.- Overrides:
internalInNativeDialogin classPlatformHelper- Parameters:
display- the Display to use for checking.- Returns:
trueif a native platform dialog is currently open.- See Also:
PlatformHelper.inNativeDialog(Display)
-
internalCloseNativeDialogs
protected boolean internalCloseNativeDialogs(org.eclipse.swt.widgets.Display display)
Description copied from class:PlatformHelperMakes sure that any open native platform dialog is closed.- Overrides:
internalCloseNativeDialogsin classPlatformHelper- Parameters:
display- the Display to use for checking.- Returns:
trueif a native platform dialog has been closed.- See Also:
PlatformHelper.closeNativeDialogs(Display)
-
-