public class DecorationContext extends Object implements IDecorationContext
IDecorationContext interface,
suitable for instantiating.
This class is not intended to be subclassed.
| Modifier and Type | Field and Description |
|---|---|
static IDecorationContext |
DEFAULT_CONTEXT
Constant that defines a default decoration context that has
no context ids associated with it.
|
| Constructor and Description |
|---|
DecorationContext()
Create a decoration context.
|
| Modifier and Type | Method and Description |
|---|---|
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 pgiven roperty to the given value.
|
public static final IDecorationContext DEFAULT_CONTEXT
public Object getProperty(String property)
IDecorationContextnull
if the property does not exist in this context.getProperty in interface IDecorationContextproperty - the propertynullpublic String[] getProperties()
IDecorationContextgetProperties in interface IDecorationContextGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.