monitor.beginTask(Messages.getString("pending"), reps.size()); //$NON-NLS-1$
for (int i = 0; i < reps.size(); i++) {
TreeParent p = new TreeParent(reps.get(i).getLocation(), Type.REPOSITORY);
p.setParent(node);
p.setGuvnorRepository(reps.get(i));
ResourceProperties props = new ResourceProperties();
props.setBase(""); //$NON-NLS-1$
p.setResourceProps(props);
collector.add(p, monitor);
monitor.worked(1);
}
monitor.done();