Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

  1. Decide on the level of integration

...

  1. Check out the CSS source code

      ...

        1. Install Mercurial locally

      ...

        1. Clone the CSS repository
        2. Increase JVM memory for Eclipse
          • Edit eclipse.ini in $ECLIPSE_HOME (1024 MB is what I ended up with)
        3. Import the necessary CSS plugins as Eclipse projects
      1. Checkout the HLA

      ...

      1. source code (from CVS)
      1. Create the edu.stanford.slac.save2logbook plugin

      ...

        • Copy the HLA Save2Logbook source to this plugin and configure

      ...

        • for other plugins to use

      ...

        • it
      1. Add to the DataBrowser plugin the dependency

      ...

      1. on edu.stanford.slac.save2logbook

      ...

        • Eclipse bug: If plugins panel is empty, start typing the plugin name

      ...

      1. Implement the new features in DataBrowser and Save2Logbook plugins
        • Add JFace Button, called '-> Logbook...'
        • Add JFace ActionListener to generate an Eclipse (Graphics) image
        • Add a method in Save2Logbook that saves an Eclipse image as a JPEG file
      1. Test the new features by running DataBrowser as an Eclipse application
      1. Create a SLAC DataBrowser product configuration
        • Select CSS Data Browser as the application
        • Modify CSS splash
      1. Export SLAC DataBrowser to some local directory and distribute it from there
      1. When launching SLAC DataBrowser for the first time, configure EPICS and DataBrowser EPICS preferences

      Major To-Dos

      • Headless build
      • "Workspace in use" issues

      ...