comparison dwtx/jface/bindings/ISchemeListener.d @ 16:e0f0aaf75edd

PopupDialog, bindings and actions
author Frank Benoit <benoit@tionex.de>
date Tue, 01 Apr 2008 08:00:31 +0200
parents
children
comparison
equal deleted inserted replaced
15:db8940420ed8 16:e0f0aaf75edd
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
14 module dwtx.jface.bindings.ISchemeListener;
15
16 import dwtx.jface.bindings.SchemeEvent;
17
18 import dwt.dwthelper.utils;
19
20 /**
21 * <p>
22 * An instance of <code>ISchemeListener</code> can be used by clients to
23 * receive notification of changes to one or more instances of
24 * <code>IScheme</code>.
25 * </p>
26 * <p>
27 * This interface may be implemented by clients.
28 * </p>
29 *
30 * @since 3.1
31 * @see Scheme#addSchemeListener(ISchemeListener)
32 * @see Scheme#removeSchemeListener(ISchemeListener)
33 * @see SchemeEvent
34 */
35 public interface ISchemeListener {
36
37 /**
38 * Notifies that one or more attributes of an instance of
39 * <code>IScheme</code> have changed. Specific details are described in
40 * the <code>SchemeEvent</code>.
41 *
42 * @param schemeEvent
43 * the scheme event. Guaranteed not to be <code>null</code>.
44 */
45 void schemeChanged(SchemeEvent schemeEvent);
46 }