Package uk.ac.gda.client.livecontrol
Class WatchdogControl
java.lang.Object
gda.factory.FindableBase
uk.ac.gda.client.livecontrol.LiveControlBase
uk.ac.gda.client.livecontrol.WatchdogControl
- All Implemented Interfaces:
Findable,LiveControl
View to show and change the enabled state of a set of watchdogs and to enable/disable each one.
The view polls the state of the corresponding watchdogs, so will update the GUI if changes are made on the command line.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateControl(org.eclipse.swt.widgets.Composite composite) This method will create the GUI for this control.voiddispose()Terminate use of this controlvoidsetPollingFrequency(int pollingFrequency) voidsetWatchdogNames(List<String> watchdogNames) Methods inherited from class uk.ac.gda.client.livecontrol.LiveControlBase
equals, getGroup, hashCode, setGroup, toStringMethods inherited from class gda.factory.FindableBase
getName, setName
-
Constructor Details
-
WatchdogControl
public WatchdogControl()
-
-
Method Details
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite composite) Description copied from interface:LiveControlThis method will create the GUI for this control.- Parameters:
composite- The composite onto which the control should draw
-
dispose
public void dispose()Description copied from interface:LiveControlTerminate use of this control- Specified by:
disposein interfaceLiveControl- Overrides:
disposein classLiveControlBase
-
setWatchdogNames
-
setPollingFrequency
public void setPollingFrequency(int pollingFrequency)
-