Case Study: Adding "-> Logbook..." to CSS Data Browser
...
- Decide on the level of integration
- I decided to use the "very low level" of integration, because that seems like the easiest way to work with CSS.
- More info: http://css.desy.de/content/e760/e761/index_eng.html
...
- Check out the CSS source code
...
- Install Mercurial locally
- Download Mercurial source code from http://mercurial.selenic.com/release/mercurial-1.6.4.tar.gz
- Type "make local" in the top directory
- Install the MercurialEclipse plugin, too, but don't use it as such need
- Download Mercurial source code from http://mercurial.selenic.com/release/mercurial-1.6.4.tar.gz
- Install Mercurial locally
...
- Clone the CSS repository
- Several available: http://sourceforge.net/apps/trac/cs-studio/wiki/SourceRepository
- Use 'read-only' repository => http://cs-studio.hg.sourceforge.net:8000/hgroot/cs-studio/cs-studio
(no account/password)
- Several available: http://sourceforge.net/apps/trac/cs-studio/wiki/SourceRepository
- Increase JVM memory for Eclipse
- Edit eclipse.ini in $ECLIPSE_HOME (1024 MB is what I ended up with)
- Import the necessary CSS plugins as Eclipse projects
- The minimum list of plugins to develop with DataBrowser need clarification from Kay & Co.
- The minimum list of plugins to develop with DataBrowser need clarification from Kay & Co.
- Checkout the HLA
...
- source code (from CVS)
- Create the edu.stanford.slac.save2logbook plugin
...
- Copy the HLA Save2Logbook source to this plugin and configure
...
- for other plugins to use
...
- it
- Add to the DataBrowser plugin the dependency
...
- on edu.stanford.slac.save2logbook
...
- Eclipse bug: If plugins panel is empty, start typing the plugin name
...
- 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
- Test the new features by running DataBrowser as an Eclipse application
- Create a SLAC DataBrowser product configuration
- Select CSS Data Browser as the application
- Modify CSS splash
- Export SLAC DataBrowser to some local directory and distribute it from there
- When launching SLAC DataBrowser for the first time, configure EPICS and DataBrowser EPICS preferences
Major To-Dos
- Headless build
- "Workspace in use" issues
...