Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

  • Select $ZPLOT_ROOT/src/edu.stanford.slac.util.zplot.example/SimpleExampleApplication
  • Right-click => select Run As... => Java Application
  • Add -Dsun.java2d.pmoffscreen=false to VM arguments, if too slow

Development

Overview

...

edu.stanford.slac.util.zplot.model.Beamline
  • Has namzename, start z position, and end z position
  • A list of Beamlines can be drawn as a domain axis
edu.stanford.slac.util.zplot.model.Device

...

edu.stanford.slac.util.zplot.ZPlot
  • Main plot for Devices; includes up to three can include several subplots (e.g. X, Y, and Cartoon)) as well as a beamline cartoon; can draw device labels and beamlines (on the domain axis)
edu.stanford.slac.util.zplot.cartoon.BeamlineCartoon

...

  • Adopts a CartoonWidget as an instance of Icon (needed to draw icons on Devices tab of the PropertiesDialog)
edu.stanford.slac.util.zplot.model.WidgetsRepository

...