Eclipse Platform
Release 3.2

org.eclipse.jface.viewers
Interface IDecorationContext

All Known Implementing Classes:
DecorationContext

public interface IDecorationContext

A decoration context provides additional information to a label decorator.

This interface is not intended to be implemented by clients

Since:
3.2
See Also:
LabelDecorator

Method Summary
 String[] getContextIds()
          Deprecated. to be removed before M5
 String[] getProperties()
          Return the properties that exist in this context (i.e. the set of properties that have values associated with them.
 Object getProperty(String property)
          Get the value of the given property or null if the property does not exist in this context.
 

Method Detail

getContextIds

public String[] getContextIds()
Deprecated. to be removed before M5

Return the ids of the contexts that are active for the element that is being decorated. Context ids identify a command Context.

Returns:
the ids of the contexts that are active for the element that is being decorated
See Also:
Context

getProperty

public Object getProperty(String property)
Get the value of the given property or null if the property does not exist in this context.

Parameters:
property - the property
Returns:
the value of the given property or null

getProperties

public String[] getProperties()
Return the properties that exist in this context (i.e. the set of properties that have values associated with them.

Returns:
the properties that exist in this context

Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.