Class ITraceListener.Stub

java.lang.Object
org.eclipse.dawnsci.plotting.api.trace.ITraceListener.Stub
All Implemented Interfaces:
EventListener, ITraceListener
Enclosing interface:
ITraceListener

public static class ITraceListener.Stub extends Object implements ITraceListener
Convenience class for creating listeners
  • Constructor Details

    • Stub

      public Stub()
  • Method Details

    • traceWillPlot

      public void traceWillPlot(TraceWillPlotEvent evt)
      Description copied from interface: ITraceListener
      Fired whenever a new trace is about to be plotted or replotted. This is normally from add or update events. The event data will always be the ITrace which is about to be plotted. The source of TraceWillPlotEvent will be the Trace. There are getter and setter methods for the data. Use the setter methods to change the data in the trace which will be plotted.
      Specified by:
      traceWillPlot in interface ITraceListener
      Parameters:
      evt -
    • tracesUpdated

      public void tracesUpdated(TraceEvent evt)
      Description copied from interface: ITraceListener
      Notifies the listener that the plot technology requires the data to be resent back to the plot. For instance the user has reconfigured the plot and the data should be sent again. It is done this way to avoid caches of the plot data, which may be large, being made. Source of event is IPlottingSystem
      Specified by:
      tracesUpdated in interface ITraceListener
      Parameters:
      evt -
    • tracesRemoved

      public void tracesRemoved(TraceEvent evt)
      Description copied from interface: ITraceListener
      Called when all traces are cleared. Source of event is IPlottingSystem
      Specified by:
      tracesRemoved in interface ITraceListener
      Parameters:
      evt -
    • tracesAdded

      public void tracesAdded(TraceEvent evt)
      Description copied from interface: ITraceListener
      Fired when new traces are plotted. Source of event is ITrace or List
      Specified by:
      tracesAdded in interface ITraceListener
      Parameters:
      evt -
    • traceCreated

      public void traceCreated(TraceEvent evt)
      Description copied from interface: ITraceListener
      Fired whenever a new trace is created, the source of TraceEvent is the ITrace created.
      Specified by:
      traceCreated in interface ITraceListener
      Parameters:
      evt -
    • traceUpdated

      public void traceUpdated(TraceEvent evt)
      Description copied from interface: ITraceListener
      Fired whenever an existing trace is updated, the source of TraceEvent is the ITrace created.
      Specified by:
      traceUpdated in interface ITraceListener
      Parameters:
      evt -
    • traceAdded

      public void traceAdded(TraceEvent evt)
      Description copied from interface: ITraceListener
      Fired whenever a new trace is added, the source of TraceEvent is the ITrace added.
      Specified by:
      traceAdded in interface ITraceListener
      Parameters:
      evt -
    • traceRemoved

      public void traceRemoved(TraceEvent evt)
      Description copied from interface: ITraceListener
      Fired whenever a trace is deleted, the source of TraceEvent is the ITrace.
      Specified by:
      traceRemoved in interface ITraceListener
      Parameters:
      evt -
    • update

      protected void update(TraceEvent evt)