|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A descriptor object to work together with the
CompositePropertySource
object.
Clients who would like to take advantage of the concrete implementation of the
ICompositePropertySource
CompositePropertySource
class, should implement interface for custom property descriptors.
This interface can also be used by custom property provider objects to
initialize properties - e.g. write protect, set initial property value, etc.
Method Summary | |
Object |
getPropertyValue()
Return a value of the the property represented by this descriptor |
boolean |
isReadOnly()
Return read-only status - true if editing of the property is not allowed, false otherwise |
void |
resetPropertyValue()
This method is used by the property source to reset the property that this property descriptor maps to. |
void |
setCategory(String name)
Sets the property category name |
void |
setPropertyValue(Object value)
This method is used by the property source to set the property that this property descriptor maps to. |
void |
setReadOnly(boolean read)
Set read-only to true if the property is read-only, or to false otherwise |
Methods inherited from interface org.eclipse.ui.views.properties.IPropertyDescriptor |
createPropertyEditor, getCategory, getDescription, getDisplayName, getFilterFlags, getHelpContextIds, getId, getLabelProvider, isCompatibleWith |
Method Detail |
public void setReadOnly(boolean read)
read
- -
true if the property is read-only, or to false otherwisepublic boolean isReadOnly()
public void setCategory(String name)
name
- The category name in which the property is to be displayed.public Object getPropertyValue()
public void setPropertyValue(Object value)
public void resetPropertyValue()
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.