blob: 7566222e2021404d36af650d325fdb262e45ebbb [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.core.commands.operations;
/**
* <p>
* This interface is used to listen to notifications from an IOperationHistory.
* The supplied OperationHistoryEvent describes the particular notification.
* </p>
* <p>
* 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 IOperationHistoryListener {
/**
* Something of note has happened in the IOperationHistory. Listeners should
* check the supplied event for details.
*
* @param event -
* the OperationHistoryEvent that describes the particular
* notification.
*/
void historyNotification(OperationHistoryEvent event);
}