public void getPipelinedChildren()

in eclipse/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/nav/JcrContentContentProvider.java [245:279]


	public void getPipelinedChildren(Object aParent, Set theCurrentChildren) {
		if (aParent instanceof IProject) {
			IProject project = (IProject)aParent;
			if (ProjectHelper.isContentProject(project)) {
				for (Iterator<?> it = theCurrentChildren.iterator(); it
						.hasNext();) {
					Object aChild = (Object) it.next();
					if (aChild instanceof IPackageFragmentRoot) {
						IPackageFragmentRoot ipfr = (IPackageFragmentRoot)aChild;
						IResource res = ipfr.getResource();
						IFolder syncDir = getSyncDir(project);
						if (res!=null && syncDir!=null && res.equals(syncDir)) {
							// then remove this one folder provided via j2ee content provider
							// reason: we are showing it too via the sling content provider
							it.remove();
							// and we can break here since there's only one syncdir currently
							break;
						}
						
					}
				}
			}
			Object[] children = projectGetChildren(project);
			if (children!=null && children.length>0) {
				theCurrentChildren.addAll(Arrays.asList(children));
			}
			return;
		} else if (aParent instanceof SyncDir) {
			theCurrentChildren.clear();
			Object[] children = getChildren(aParent);
			if (children!=null) {
				theCurrentChildren.addAll(Arrays.asList(children));
			}
		}
	}