Package org.eclipse.scanning.api.scan.ui
Class DetectorScanUIElement<M>
java.lang.Object
org.eclipse.scanning.api.AbstractNameable
org.eclipse.scanning.api.scan.ui.ScanUIElement
org.eclipse.scanning.api.scan.ui.DetectorScanUIElement<M>
- Type Parameters:
M- the type of the model of the detector
- All Implemented Interfaces:
IModelProvider<M>,INameable,IScanUIElement
An instance of this class represents a detector in the UI.
An instance of this class wraps a
DeviceInformation. It is not intended to be serialized.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.scanning.api.scan.ui.ScanUIElement
getIconPath, isEnabled, setEnabled, setIconPath, toStringMethods inherited from class org.eclipse.scanning.api.AbstractNameable
equals, getName, hashCode, setNameMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.scanning.api.IModelProvider
updateModel
-
Constructor Details
-
DetectorScanUIElement
-
-
Method Details
-
getModel
- Specified by:
getModelin interfaceIModelProvider<M>- Returns:
- the model that we are providing
-
setModel
Description copied from interface:IModelProviderThe model for some providers may be set but be warned that others throw an IllegalArgumentException.- Specified by:
setModelin interfaceIModelProvider<M>- Parameters:
detectorModel-
-
getDeviceRole
-
getLabel
-
getId
-
getDeviceInfo
-