|
||||||||||||
| 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 java.lang.Object |
object
This is the object for which this class is a property source. |
| Constructor Summary | |
|---|---|
PropertySource(java.lang.Object object,
IItemPropertySource itemPropertySource)
An instance is constructed from an object and its item property source. |
|
| Method Summary | |
|---|---|
protected IPropertyDescriptor |
createPropertyDescriptor(IItemPropertyDescriptor itemPropertyDescriptor)
|
java.lang.Object |
getEditableValue()
This delegates to IItemPropertySource.getEditableValue. |
IPropertyDescriptor[] |
getPropertyDescriptors()
This delegates to IItemPropertySource.getPropertyDescriptors. |
java.lang.Object |
getPropertyValue(java.lang.Object propertyId)
This delegates to IItemPropertyDescriptor.getPropertyValue. |
boolean |
isPropertySet(java.lang.Object propertyId)
This delegates to IItemPropertyDescriptor.isPropertySet. |
void |
resetPropertyValue(java.lang.Object propertyId)
This delegates to IItemPropertyDescriptor.resetPropertyValue. |
void |
setPropertyValue(java.lang.Object propertyId,
java.lang.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 java.lang.Object object
protected IItemPropertySource itemPropertySource
IPropertySource methods.
| Constructor Detail |
public PropertySource(java.lang.Object object,
IItemPropertySource itemPropertySource)
| Method Detail |
public java.lang.Object getEditableValue()
IItemPropertySource.getEditableValue.
getEditableValue in interface IPropertySourcepublic IPropertyDescriptor[] getPropertyDescriptors()
IItemPropertySource.getPropertyDescriptors.
getPropertyDescriptors in interface IPropertySourceprotected IPropertyDescriptor createPropertyDescriptor(IItemPropertyDescriptor itemPropertyDescriptor)
public java.lang.Object getPropertyValue(java.lang.Object propertyId)
IItemPropertyDescriptor.getPropertyValue.
getPropertyValue in interface IPropertySourcepublic boolean isPropertySet(java.lang.Object propertyId)
IItemPropertyDescriptor.isPropertySet.
isPropertySet in interface IPropertySourcepublic void resetPropertyValue(java.lang.Object propertyId)
IItemPropertyDescriptor.resetPropertyValue.
resetPropertyValue in interface IPropertySource
public void setPropertyValue(java.lang.Object propertyId,
java.lang.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 | |||||||||||