Dali Provisional API
Release 3.2

org.eclipse.jpt.common.ui.jface
Interface ItemLabelProvider

All Known Subinterfaces:
ItemExtendedLabelProvider

public interface ItemLabelProvider

Implementations of this interface can be used to maintain the label (image, and text) of a specific item. The implementation will monitor the item for any changes that affect the label and forward them appropriately to the ItemLabelProvider.Manager.

Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

See Also:
ILabelProvider

Nested Class Summary
static interface ItemLabelProvider.Factory
          Factory interface for constructing item label providers.
static interface ItemLabelProvider.Manager
          An item label provider's manager is notified whenever the item's label has changed.
 
Method Summary
 void dispose()
          Dispose the item label provider.
 Image getImage()
          Return the image for the provider's item.
 String getText()
          Return the text for the provider's item.
 

Method Detail

getImage

Image getImage()
Return the image for the provider's item.

See Also:
ILabelProvider.getImage(Object)

getText

String getText()
Return the text for the provider's item.

See Also:
ILabelProvider.getText(Object)

dispose

void dispose()
Dispose the item label provider. Remove any item listeners as appropriate.


Dali Provisional API
Release 3.2

Copyright (c) 2012 Oracle. All rights reserved.