10
|
1 /*******************************************************************************
|
|
2 * Copyright (c) 2000, 2006 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.jface.viewers.ILabelProviderListener;
|
|
14
|
|
15 import dwtx.jface.viewers.LabelProviderChangedEvent;
|
|
16
|
|
17 /**
|
|
18 * A listener which is notified when a label provider's state changes.
|
|
19 *
|
|
20 * @see IBaseLabelProvider#addListener
|
|
21 * @see IBaseLabelProvider#removeListener
|
|
22 */
|
|
23 public interface ILabelProviderListener {
|
|
24 /**
|
|
25 * Notifies this listener that the state of the label provider
|
|
26 * has changed in a way that affects the labels it computes.
|
|
27 * <p>
|
|
28 * A typical response would be to refresh all labels by
|
|
29 * re-requesting them from the label provider.
|
|
30 * </p>
|
|
31 *
|
|
32 * @param event the label provider change event
|
|
33 */
|
|
34 public void labelProviderChanged(LabelProviderChangedEvent event);
|
|
35 }
|