Bug 89031 [Undo/Redo] IWorkbench#getOperationSupport() marked experimental
IWorkbench#getOperationSupport() marked experimental
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/DefaultOperationHistory.java
* 
	 * @see org.eclipse.core.commands.operations.IOperationHistory#closeOperation(boolean, boolean)
	 */
	public void closeOperation(boolean operationOK, boolean addToHistory, int mode) {
		if (DEBUG_OPERATION_HISTORY_UNEXPECTED) {
			if (openComposite == null) {
				System.out.print("OPERATIONHISTORY >>> Attempted to close operation when none was open ");  
				System.out.println();
				return;
			}
		}
		if (openComposite != null) {
			if (DEBUG_OPERATION_HISTORY_OPENOPERATION) {
				System.out.print("OPERATIONHISTORY >>> Closing operation ");  
				System.out.print(openComposite);
				System.out.println();
			}
			
			
			
			if (operationOK) {
				if (mode == EXECUTE) notifyDone(openComposite);
				if (addToHistory) add(openComposite);
			} else {
				if (mode == EXECUTE) notifyNotOK(openComposite);
			}
			openComposite = null;
		}
	}