Package org.eclipse.scanning.api.ui
Interface IScanUIElement
- All Superinterfaces:
INameable
- All Known Implementing Classes:
DetectorScanUIElement,MonitorScanUIElement,ScanUIElement
Represents an UI element with an enablement, a name and an icon path.
-
Method Summary
Modifier and TypeMethodDescriptionGet the icon path of the scan element.booleanGet whether the scan element is enabled, i.e.voidsetEnabled(boolean enabled) Set the enablement of the scan element.
-
Method Details
-
getIconPath
String getIconPath()Get the icon path of the scan element.- Returns:
- icon path
-
isEnabled
boolean isEnabled()Get whether the scan element is enabled, i.e. will be included in the next scan- Returns:
trueif the element will be included in the next scan
-
setEnabled
void setEnabled(boolean enabled) Set the enablement of the scan element.- Parameters:
enabled-trueto enable the element,falseto disable it
-