Class DefaultScanResultsHandler
java.lang.Object
org.eclipse.scanning.event.ui.view.DefaultScanResultsHandler
- All Implemented Interfaces:
IHandler<ScanBean>,IResultHandler<ScanBean>
Result handler for opening
ScanBeans by opening their results files, as
returned by ScanBean.getFilePath().-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfirmOpen(ScanBean bean) booleanisHandled(StatusBean bean) Defines if this handler can open the result in this bean.booleanCalled to open the result from the beam.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.scanning.api.ui.IResultHandler
getErrorMessage, getLocation
-
Constructor Details
-
DefaultScanResultsHandler
public DefaultScanResultsHandler()
-
-
Method Details
-
isHandled
Description copied from interface:IHandlerDefines if this handler can open the result in this bean. -
open
Description copied from interface:IResultHandlerCalled to open the result from the beam.- Specified by:
openin interfaceIResultHandler<ScanBean>- Parameters:
scanBean-- Returns:
- true if result open handled ok, false otherwise. Normally if the user chooses not to proceed true is still returned.
- Throws:
Exception- if something unexpected goes wrong
-
confirmOpen
-