Bug 89031 [Undo/Redo] IWorkbench#getOperationSupport() marked experimental
IWorkbench#getOperationSupport() marked experimental
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/IHistoryNotificationAwareOperation.java
* Note: This class/interface is part of a new API under development. It has
 * been added to builds so that clients can start using the new features.
 * However, it may change significantly before reaching stability. It is being
 * made available at this early stage to solicit feedback with the understanding
 * that any code that uses this API may be broken as the API evolves.
 * </p>
 * 
 * @since 3.1
 * @experimental
 */
public interface IHistoryNotificationAwareOperation {
	/**
	 * <p>
	 * An operation history notification about this operation is about to be sent
	 * to operation history listeners.  Any preparation needed before listeners
	 * are notified about this operation should be performed here.
	 * 
	 * <p>
	 * This method has been added to support legacy undo frameworks that are adapting 
	 * to IUndoableOperation.  Operations that previously relied on notification from their 
	 * containing history or stack before any listeners are notified about changes to the
	 * operation should implement this interface.
	 * 
	 * @param event -
	 *            the event that is about to be sent with the pending notification
	 *            
	 */
	void aboutToNotify(OperationHistoryEvent event);
}