Bug 105697 [Undo] - OperationHistoryEvent - cannot distinguish between canceled event or failed event
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/DefaultOperationHistory.java
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();
				}
				endedComposite = openComposite;
				openComposite = null;
			}
		}
		
		
		
		if (endedComposite != null) {
			if (operationOK) {
				if (mode == EXECUTE)
					notifyDone(endedComposite);
				if (addToHistory)
					add(endedComposite);
			} else {
				if (mode == EXECUTE)
					notifyNotOK(endedComposite);
			}
		}
	}