Bug 167619 [Undo] 'Undo Delete Resources' should not be available after full project deletion
I20061212-0010. When deleting a project with all its contents there's a comment in the dialog that I cannot undo (OK). Once the project is gone I can still undo the project which is unexpected. Undoing the deletion results in an empty project which can be in a completely weird state (e.g. a Java project without a .classpath file). Adding Markus to track whether deleting from the Package Explorer is affected too.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/DeleteResourceAction.java
* 
	 * @param resources
	 *            the selected resources
	 * @return <code>true</code> if the user says to go ahead, and
	 *         <code>false</code> if the deletion should be abandoned
	 */
	private boolean confirmDelete(IResource[] resources) {
		if (containsOnlyProjects(resources)) {
			return confirmDeleteProjects(resources);
		}
		return confirmDeleteNonProjects(resources);
		
	}
	/**
	 * Asks the user to confirm a delete operation, where the selection contains
	 * no projects.
	 * 
	 * @param resources
	 *            the selected resources
	 * @return <code>true</code> if the user says to go ahead, and
	 *         <code>false</code> if the deletion should be abandoned
	 */
	private boolean confirmDeleteNonProjects(IResource[] resources) {
		String title;
		String msg;
		if (resources.length == 1) {
			title = IDEWorkbenchMessages.DeleteResourceAction_title1;
			IResource resource = resources[0];
			if (resource.isLinked()) {
				msg = NLS