Bug 88838 [Undo] - API cleanup - remove IContextConsultingOperationApprover
Early on this was involved in scenarios where editors examined other operations. This is no longer used. Operation approvers generally apply to all contexts and are installed at the OperationHistory level. Until there is a concrete need for this API it should be removed. It is gratuitous at this point.
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/DefaultOperationHistory.java
*/
	public void add(IUndoableOperation operation) {
		Assert.isNotNull(operation);
		
		/*
		 * If we are in the middle of executing an open batching operation, and this is not that
		 * operation, then we need only add the context of the new operation to the batch.  
		 * The operation itself is disposed since we will never undo or redo it.  We consider
		 * it to be triggered by the batching operation and assume that its undo will be triggered
		 * by the batching operation undo.  
		 */
		if (batchingOperation != null && batchingOperation != operation) {
			IUndoContext[] contexts = operation.getContexts();
			for (int i = 0; i < contexts.length; i++) {
				batchingOperation.addContext(contexts[i]);
			}
			operation.dispose();
			return;
		}
		
		checkUndoLimit(operation);
		undoList.add(operation);
		notifyAdd(operation);
		
		
		IUndoContext[] contexts = operation.getContexts();
		for (int i = 0; i < contexts.length; i++) {
			flushRedo(contexts[i]);
		}
	}