public class ItemPropertyDescriptorDecorator extends java.lang.Object implements IItemPropertyDescriptor
IItemPropertyDescriptor.OverrideableCommandOwner| Modifier and Type | Field and Description |
|---|---|
protected IItemPropertyDescriptor |
itemPropertyDescriptor |
protected java.lang.Object |
object |
| Constructor and Description |
|---|
ItemPropertyDescriptorDecorator(java.lang.Object object,
IItemPropertyDescriptor itemPropertyDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSetProperty(java.lang.Object thisObject)
This does the delegated job of determining whether the property value from the given object supports set (and reset).
|
java.lang.String |
getCategory(java.lang.Object thisObject)
This returns the group of properties into which this one should be placed.
|
java.util.Collection<?> |
getChoiceOfValues(java.lang.Object thisObject)
Returns the choices of all the values that this property may take one.
|
java.lang.String |
getDescription(java.lang.Object thisObject)
This returns the description to be displayed in the property sheet when this property is selected.
|
java.lang.String |
getDisplayName(java.lang.Object thisObject)
This returns the name of the property to be displayed in the property sheet.
|
java.lang.Object |
getFeature(java.lang.Object thisObject)
Returns the feature.
|
java.lang.String[] |
getFilterFlags(java.lang.Object thisObject)
This returns the flags used as filters in the property sheet.
|
java.lang.Object |
getHelpContextIds(java.lang.Object thisObject) |
java.lang.String |
getId(java.lang.Object thisObject)
This returns the interface name of this property.
|
IItemLabelProvider |
getLabelProvider(java.lang.Object thisObject)
This does the delegated job of getting the label provider for the given object
|
java.lang.Object |
getPropertyValue(java.lang.Object thisObject)
This does the delegated job of getting the property value from the given object
|
boolean |
isCompatibleWith(java.lang.Object object,
java.lang.Object anotherObject,
IItemPropertyDescriptor anotherItemPropertyDescriptor)
This indicates whether these two property descriptors are equal.
|
boolean |
isMany(java.lang.Object thisObject)
This does the delegated job of determining whether the property represents multiple values.
|
boolean |
isMultiLine(java.lang.Object object)
This does the delegated job of determining whether the property's value consists of multi-line text.
|
boolean |
isPropertySet(java.lang.Object thisObject)
This does the delegated job of determining whether the property value from the given object is set.
|
boolean |
isSortChoices(java.lang.Object object)
This does the delegated job of determining the choices for this property should be sorted for display.
|
void |
resetPropertyValue(java.lang.Object thisObject)
This does the delegated job of resetting property value back to it's default value.
|
void |
setPropertyValue(java.lang.Object thisObject,
java.lang.Object value)
This does the delegated job of setting the property to the given value.
|
protected java.lang.Object object
protected IItemPropertyDescriptor itemPropertyDescriptor
public ItemPropertyDescriptorDecorator(java.lang.Object object,
IItemPropertyDescriptor itemPropertyDescriptor)
public java.lang.String getCategory(java.lang.Object thisObject)
getCategory in interface IItemPropertyDescriptorpublic java.lang.String getDescription(java.lang.Object thisObject)
getDescription in interface IItemPropertyDescriptorpublic java.lang.String getDisplayName(java.lang.Object thisObject)
getDisplayName in interface IItemPropertyDescriptorpublic java.lang.String[] getFilterFlags(java.lang.Object thisObject)
getFilterFlags in interface IItemPropertyDescriptorpublic java.lang.String getId(java.lang.Object thisObject)
getId in interface IItemPropertyDescriptorpublic java.lang.Object getHelpContextIds(java.lang.Object thisObject)
getHelpContextIds in interface IItemPropertyDescriptorpublic IItemLabelProvider getLabelProvider(java.lang.Object thisObject)
getLabelProvider in interface IItemPropertyDescriptorpublic boolean isCompatibleWith(java.lang.Object object,
java.lang.Object anotherObject,
IItemPropertyDescriptor anotherItemPropertyDescriptor)
isCompatibleWith in interface IItemPropertyDescriptorpublic java.lang.Object getPropertyValue(java.lang.Object thisObject)
getPropertyValue in interface IItemPropertyDescriptorpublic boolean isPropertySet(java.lang.Object thisObject)
isPropertySet in interface IItemPropertyDescriptorpublic boolean canSetProperty(java.lang.Object thisObject)
canSetProperty in interface IItemPropertyDescriptorpublic void resetPropertyValue(java.lang.Object thisObject)
resetPropertyValue in interface IItemPropertyDescriptorpublic void setPropertyValue(java.lang.Object thisObject,
java.lang.Object value)
setPropertyValue in interface IItemPropertyDescriptorpublic java.lang.Object getFeature(java.lang.Object thisObject)
IItemPropertyDescriptorgetFeature in interface IItemPropertyDescriptorpublic java.util.Collection<?> getChoiceOfValues(java.lang.Object thisObject)
IItemPropertyDescriptorgetChoiceOfValues in interface IItemPropertyDescriptorpublic boolean isMany(java.lang.Object thisObject)
isMany in interface IItemPropertyDescriptorpublic boolean isMultiLine(java.lang.Object object)
isMultiLine in interface IItemPropertyDescriptorpublic boolean isSortChoices(java.lang.Object object)
isSortChoices in interface IItemPropertyDescriptor