Package uk.ac.gda.client.livecontrol
Class JythonScriptFolderControl
java.lang.Object
gda.factory.FindableBase
uk.ac.gda.client.livecontrol.LiveControlBase
uk.ac.gda.client.livecontrol.JythonScriptListControl
uk.ac.gda.client.livecontrol.JythonScriptFolderControl
- All Implemented Interfaces:
Findable,LiveControl
Present a folder of scripts as a combo box and run button.
- folder - every python script except ones starting with an _ are shown in the list, with underscores converted into spaces
- group - (Optional if within a Group) the widget has no title/label, so use this to identify it in the UI
- jobTitle - (Optional) Some descriptive text to show in the Eclipse status bar while the scripts run
Example configuration:
<bean class="uk.ac.gda.client.livecontrol.JythonScriptFolderControl">
<property name="folder" value="/dls_sw/i15/scripts/procedures"/>
</bean>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class uk.ac.gda.client.livecontrol.JythonScriptListControl
createControl, getDisplayName, getHorizontalLayout, setDisplayName, setHorizontalLayout, setJobTitle, setScripts, toggleLayoutControlMethods inherited from class uk.ac.gda.client.livecontrol.LiveControlBase
dispose, equals, getGroup, hashCode, setGroup, toStringMethods inherited from class gda.factory.FindableBase
getName, setName
-
Constructor Details
-
JythonScriptFolderControl
public JythonScriptFolderControl()
-
-
Method Details
-
setFolder
-