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

Compare with Current View Page History

« Previous Version 52 Next »

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

Deciding 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. http://css.desy.de/content/e760/e761/index_eng.html

Checking out CSS source code

Installation of Mercurial

  • Download Mercurial source code from http://mercurial.selenic.com/release/mercurial-1.6.4.tar.gz
  • Type "make local" in the top directory
  • Install MercurialEclipse, too, but don't use it as such need clarification from Kay & Co.

    Clone the CSS repository

  • http://sourceforge.net/apps/trac/cs-studio/wiki/SourceRepository
  • 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.

    Checkout HLA projects from CVS

    Create the edu.stanford.slac.save2logbook plugin for HLA code

  • Copy the Save2Logbook source to this plugin and configure it for use by DataBrowser

    Add the dependency to edu.stanford.slac.save2logbook to the DataBrowser plugin

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

    Modify 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 by running DataBrowser as an Eclipse application

    Create a SLAC DataBrowser product

  • Select CSS Data Browser as the application
  • Modify CSS splash

    Export SLAC DataBrowser to some directory

    When launching SLAC DataBrowser for the first time, configure EPICS and DataBrowser EPICS preferences

Major To-Dos

  • Headless build
  • "Workspace in use" issues

Resources

How to develop with CSS

How to contribute to CSS

Links

  • No labels