|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.eclipse.jface.viewers.LabelProviderChangedEvent
public class LabelProviderChangedEvent
Event object describing a label provider state change.
ILabelProviderListener,
Serialized Form| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
LabelProviderChangedEvent(IBaseLabelProvider source)
Creates a new event for the given source, indicating that all labels provided by the source are no longer valid and should be updated. |
|
LabelProviderChangedEvent(IBaseLabelProvider source,
java.lang.Object element)
Creates a new event for the given source, indicating that the label provided by the source for the given element is no longer valid and should be updated. |
|
LabelProviderChangedEvent(IBaseLabelProvider source,
java.lang.Object[] elements)
Creates a new event for the given source, indicating that the label provided by the source for the given elements is no longer valid and should be updated. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getElement()
Returns the first element whose label needs to be updated, or null if all labels need to be updated. |
java.lang.Object[] |
getElements()
Returns the elements whose labels need to be updated, or null if all labels need to be updated. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LabelProviderChangedEvent(IBaseLabelProvider source)
source - the label provider
public LabelProviderChangedEvent(IBaseLabelProvider source,
java.lang.Object[] elements)
source - the label providerelements - the element whose labels have changed
public LabelProviderChangedEvent(IBaseLabelProvider source,
java.lang.Object element)
source - the label providerelement - the element whose label needs to be updated| Method Detail |
|---|
public java.lang.Object getElement()
null if all labels need to be updated.
nullpublic java.lang.Object[] getElements()
null if all labels need to be updated.
null
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.