KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > viewers > ILabelProviderListener


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  *******************************************************************************/

11 package org.eclipse.jface.viewers;
12
13 /**
14  * A listener which is notified when a label provider's state changes.
15  *
16  * @see IBaseLabelProvider#addListener
17  * @see IBaseLabelProvider#removeListener
18  */

19 public interface ILabelProviderListener {
20     /**
21      * Notifies this listener that the state of the label provider
22      * has changed in a way that affects the labels it computes.
23      * <p>
24      * A typical response would be to refresh all labels by
25      * re-requesting them from the label provider.
26      * </p>
27      *
28      * @param event the label provider change event
29      */

30     public void labelProviderChanged(LabelProviderChangedEvent event);
31 }
32
Popular Tags