Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.viewers
Interface IDelayedLabelDecorator

All Superinterfaces:
IBaseLabelProvider, ILabelDecorator
All Known Subinterfaces:
IDecoratorManager

public interface IDelayedLabelDecorator
extends ILabelDecorator

A delayed label decorator is a label decorator that may not have a decoration available immediately. This interface defines the methods for requesting the preparation of a decorator for an object and for querying if the decorator is ready. Interested parties should register an ILabelProviderListener with a delayed label decorator in order to be informed when the decoration is ready.

Since:
3.0

Method Summary
 boolean prepareDecoration ( Object element, String originalText)
          Prepare the element for decoration.
 
Methods inherited from interface org.eclipse.jface.viewers. ILabelDecorator
decorateImage, decorateText
 
Methods inherited from interface org.eclipse.jface.viewers. IBaseLabelProvider
addListener, dispose, isLabelProperty, removeListener
 

Method Detail

prepareDecoration

boolean prepareDecoration(
Object element,
                          
String originalText)
Prepare the element for decoration. If it is already decorated and ready for update return true. If decoration is pending return false.

Parameters:
element - The element to be decorated
originalText - The starting text.
Returns:
boolean true if the decoration is ready for this element

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire