} else if (element instanceof IProject) { result.add(element);
	static List getSelectedProjects(IStructuredSelection selection) {		List result= new ArrayList(selection.size());		for(Iterator iter= selection.iterator(); iter.hasNext(); ) {			Object element= iter.next();			if (element instanceof IJavaProject) {				result.add(((IJavaProject)element).getResource());			}		}		return result;	}	