org.dawb.gda.extensions.plot
Class DiamondPlottingSystem

java.lang.Object
  extended by org.dawb.common.ui.plot.AbstractPlottingSystem
      extended by org.dawb.gda.extensions.plot.DiamondPlottingSystem
All Implemented Interfaces:
IPlottingSystem

public class DiamondPlottingSystem
extends AbstractPlottingSystem

Link between EDNA 1D plotting and diamond plotter This is the only place that the Diamond plotting is referenced in org.edna.

Author:
gerring

Nested Class Summary
 
Nested classes/interfaces inherited from class org.dawb.common.ui.plot.AbstractPlottingSystem
AbstractPlottingSystem.ColorOption
 
Constructor Summary
DiamondPlottingSystem()
           
 
Method Summary
 void createPlot(uk.ac.diamond.scisoft.analysis.dataset.AbstractDataset data, java.util.List<uk.ac.diamond.scisoft.analysis.dataset.AbstractDataset> axes, PlotType mode, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 void createPlotPart(org.eclipse.swt.widgets.Composite parent, java.lang.String plotName, org.eclipse.ui.IActionBars bars, PlotType hint, org.eclipse.ui.IWorkbenchPart part)
          Call to create the UI component dealing with the plotting.
 void dispose()
          Call to mark widgets and plotting as no longer required.
 void reset()
          Call to tell the plot to plot nothing.
 
Methods inherited from class org.dawb.common.ui.plot.AbstractPlottingSystem
get1DPlotColor, getColorOption, setColorOption, setPointControls, setRootName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiamondPlottingSystem

public DiamondPlottingSystem()
Method Detail

createPlotPart

public void createPlotPart(org.eclipse.swt.widgets.Composite parent,
                           java.lang.String plotName,
                           org.eclipse.ui.IActionBars bars,
                           PlotType hint,
                           org.eclipse.ui.IWorkbenchPart part)
Description copied from interface: IPlottingSystem
Call to create the UI component dealing with the plotting.


createPlot

public void createPlot(uk.ac.diamond.scisoft.analysis.dataset.AbstractDataset data,
                       java.util.List<uk.ac.diamond.scisoft.analysis.dataset.AbstractDataset> axes,
                       PlotType mode,
                       org.eclipse.core.runtime.IProgressMonitor monitor)

reset

public void reset()
Description copied from interface: IPlottingSystem
Call to tell the plot to plot nothing.


dispose

public void dispose()
Description copied from interface: IPlottingSystem
Call to mark widgets and plotting as no longer required. This will be called when the part is disposed.