|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.viewers.DecorationContext
public class 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 | |
---|---|
java.lang.String[] |
getProperties()
Return the properties that exist in this context (i.e. the set of properties that have values associated with them. |
java.lang.Object |
getProperty(java.lang.String property)
Get the value of the given property or null
if the property does not exist in this context. |
void |
putProperty(java.lang.String property,
java.lang.Object value)
Set the pgiven roperty 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 java.lang.Object getProperty(java.lang.String property)
IDecorationContext
null
if the property does not exist in this context.
getProperty
in interface IDecorationContext
property
- the property
null
public java.lang.String[] getProperties()
IDecorationContext
getProperties
in interface IDecorationContext
public void putProperty(java.lang.String property, java.lang.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.2 |
|||||||||
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, 2006. All rights reserved.