|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface extends IPropertyDescriptor so that the methods of IItemPropertySource
can be delegated to the descriptor.
This allows the implementing class to completely encapsulate the work associated with supporting a particular property sheet property.
Nested Class Summary | |
static interface |
IItemPropertyDescriptor.OverrideableCommandOwner
This interface may be implemented by item property descriptors to allow an object to be provided as an override for whatever would usually be the owner of any commands created to set the property's value. |
Method Summary | |
boolean |
canSetProperty(Object object)
This determines whether this descriptor's property for the object supports set (and reset). |
String |
getCategory(Object object)
Returns the name of the category to which this property belongs. |
Collection |
getChoiceOfValues(Object object)
|
String |
getDescription(Object object)
Returns a brief description of this property. |
String |
getDisplayName(Object object)
Returns the display name for this property. |
Object |
getFeature(Object object)
Returns the feature. |
String[] |
getFilterFlags(Object object)
Returns a list of filter types to which this property belongs. |
Object |
getHelpContextIds(Object object)
|
String |
getId(Object object)
Returns the id for this property. |
IItemLabelProvider |
getLabelProvider(Object object)
Returns the label provider for this property. |
Object |
getPropertyValue(Object object)
This fetches this descriptor's property from the object. |
boolean |
isCompatibleWith(Object object,
Object anotherObject,
IItemPropertyDescriptor anotherPropertyDescriptor)
Returns whether this property descriptor and the given one are compatible. |
boolean |
isMany(Object object)
Returns whether this property represents multiple values. |
boolean |
isMultiLine(Object object)
Returns whether this property's value will consist of multi-line text. |
boolean |
isPropertySet(Object object)
This determines whether this descriptor's property for the object is set. |
boolean |
isSortChoices(Object object)
Returns whether the choices for this property should be sorted for display. |
void |
resetPropertyValue(Object object)
This resets this descriptor's property for the object. |
void |
setPropertyValue(Object object,
Object value)
This sets this descriptor's property for the object to the given value. |
Method Detail |
public Object getPropertyValue(Object object)
public boolean isPropertySet(Object object)
public boolean canSetProperty(Object object)
public void resetPropertyValue(Object object)
public void setPropertyValue(Object object, Object value)
public String getCategory(Object object)
public String getDescription(Object object)
public String getDisplayName(Object object)
public String[] getFilterFlags(Object object)
public Object getHelpContextIds(Object object)
public String getId(Object object)
public IItemLabelProvider getLabelProvider(Object object)
public boolean isCompatibleWith(Object object, Object anotherObject, IItemPropertyDescriptor anotherPropertyDescriptor)
public Object getFeature(Object object)
public boolean isMany(Object object)
public Collection getChoiceOfValues(Object object)
public boolean isMultiLine(Object object)
public boolean isSortChoices(Object object)
|
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 |