org.dawb.common.ui.plot
Class AbstractPlottingSystem

java.lang.Object
  extended by org.dawb.common.ui.plot.AbstractPlottingSystem
All Implemented Interfaces:
IPlottingSystem
Direct Known Subclasses:
DiamondPlottingSystem, JLPlottingSystem, LightWeightPlottingSystem

public abstract class AbstractPlottingSystem
extends java.lang.Object
implements IPlottingSystem


Nested Class Summary
static class AbstractPlottingSystem.ColorOption
           
 
Constructor Summary
AbstractPlottingSystem()
           
 
Method Summary
 org.eclipse.swt.graphics.Color get1DPlotColor(java.lang.Object object)
          You may optionally implement this method to return plot color used for the IDataset
 AbstractPlottingSystem.ColorOption getColorOption()
           
 void setColorOption(AbstractPlottingSystem.ColorOption colorOption)
           
 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.
 void setRootName(java.lang.String rootName)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.dawb.common.ui.plot.IPlottingSystem
createPlot, createPlotPart, dispose, reset
 

Constructor Detail

AbstractPlottingSystem

public AbstractPlottingSystem()
Method Detail

setPointControls

public void setPointControls(org.eclipse.swt.widgets.Text pointControls)
Description copied from interface: IPlottingSystem
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.

Specified by:
setPointControls in interface IPlottingSystem

setRootName

public void setRootName(java.lang.String rootName)

get1DPlotColor

public org.eclipse.swt.graphics.Color get1DPlotColor(java.lang.Object object)
You may optionally implement this method to return plot color used for the IDataset

Parameters:
object -
Returns:

getColorOption

public AbstractPlottingSystem.ColorOption getColorOption()

setColorOption

public void setColorOption(AbstractPlottingSystem.ColorOption colorOption)