Eclipse Platform
2.1

org.eclipse.jface.viewers
Interface IDecoration


public interface IDecoration

Defines the result of decorating an element. This interface is not meant to be implemented and will be provided to instances of ILightweightLabelDecorator.


Method Summary
 void addOverlay(ImageDescriptor overlay)
          Adds an overlay to the element's image.
 void addPrefix(String prefix)
          Adds a prefix to the element's label.
 void addSuffix(String suffix)
          Adds a suffix to the element's label.
 

Method Detail

addPrefix

public void addPrefix(String prefix)
Adds a prefix to the element's label.
Parameters:
prefix - the prefix

addSuffix

public void addSuffix(String suffix)
Adds a suffix to the element's label.
Parameters:
suffix - the suffix

addOverlay

public void addOverlay(ImageDescriptor overlay)
Adds an overlay to the element's image.
Parameters:
overlay - the overlay image descriptor

Eclipse Platform
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.