|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.edit.provider.ItemPropertyDescriptor.PropertyValueWrapper
public static class ItemPropertyDescriptor.PropertyValueWrapper
Field Summary | |
---|---|
protected AdapterFactoryItemDelegator |
itemDelegator
|
protected java.lang.Object |
nestedPropertySource
|
protected java.lang.Object |
object
|
protected java.lang.Object |
propertyValue
|
Constructor Summary | |
---|---|
ItemPropertyDescriptor.PropertyValueWrapper(AdapterFactory adapterFactory,
java.lang.Object object,
java.lang.Object propertyValue,
java.lang.Object nestedPropertySource)
|
Method Summary | |
---|---|
protected IItemPropertyDescriptor |
createPropertyDescriptorDecorator(java.lang.Object object,
IItemPropertyDescriptor itemPropertyDescriptor)
|
java.lang.Object |
getEditableValue(java.lang.Object thisObject)
This returns the value to be edited. |
java.lang.Object |
getImage(java.lang.Object thisObject)
This does the same thing as ILabelProvider.getImage, it fetches the label image specific to this object instance. |
IItemPropertyDescriptor |
getPropertyDescriptor(java.lang.Object thisObject,
java.lang.Object propertyId)
This returns the property descriptor with an ID or feature
that matches the given ID. |
java.util.List<IItemPropertyDescriptor> |
getPropertyDescriptors(java.lang.Object thisObject)
This does the same thing as IPropertySource.getPropertyDescriptors. |
java.lang.String |
getText(java.lang.Object thisObject)
This does the same thing as ILabelProvider.getlText, it fetches the label text specific to this object instance. |
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 java.lang.Object propertyValue
protected java.lang.Object nestedPropertySource
protected AdapterFactoryItemDelegator itemDelegator
Constructor Detail |
---|
public ItemPropertyDescriptor.PropertyValueWrapper(AdapterFactory adapterFactory, java.lang.Object object, java.lang.Object propertyValue, java.lang.Object nestedPropertySource)
Method Detail |
---|
public java.lang.String getText(java.lang.Object thisObject)
IItemLabelProvider
getText
in interface IItemLabelProvider
public java.lang.Object getImage(java.lang.Object thisObject)
IItemLabelProvider
getImage
in interface IItemLabelProvider
public java.util.List<IItemPropertyDescriptor> getPropertyDescriptors(java.lang.Object thisObject)
IItemPropertySource
getPropertyDescriptors
in interface IItemPropertySource
public IItemPropertyDescriptor getPropertyDescriptor(java.lang.Object thisObject, java.lang.Object propertyId)
IItemPropertySource
ID
or feature
that matches the given ID.
getPropertyDescriptor
in interface IItemPropertySource
public java.lang.Object getEditableValue(java.lang.Object thisObject)
IItemPropertySource
getEditableValue
in interface IItemPropertySource
protected IItemPropertyDescriptor createPropertyDescriptorDecorator(java.lang.Object object, IItemPropertyDescriptor itemPropertyDescriptor)
|
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 |