Bug 123496 [IDE] Use operation validation API for IDE actions
We should use the Resources/Core operation validation API in the IDE actions for manipulating resources.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/DeleteResourceAction.java
* Set this delete dialog into testing mode.  It won't pop up, 
		 * and it returns true for deleteContent.
		 * 
		 * @param t the testing mode
		 */
        void setTestingMode(boolean t) {
        	fIsTesting = t;
        }
    }
    /**
     * 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;
    /**
     * Whether or not to automatically delete out of sync resources
     */
    private boolean forceOutOfSyncDelete = false;
    
    /**
     * Flag that allows testing mode ... it won't pop up the project
     * delete dialog, and will return "delete all content".