Workbench - Use Cases
Use cases for Tango workbench
Use cases are a useful way of describing features to implement. Here are some use cases for the Tango Workbench :
Use Case 1 - Open Multiple Panels
- goal - the user opens multiple panels on the same or different devices
- actor - tango control system user
- system - tango workbench
- primary flow :
- user selects a device from the navigator an clicks on open panel
- corresponding panel is opened and displayed in workbench main window
- panels keep their state between restarts of the workbench and immediately connect and start displaying on workbench startup
- user can open as many panels as she likes
Use Case 2 - Drag 'n Drop Panel
- goal - the user opens a device by using drag 'n drop
- actor - tango control system user
- system - tango workbench
- primary flow :
- user selects a device from the navigator and drags it across to a panel
- the panel closes its current connection and opens a new one to display the selected device
- panels keep their state between restarts of the workbench and immediately connect and start displaying on workbench startup
Use Case 3 - Plot Trend
- goal - the user selects an attribute and displays a trend
- actor - tango control system user
- system - tango workbench
- primary flow :
- user selects a device attribute from the navigator and drags it across to a trend panel
- the panel closes its current connection and opens a new one and starts plotting the selected attribute
- trend panels keep their state between restarts of the workbench and immediately connect and start displaying on workbench startup
Use Case 4 - Restore Workbench
- goal - the workbench will restore the previous settings and layout at startup
- actor - tango control system user
- system - tango workbench
- primary flow :
- user opens workbench
- all settings from the previous session are restored e.g. TANGO_HOST
- all windows are restored to their previous layout
- all panels previously open are restored with their connections and start displaying data from devices immediately
Use Case 5 - Filter Navigator
- goal - the user can configure the navigator to filter what information to display
- actor - tango control system user
- system - tango workbench
- primary flow :
- users opens the navigator
- user creates a filter for the navigator to display on information which satisfies the filter
- user can un/filter any part of the navigator using the right button
- filtered information can be displayed as greyed out text
Use Case 6 - Generic Panels
- goal - open the best adapted panel for a device depending on its class
- actor - tango control system user
- system - tango workbench
- primary flow :
- users opens a panel on a device
- the workbench will automatically detect its class hierarchy and depending on which abstract class it implements open the appropriate panel e.g. ccd, motor,
- the user can customise the association of panels to abstract classes in the preferences

