Bug 296691 Change new Groups API to Virtual Resource API
If we decide that 'virtual' is the right naming for new resources concept, I will make the following changes. Add IResource#VIRTUAL flag to use in #create methods Add IResource#isVirtual indicating that a resource is virtual Remove IResource#isGroup Remove IFolder#createGroup
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/LinkedResourceDecorator.java
public void removeListener(ILabelProviderListener listener) {
    }
    /**
     * Adds the linked resource overlay if the given element is a linked
     * resource.
     * 
     * @param element element to decorate
     * @param decoration  The decoration we are adding to
     * @see org.eclipse.jface.viewers.ILightweightLabelDecorator#decorate(Object, IDecoration)
     */
    public void decorate(Object element, IDecoration decoration) {
        if (element instanceof IResource == false) {
			return;
		}
        IResource resource = (IResource) element;
        if (resource.isLinked() && !resource.isGroup()) {
			IFileInfo fileInfo = null;
			URI location = resource.getLocationURI();
			if (location != null) {
				fileInfo = IDEResourceInfoUtils.getFileInfo(location);
			}
			if (fileInfo != null && fileInfo.exists()) {
				decoration.addOverlay(LINK);
			} else {
				decoration.addOverlay(LINK_WARNING);
			}
		}
    }
}