Interface IElementCollector


public interface IElementCollector
IElementCollector is a type that allows for the incremental update of a collection of objects. This used for updating trees incrementally with a progress monitor so that the update can be reported.
Since:
3.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(Object[] elements, IProgressMonitor monitor)
    Add the elements to the IElementCollector.
    void
    add(Object element, IProgressMonitor monitor)
    Add the element to the IElementCollector.
    void
    The element collection is done.
  • Method Details

    • add

      void add(Object element, IProgressMonitor monitor)
      Add the element to the IElementCollector. Send any progress information to monitor.
      Parameters:
      element - The element being added
      monitor - The monitor to send updates to.
    • add

      void add(Object[] elements, IProgressMonitor monitor)
      Add the elements to the IElementCollector. Send any progress information to monitor.
      Parameters:
      elements - The elements being added
      monitor - The monitor to send updates to.
    • done

      void done()
      The element collection is done. Clean up any temporary state.