|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.vub.cocompose.eclipse.model.EclipseElement
Describes the common properties for eclipse editor elements.
Constructor Summary | |
EclipseElement(IPropertyDescriptorCreator creator)
Creates an EclipseElement. |
Method Summary | |
Object |
getEditableValue()
|
IPropertyDescriptor[] |
getPropertyDescriptors()
|
Object |
getPropertyValue(Object id)
Returns an Object which represents the appropriate value for the property name supplied. |
boolean |
isPropertySet(Object id)
|
void |
resetPropertyValue(Object id)
Resets a property of this object. |
void |
setPropertyValue(Object id,
Object value)
Sets the value of a given property with the value supplied. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EclipseElement(IPropertyDescriptorCreator creator)
creator
- the IPropertyDescriptorCreator that indicates what properties are available. May not be null!Method Detail |
public Object getPropertyValue(Object id)
getPropertyValue
in interface IPropertySource
id
- Name of the property for which the values are needed.
IPropertySource.getPropertyValue(java.lang.Object)
public boolean isPropertySet(Object id)
isPropertySet
in interface IPropertySource
IPropertySource.isPropertySet(java.lang.Object)
public void resetPropertyValue(Object id)
resetPropertyValue
in interface IPropertySource
id
- - the property id.IPropertySource.resetPropertyValue(java.lang.Object)
public void setPropertyValue(Object id, Object value)
setPropertyValue
in interface IPropertySource
id
- - Name of the parameter to be changed.value
- - Value to be set to the given parameter.IPropertySource.setPropertyValue(java.lang.Object, java.lang.Object)
public Object getEditableValue()
getEditableValue
in interface IPropertySource
IPropertySource.getEditableValue()
public IPropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors
in interface IPropertySource
IPropertySource.getPropertyDescriptors()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |