Bug 180758 [IDE] Deleting a project but not the contents asks if you want to delete read-only files
I have noticed that in 3.3M6, if I delete a project that has read-only files in it, it will prompt if I want to delete the files even if I select "Do not delete contents". The files are not actually deleted, but the error dialog should not be presented to the user since the files are not actually being deleted. I don't remember seeing this in 3.3M4 or earlier.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/DeleteResourceAction.java
}
	/**
	 * The id of this action.
	 */
	public static final String ID = PlatformUI.PLUGIN_ID
			+ ".DeleteResourceAction";
	/**
	 * The shell in which to show any dialogs.
	 */
	private Shell shell;
	/**
	 * Whether or not we are deleting content for projects.
	 */
	private boolean deleteContent = false;
	/**
	 * Flag that allows testing mode ... it won't pop up the project delete
	 * dialog, and will return "delete all content".
	 */
	protected boolean fTestingMode = false;
	private String[] modelProviderIds;
	/**
	 * Creates a new delete resource action.
	 * 
	 * @param shell
	 *            the shell for any dialogs
	 */
	public DeleteResourceAction(Shell shell) {
		super(IDEWorkbenchMessages.DeleteResourceAction_text);
		setToolTipText(IDEWorkbenchMessages.DeleteResourceAction_toolTip);
		PlatformUI.getWorkbench().getHelpSystem().setHelp(this,