Bug 163241 [Undo] Allow Undo notification to be turned off
When deleting a project you will always been notified that it removes the Undo History. Could we add a "Don't show this" checkbox to its dialog settings? Thanx, PW
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/DeleteResourceAction.java
radio2.setSelection(!deleteContent);
			return composite;
		}
		private SelectionListener selectionListener = new SelectionAdapter() {
			public void widgetSelected(SelectionEvent e) {
				Button button = (Button) e.widget;
				if (button.getSelection()) {
					deleteContent = (button == radio1);
				}
			}
		};
		boolean getDeleteContent() {
			return deleteContent;
		}
		/*
		 * (non-Javadoc)
		 * 
		 * @see org.eclipse.jface.window.Window#open()
		 */
		public int open() {
			
			if (fIsTesting) {
				deleteContent = true;
				return Window.OK;
			}
			return super.open();
		}
		/**
		 * Set this delete dialog into testing mode. It won't pop up, and it
		 * returns true for deleteContent.