org.dawb.common.ui.plot
Interface IPlottingSystem

All Known Implementing Classes:
AbstractPlottingSystem, DiamondPlottingSystem, JLPlottingSystem, LightWeightPlottingSystem

public interface IPlottingSystem

Represents a bridge to the plotting system. Currently this is the diamond hardware accelerated system or the fable directly drawn one.

Author:
gerring

Method Summary
 void createPlot(uk.ac.diamond.scisoft.analysis.dataset.AbstractDataset slice, 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.
 void setPointControls(org.eclipse.swt.widgets.Text pointControls)
          Method called to set the point controls on the PlottingSystem If the plotting system does not switch then on and off, it does not need to do anything with them.
 

Method Detail

createPlotPart

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.

Parameters:
right -

createPlot

void createPlot(uk.ac.diamond.scisoft.analysis.dataset.AbstractDataset slice,
                java.util.List<uk.ac.diamond.scisoft.analysis.dataset.AbstractDataset> axes,
                PlotType mode,
                org.eclipse.core.runtime.IProgressMonitor monitor)
Parameters:
sum -
axes -
mode -
monitor -

reset

void reset()
Call to tell the plot to plot nothing.


dispose

void dispose()
Call to mark widgets and plotting as no longer required. This will be called when the part is disposed.


setPointControls

void setPointControls(org.eclipse.swt.widgets.Text pointControls)
Method called to set the point controls on the PlottingSystem If the plotting system does not switch then on and off, it does not need to do anything with them.

Parameters:
pointControls -