|
|||||||||||
| 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 org.eclipse.ui.views.properties.IPropertyDescriptor |
createPropertyDescriptor(IItemPropertyDescriptor itemPropertyDescriptor)
|
Object |
getEditableValue()
This delegates to IItemPropertySource.getEditableValue. |
org.eclipse.ui.views.properties.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 org.eclipse.ui.views.properties.IPropertySourcepublic org.eclipse.ui.views.properties.IPropertyDescriptor[] getPropertyDescriptors()
IItemPropertySource.getPropertyDescriptors.
getPropertyDescriptors in interface org.eclipse.ui.views.properties.IPropertySourceprotected org.eclipse.ui.views.properties.IPropertyDescriptor createPropertyDescriptor(IItemPropertyDescriptor itemPropertyDescriptor)
public Object getPropertyValue(Object propertyId)
IItemPropertyDescriptor.getPropertyValue.
getPropertyValue in interface org.eclipse.ui.views.properties.IPropertySourcepublic boolean isPropertySet(Object propertyId)
IItemPropertyDescriptor.isPropertySet.
isPropertySet in interface org.eclipse.ui.views.properties.IPropertySourcepublic void resetPropertyValue(Object propertyId)
IItemPropertyDescriptor.resetPropertyValue.
resetPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
public void setPropertyValue(Object propertyId,
Object value)
IItemPropertyDescriptor.setPropertyValue.
setPropertyValue in interface org.eclipse.ui.views.properties.IPropertySource
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||