com.bbn.swede.view.uriexplorer.ui
Class URIExplorerLabelDecorator

java.lang.Object
  extended byLabelProvider
      extended bycom.bbn.swede.view.uriexplorer.ui.URIExplorerLabelDecorator

public class URIExplorerLabelDecorator
extends LabelProvider

This is a class which implements the Decorator pattern for label providers, tailored to the functioning of the URIExplorer.

Author:
aperezlo
See Also:
Serialized Form

Constructor Summary
URIExplorerLabelDecorator()
           
 
Method Summary
 Image decorateImage(Image image, Object element)
          Used to decorate images shown in the URI Explorer.
 String decorateText(String text, Object element)
          Used to decorate text labels.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URIExplorerLabelDecorator

public URIExplorerLabelDecorator()
Method Detail

decorateImage

public Image decorateImage(Image image,
                           Object element)
Used to decorate images shown in the URI Explorer. Currently does nothing.

See Also:
ILabelDecorator

decorateText

public String decorateText(String text,
                           Object element)
Used to decorate text labels. Currently alters the names of labels for libraries that are due to be refreshed as specified in the Library preferences.

See Also:
ILabelDecorator


Copyright © 2004-2005 BBN Technologies. All Rights Reserved.