Bug 94777 new project wizard: remove button enablement
I20050509-2000 (M7 test pass) new project wizard, 2nd page, projects dependencies tab: - the 'Remove' button is always enabled, even when the selection is on a access rule definition. Pressing it has no effect. It should only be enabled if the selection exclusively containes projects.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ProjectsWorkbookPage.java
CPListElementAttribute attrib= (CPListElementAttribute) elem;
				String key= attrib.getKey();
				if (CPListElement.INCLUSION.equals(key)) {
					if (((IPath[]) attrib.getValue()).length == 0) {
						return false;
					}
				} else if (CPListElement.EXCLUSION.equals(key)) {
					if (((IPath[]) attrib.getValue()).length == 0) {
						return false;
					}
				} else if (attrib.getValue() == null) {
					return false;
				}
				attributes++;
			} else if (elem instanceof CPListElement) {
				elements++;
			}
		}
		return attributes == selElements.size() || elements == selElements.size();
	}	
	private boolean canEdit(List selElements) {
		if (selElements.size() != 1) {
			return false;
		}
		Object elem= selElements.get(0);
		if (elem instanceof CPListElement) {
			return false;
		}
		if (elem instanceof CPListElementAttribute) {
			return true;