All Implemented Interfaces:
gda.observable.IObservable, IPlotWindow

public class PlotWindow extends AbstractPlotWindow
Actual PlotWindow that can be used inside a View- or EditorPart
  • Constructor Details

    • PlotWindow

      public PlotWindow(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.IActionBars bars, org.eclipse.ui.IWorkbenchPart part, String name)
    • PlotWindow

      public PlotWindow(org.eclipse.swt.widgets.Composite parent, IBeanScriptingManager manager, org.eclipse.ui.IActionBars bars, org.eclipse.ui.IWorkbenchPart part, String name)
  • Method Details

    • getManager

      public static IPlotWindowManager getManager()
      Obtain the IPlotWindowManager for the running Eclipse.
      Returns:
      singleton instance of IPlotWindowManager
    • createPlotControl

      public void createPlotControl(org.eclipse.swt.widgets.Composite composite)
      Description copied from class: AbstractPlotWindow
      Create the IPlottingSystem and other controls if necessary
      The IPlottingSystem should be created the following way:
      plottingSystem = PlottingFactory.createPlottingSystem();
      plottingSystem.setColorOption(ColorOption.NONE);
      plottingSystem.createPlotPart(parent, getName(), bars, PlotType.XY, (IViewPart) getGuiManager());
      plottingSystem.repaint();
      plottingSystem.addRegionListener(getRoiManager()); plottingSystem.addTraceListener(getRoiManager().getTraceListener());

      Overrides:
      createPlotControl in class AbstractPlotWindow
      Parameters:
      composite -