Class JythonScriptFolderGroup

All Implemented Interfaces:
Findable, LiveControl

public class JythonScriptFolderGroup extends LiveControlGroup
Present a folder of scripts as a series of buttons inside a LiveControlGroup.
  • folder - every python script except ones starting with an _ are shown with their own button, 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

Example configuration:

 
 <bean id="jythonScriptFolderGroup" class="uk.ac.gda.client.livecontrol.JythonScriptFolderGroup">
   <property name="group" value="Scripts Folder Group" />
   <property name="numColumns" value="2" />
   <property name="folder" value="/dls_sw/i15/scripts/procedures"/>
 </bean>
 
 
  • Constructor Details

    • JythonScriptFolderGroup

      public JythonScriptFolderGroup()
  • Method Details

    • setFolder

      public void setFolder(String folder)