You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 57 Next »

Case Study: Adding "-> Logbook..." to CSS Data Browser

  1. Decide on the level of integration
  2. Check out the CSS source code
    1. Install Mercurial locally
    2. Clone the CSS repository
    3. Increase JVM memory for Eclipse
      • Edit eclipse.ini in $ECLIPSE_HOME (1024 MB is what I ended up with)
    4. Import the necessary CSS plugins as Eclipse projects
      • The minimum list of plugins to develop with DataBrowser need clarification from Kay & Co.
  3. Checkout the HLA source code (from CVS)
  4. Create the edu.stanford.slac.save2logbook plugin
    • Copy the HLA Save2Logbook source to this plugin and configure for other plugins to use it
  5. Add to the DataBrowser plugin the dependency on edu.stanford.slac.save2logbook
    • Eclipse bug: If plugins panel is empty, start typing the plugin name
  6. Implement the new features in DataBrowser and Save2Logbook plugins
    • Add JFace Button, set size, label, and background color
    • Add JFace ActionListener that generates an Eclipse (Graphics) image
    • Add a method in Save2Logbook that saves an Eclipse image as a JPEG file and creates the logbook XML files as well as directories
  7. Test the new features by running DataBrowser as an Eclipse application
  8. Create a SLAC DataBrowser product configuration
    • Select CSS Data Browser as the application
    • Modify CSS splash
  9. Export SLAC DataBrowser to some local directory and distribute it from there
  10. When launching SLAC DataBrowser for the first time, configure the EPICS and DataBrowser preferences to use SLAC settings

Major To-Dos

  • Headless build
  • "Workspace in use" issues

Resources

How to develop with CSS

How to contribute to CSS

Links

  • No labels