be.ac.vub.cocompose.eclipse.model.core
Class EclipseImplementationRolePart
java.lang.Object
be.ac.vub.cocompose.lang.impl.DefaultElement
be.ac.vub.cocompose.lang.impl.core.DefaultModelElement
be.ac.vub.cocompose.lang.impl.core.DefaultNamespace
be.ac.vub.cocompose.lang.impl.core.DefaultImplementationRolePart
be.ac.vub.cocompose.eclipse.model.core.EclipseImplementationRolePart
- All Implemented Interfaces:
- Cloneable, Element, ImplementationRolePart, IPropertyDescriptorCreator, IPropertySource, ModelElement, Namespace, VisitedElement
- public class EclipseImplementationRolePart
- extends DefaultImplementationRolePart
- implements IPropertyDescriptorCreator
The ImplementationRolePart language element for Eclipse.
- Since:
- 0.2.0
- Version:
- 0.2.0, 08/01/2004
- Author:
- Dennis Wagelaar
Methods inherited from class be.ac.vub.cocompose.lang.impl.core.DefaultNamespace |
addOwnedElement, addOwnedElement, getDeepOwnedElement, getDeepOwnedElements, getOwnedElement, getOwnedElementId, getOwnedElements, getOwnedElements, getOwnedIds, isRegistered, registerNameChange, removeOwnedElement, translateIndex, translateIndex |
Methods inherited from interface be.ac.vub.cocompose.lang.core.Namespace |
addOwnedElement, addOwnedElement, getDeepOwnedElement, getDeepOwnedElements, getOwnedElement, getOwnedElementId, getOwnedElements, getOwnedElements, getOwnedIds, isRegistered, registerNameChange, removeOwnedElement |
EclipseImplementationRolePart
public EclipseImplementationRolePart()
createDescriptors
public List createDescriptors()
- Creates the property descriptors.
- Specified by:
createDescriptors
in interface IPropertyDescriptorCreator
- Returns:
- the property descriptors.
getPropertyValue
public Object getPropertyValue(Object id)
- Specified by:
getPropertyValue
in interface IPropertySource
- See Also:
IPropertySource.getPropertyValue(java.lang.Object)
setPropertyValue
public void setPropertyValue(Object id,
Object value)
- Sets the value of a given property with the value supplied.
Also fires a property change if necessary.
- Specified by:
setPropertyValue
in interface IPropertySource
- Parameters:
id
- - Name of the parameter to be changed.value
- - Value to be set to the given parameter.- See Also:
IPropertySource.setPropertyValue(java.lang.Object, java.lang.Object)
resetPropertyValue
public void resetPropertyValue(Object id)
- Specified by:
resetPropertyValue
in interface IPropertySource
- See Also:
IPropertySource.resetPropertyValue(java.lang.Object)
isPropertySet
public boolean isPropertySet(Object id)
- Specified by:
isPropertySet
in interface IPropertySource
- See Also:
IPropertySource.isPropertySet(java.lang.Object)
getEditableValue
public Object getEditableValue()
- Specified by:
getEditableValue
in interface IPropertySource
- See Also:
IPropertySource.getEditableValue()
getPropertyDescriptors
public IPropertyDescriptor[] getPropertyDescriptors()
- Specified by:
getPropertyDescriptors
in interface IPropertySource
- See Also:
IPropertySource.getPropertyDescriptors()