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
} else {
				
				operation.removeContext(context);
			}
		}
		
		
		if (batchingOperation != null) {
			if (batchingOperation.hasContext(context)) {
				notifyNotOK(batchingOperation);
				batchingOperation = null;
			} 
		}
	}
	/*
	 * Force the redo history for the given context to contain max or less items.
	 */
	private void forceRedoLimit(IUndoContext context, int max) {
		Object[] filtered = filter(redoList, context);
		int size = filtered.length;
		if (size > 0) {
			int index = 0;
			while (size > max) {
				IUndoableOperation removed = (IUndoableOperation)filtered[index];
				if (context == GLOBAL_UNDO_CONTEXT || removed.getContexts().length == 1) {
					/* remove the operation if we are enforcing a global limit or if
					 * the operation only has the specified context
					 */
					redoList.remove(removed);
					internalRemove(removed);