|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.edit.ui.provider.PropertySource
This is used to encapsulate an IItemPropertySource
along with the object for which it is an item property source
and make it behave like an IPropertySource
.
Field Summary | |
protected IItemPropertySource |
itemPropertySource
This is the descriptor to which we will delegate all the IPropertySource methods. |
protected Object |
object
This is the object for which this class is a property source. |
Constructor Summary | |
PropertySource(Object object,
IItemPropertySource itemPropertySource)
An instance is constructed from an object and its item property source. |
Method Summary | |
protected IPropertyDescriptor |
createPropertyDescriptor(IItemPropertyDescriptor itemPropertyDescriptor)
|
Object |
getEditableValue()
This delegates to IItemPropertySource.getEditableValue . |
IPropertyDescriptor[] |
getPropertyDescriptors()
This delegates to IItemPropertySource.getPropertyDescriptors . |
Object |
getPropertyValue(Object propertyId)
This delegates to IItemPropertyDescriptor.getPropertyValue . |
boolean |
isPropertySet(Object propertyId)
This delegates to IItemPropertyDescriptor.isPropertySet . |
void |
resetPropertyValue(Object propertyId)
This delegates to IItemPropertyDescriptor.resetPropertyValue . |
void |
setPropertyValue(Object propertyId,
Object value)
This delegates to IItemPropertyDescriptor.setPropertyValue . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Object object
protected IItemPropertySource itemPropertySource
IPropertySource
methods.
Constructor Detail |
public PropertySource(Object object, IItemPropertySource itemPropertySource)
Method Detail |
public Object getEditableValue()
IItemPropertySource.getEditableValue
.
getEditableValue
in interface IPropertySource
public IPropertyDescriptor[] getPropertyDescriptors()
IItemPropertySource.getPropertyDescriptors
.
getPropertyDescriptors
in interface IPropertySource
protected IPropertyDescriptor createPropertyDescriptor(IItemPropertyDescriptor itemPropertyDescriptor)
public Object getPropertyValue(Object propertyId)
IItemPropertyDescriptor.getPropertyValue
.
getPropertyValue
in interface IPropertySource
public boolean isPropertySet(Object propertyId)
IItemPropertyDescriptor.isPropertySet
.
isPropertySet
in interface IPropertySource
public void resetPropertyValue(Object propertyId)
IItemPropertyDescriptor.resetPropertyValue
.
resetPropertyValue
in interface IPropertySource
public void setPropertyValue(Object propertyId, Object value)
IItemPropertyDescriptor.setPropertyValue
.
setPropertyValue
in interface IPropertySource
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |