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:
-
Method Summary
Modifier and TypeMethodDescriptionvoidadd(Object[] elements, IProgressMonitor monitor) Add the elements to the IElementCollector.voidadd(Object element, IProgressMonitor monitor) Add the element to the IElementCollector.voiddone()The element collection is done.
-
Method Details
-
add
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
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.
-