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
for (int j = 0; j < contexts.length; j++) {
				if (!allContexts.contains(contexts[j])) {
					allContexts.add(contexts[j]);
				}
			}
		}
		contexts = allContexts;
	}
	
	/*
	 * Remove all non-triggering children
	 */
	private void removeAllChildren() {
		IUndoableOperation [] nonTriggers = (IUndoableOperation [])children.toArray(new IUndoableOperation[children.size()]);
		for (int i=0; i<nonTriggers.length; i++) {
			children.remove(nonTriggers[i]);
			nonTriggers[i].dispose();
		}
	}
	
	/**
	 * Return the operation that triggered the other operations in this composite.
	 * 
	 * @return - the IUndoableOperation that triggered the other children.
	 */
	public IUndoableOperation getTriggeringOperation() {
		return triggeringOperation;
	}
}