public class LabelProviderChangedEvent
extends java.util.EventObject
ILabelProviderListener,
Serialized Form| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
public LabelProviderChangedEvent(IBaseLabelProvider source)
source - the label providerpublic LabelProviderChangedEvent(IBaseLabelProvider source, java.lang.Object[] elements)
source - the label providerelements - the element whose labels have changedpublic LabelProviderChangedEvent(IBaseLabelProvider source, java.lang.Object element)
source - the label providerelement - the element whose label needs to be updatedpublic 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
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.