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:
    IDeferredWorkbenchAdapter, DeferredTreeContentManager
    • Method Detail

      • 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.