Bug 94402 [Undo] - javadoc - clarify disposal responsibilities in ICompositeOperation
If a composite operation is disposed, it should dispose all of its children. If a child of a composite operation is removed before the composite is disposed, it should dispose the removed operation. This should be documented.
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/ICompositeOperation.java
/*******************************************************************************
 * Copyright (c) 2005 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.core.commands.operations;
/**
 * <p>
 * ICompositeOperation defines an undoable operation that is composed of child
 * operations. Requests to execute, undo, or redo result in the operation taking
 * place on the composite as a whole.
 * </p>
 * 
 * @since 3.1
 */
public interface ICompositeOperation extends IUndoableOperation {