Mercurial > projects > dwt-addons
comparison dwtx/core/commands/operations/IOperationHistoryListener.d @ 3:6518c18a01f7
eclipse.core package without osgi dependencies
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 26 Mar 2008 00:57:19 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2:a012107a911c | 3:6518c18a01f7 |
---|---|
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 * Port to the D programming language: | |
11 * Frank Benoit <benoit@tionex.de> | |
12 *******************************************************************************/ | |
13 module dwtx.core.commands.operations.IOperationHistoryListener; | |
14 | |
15 import dwtx.core.commands.operations.OperationHistoryEvent; | |
16 | |
17 import dwt.dwthelper.utils; | |
18 | |
19 /** | |
20 * <p> | |
21 * This interface is used to listen to notifications from an IOperationHistory. | |
22 * The supplied OperationHistoryEvent describes the particular notification. | |
23 * </p> | |
24 * <p> | |
25 * Operation history listeners must be prepared to receive notifications from a | |
26 * background thread. Any UI access occurring inside the implementation must be | |
27 * properly synchronized using the techniques specified by the client's widget | |
28 * library. | |
29 * </p> | |
30 * | |
31 * @since 3.1 | |
32 */ | |
33 public interface IOperationHistoryListener { | |
34 /** | |
35 * Something of note has happened in the IOperationHistory. Listeners should | |
36 * check the supplied event for details. | |
37 * | |
38 * @param event | |
39 * the OperationHistoryEvent that describes the particular | |
40 * notification. | |
41 */ | |
42 void historyNotification(OperationHistoryEvent event); | |
43 | |
44 } |