Bug 89031 [Undo/Redo] IWorkbench#getOperationSupport() marked experimental
IWorkbench#getOperationSupport() marked experimental
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/TriggeredOperations.java
*/
	public void removeContext(IUndoContext context) {
		
		if (triggeringOperation.hasContext(context)) {
			if (triggeringOperation.getContexts().length == 1) {
				remove(triggeringOperation);
				return;
			}
			triggeringOperation.removeContext(context);
			recomputeContexts();
		}
		
		ArrayList toBeRemoved = new ArrayList();
		for (int i=0; i< children.size(); i++) {
			IUndoableOperation child = (IUndoableOperation)children.get(i);
			if (child.hasContext(context)) {
				if (child.getContexts().length == 1) {
					toBeRemoved.add(child);
				} else {
					child.removeContext(context);
					recomputeContexts();
				}
			}
		}
		for (int i=0; i<toBeRemoved.size(); i++) {
			remove((IUndoableOperation)toBeRemoved.get(i));
		}
	}
	/*
	 * (non-Javadoc)