Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.viewers
Class DecorationContext

java.lang.Object
  extended by 
org.eclipse.jface.viewers.DecorationContext
All Implemented Interfaces:
IDecorationContext

public class DecorationContext
extends Object
implements IDecorationContext

A concrete implementation of the IDecorationContext interface, suitable for instantiating.

This class is not intended to be subclassed.

Since:
3.2

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

DEFAULT_CONTEXT

public static final 
IDecorationContext DEFAULT_CONTEXT
Constant that defines a default decoration context that has no context ids associated with it.

Constructor Detail

DecorationContext

public DecorationContext()
Create a decoration context.

Method Detail

getProperty

public 
Object getProperty(
String property)
Description copied from interface: IDecorationContext
Get the value of the given property or null if the property does not exist in this context.

Specified by:
getProperty in interface IDecorationContext
Parameters:
property - the property
Returns:
the value of the given property or null

getProperties

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

Specified by:
getProperties in interface IDecorationContext
Returns:
the properties that exist in this context

putProperty

public void putProperty(
String property,
                        
Object value)
Set the given property to the given value. Setting the value of a property to null removes the property from the context.

Parameters:
property - the property
value - the value of the property or null if the property is to be removed.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire