KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > core > commands > operations > IOperationHistoryListener


1 /*******************************************************************************
2  * Copyright (c) 2005 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.core.commands.operations;
12
13 /**
14  * <p>
15  * This interface is used to listen to notifications from an IOperationHistory.
16  * The supplied OperationHistoryEvent describes the particular notification.
17  * </p>
18  * <p>
19  * Operation history listeners must be prepared to receive notifications from a
20  * background thread. Any UI access occurring inside the implementation must be
21  * properly synchronized using the techniques specified by the client's widget
22  * library.
23  * </p>
24  *
25  * @since 3.1
26  */

27 public interface IOperationHistoryListener {
28     /**
29      * Something of note has happened in the IOperationHistory. Listeners should
30      * check the supplied event for details.
31      *
32      * @param event
33      * the OperationHistoryEvent that describes the particular
34      * notification.
35      */

36     void historyNotification(OperationHistoryEvent event);
37
38 }
39
Popular Tags