comparison dwtx/core/commands/ICommandListener.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) 2004, 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.ICommandListener;
14
15 import dwtx.core.commands.CommandEvent;
16
17 /**
18 * An instance of this interface can be used by clients to receive notification
19 * of changes to one or more instances of <code>Command</code>.
20 * <p>
21 * This interface may be implemented by clients.
22 * </p>
23 *
24 * @since 3.1
25 * @see Command#addCommandListener(ICommandListener)
26 * @see Command#removeCommandListener(ICommandListener)
27 */
28 public interface ICommandListener {
29
30 /**
31 * Notifies that one or more properties of an instance of
32 * <code>Command</code> have changed. Specific details are described in
33 * the <code>CommandEvent</code>.
34 *
35 * @param commandEvent
36 * the command event. Guaranteed not to be <code>null</code>.
37 */
38 void commandChanged(CommandEvent commandEvent);
39 }