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 given property to the given value.
|
public static final IDecorationContext DEFAULT_CONTEXT
public Object getProperty(String property)
IDecorationContext
null
if the property does not exist in this context.getProperty
in interface IDecorationContext
property
- the propertynull
public String[] getProperties()
IDecorationContext
getProperties
in interface IDecorationContext
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.