org.eclipse.ui.progress.IElementCollector Java Examples

The following examples show how to use org.eclipse.ui.progress.IElementCollector. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DeferredHierarchyBuilder.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public void fetchDeferredChildren(Object object, IElementCollector collector, IProgressMonitor monitor) {
	IHierarchyNode[] children = hierarchyBuilder.buildChildren(delegate, monitor).toArray(new IHierarchyNode[0]);
	collector.add(children, monitor);
	collector.done();
}
 
Example #2
Source File: FetchMembersOperation.java    From APICloud-Studio with GNU General Public License v3.0 4 votes vote down vote up
public FetchMembersOperation(IWorkbenchPart part, ISVNRemoteFolder folder, IElementCollector collector) {
	super(part);
	this.remoteFolder = folder;
	this.collector = collector;
}