|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.viewers.DecorationContext
A concrete implementation of the IDecorationContext
interface,
suitable for instantiating.
This class is not intended to be subclassed.
Field Summary | |
---|---|
static IDecorationContext |
DEFAULT_CONTEXT
Constant that defines a default decoration context that has no context ids associated with it. |
Constructor Summary | |
---|---|
DecorationContext()
Create a decoration context. |
Method Summary | |
---|---|
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. |
void |
putProperty(String property,
Object value)
Set the given property to the given value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final IDecorationContext DEFAULT_CONTEXT
Constructor Detail |
public DecorationContext()
Method Detail |
public Object getProperty(String property)
IDecorationContext
null
if the property does not exist in this context.
getProperty
in interface IDecorationContext
property
- the property
null
public String[] getProperties()
IDecorationContext
getProperties
in interface IDecorationContext
public void putProperty(String property, Object value)
null
removes the property from
the context.
property
- the propertyvalue
- the value of the property or null
if the property is to be removed.
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.