Package org.eclipse.ui.progress
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 Summary
All Methods Instance Methods Abstract Methods 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
done()
The element collection is done.
-
-
-
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 addedmonitor
- 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 addedmonitor
- The monitor to send updates to.
-
done
void done()
The element collection is done. Clean up any temporary state.
-
-