|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.edit.provider.ItemPropertyDescriptorDecorator
public class ItemPropertyDescriptorDecorator
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.emf.edit.provider.IItemPropertyDescriptor |
---|
IItemPropertyDescriptor.OverrideableCommandOwner |
Field Summary | |
---|---|
protected IItemPropertyDescriptor |
itemPropertyDescriptor
|
protected java.lang.Object |
object
|
Constructor Summary | |
---|---|
ItemPropertyDescriptorDecorator(java.lang.Object object,
IItemPropertyDescriptor itemPropertyDescriptor)
|
Method Summary | |
---|---|
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. |
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 IItemPropertyDescriptor itemPropertyDescriptor
Constructor Detail |
---|
public ItemPropertyDescriptorDecorator(java.lang.Object object, IItemPropertyDescriptor itemPropertyDescriptor)
Method Detail |
---|
public java.lang.String getCategory(java.lang.Object thisObject)
getCategory
in interface IItemPropertyDescriptor
public java.lang.String getDescription(java.lang.Object thisObject)
getDescription
in interface IItemPropertyDescriptor
public java.lang.String getDisplayName(java.lang.Object thisObject)
getDisplayName
in interface IItemPropertyDescriptor
public java.lang.String[] getFilterFlags(java.lang.Object thisObject)
getFilterFlags
in interface IItemPropertyDescriptor
public java.lang.String getId(java.lang.Object thisObject)
getId
in interface IItemPropertyDescriptor
public java.lang.Object getHelpContextIds(java.lang.Object thisObject)
getHelpContextIds
in interface IItemPropertyDescriptor
public IItemLabelProvider getLabelProvider(java.lang.Object thisObject)
getLabelProvider
in interface IItemPropertyDescriptor
public boolean isCompatibleWith(java.lang.Object object, java.lang.Object anotherObject, IItemPropertyDescriptor anotherItemPropertyDescriptor)
isCompatibleWith
in interface IItemPropertyDescriptor
public java.lang.Object getPropertyValue(java.lang.Object thisObject)
getPropertyValue
in interface IItemPropertyDescriptor
public boolean isPropertySet(java.lang.Object thisObject)
isPropertySet
in interface IItemPropertyDescriptor
public boolean canSetProperty(java.lang.Object thisObject)
canSetProperty
in interface IItemPropertyDescriptor
public void resetPropertyValue(java.lang.Object thisObject)
resetPropertyValue
in interface IItemPropertyDescriptor
public void setPropertyValue(java.lang.Object thisObject, java.lang.Object value)
setPropertyValue
in interface IItemPropertyDescriptor
public java.lang.Object getFeature(java.lang.Object thisObject)
IItemPropertyDescriptor
getFeature
in interface IItemPropertyDescriptor
public java.util.Collection<?> getChoiceOfValues(java.lang.Object thisObject)
IItemPropertyDescriptor
getChoiceOfValues
in interface IItemPropertyDescriptor
public boolean isMany(java.lang.Object thisObject)
isMany
in interface IItemPropertyDescriptor
public boolean isMultiLine(java.lang.Object object)
isMultiLine
in interface IItemPropertyDescriptor
public boolean isSortChoices(java.lang.Object object)
isSortChoices
in interface IItemPropertyDescriptor
|
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 |