|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.vub.cocompose.lang.impl.DefaultElement
be.ac.vub.cocompose.lang.impl.core.DefaultModelElement
be.ac.vub.cocompose.lang.impl.core.DefaultRelationship
be.ac.vub.cocompose.eclipse.model.core.EclipseRelationship
Eclipse representation for CoCompose language elements that can participate in a relationship.
Constructor Summary | |
EclipseRelationship()
|
Method Summary | |
List |
createDescriptors()
Creates the property descriptors. |
List |
getBendpoints()
Gets the bendpoints. |
Object |
getEditableValue()
|
IPropertyDescriptor[] |
getPropertyDescriptors()
|
Object |
getPropertyValue(Object id)
|
void |
insertBendpoint(int index,
Bendpoint point)
Inserts a bendpoint at the given index. |
boolean |
isPropertySet(Object id)
|
void |
removeBendpoint(int index)
Removes the bendpoint at the given index. |
void |
resetPropertyValue(Object id)
|
void |
setBendpoint(int index,
Bendpoint point)
Sets the bendpoint at the given index. |
void |
setBendpoints(List points)
Sets the bendpoints. |
void |
setPropertyValue(Object id,
Object value)
Sets the value of a given property with the value supplied. |
Methods inherited from class be.ac.vub.cocompose.lang.impl.core.DefaultRelationship |
accept, getName, getSourceParticipant, getTargetParticipant, setSourceParticipant, setTargetParticipant |
Methods inherited from class be.ac.vub.cocompose.lang.impl.core.DefaultModelElement |
getId, getModel, getNamespace, getRootNamespace, setId, setName, setNamespace, toString |
Methods inherited from class be.ac.vub.cocompose.lang.impl.DefaultElement |
addPropertyChangeListener, firePropertyChange, fireStructureChange, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface be.ac.vub.cocompose.lang.core.ModelElement |
getId, getModel, getNamespace, getRootNamespace, setId, setName, setNamespace |
Methods inherited from interface be.ac.vub.cocompose.lang.Element |
addPropertyChangeListener, removePropertyChangeListener |
Constructor Detail |
public EclipseRelationship()
Method Detail |
public void insertBendpoint(int index, Bendpoint point)
index
- - the index for insertion.point
- - the bendpoint to insert.public void removeBendpoint(int index)
index
- - the index of the bendpoint.public void setBendpoint(int index, Bendpoint point)
index
- - the index for insertion.point
- - the bendpoint to set.public void setBendpoints(List points)
points
- - the bendpoints to set.public List getBendpoints()
public List createDescriptors()
createDescriptors
in interface IPropertyDescriptorCreator
public Object getPropertyValue(Object id)
getPropertyValue
in interface IPropertySource
IPropertySource.getPropertyValue(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 void resetPropertyValue(Object id)
resetPropertyValue
in interface IPropertySource
IPropertySource.resetPropertyValue(java.lang.Object)
public boolean isPropertySet(Object id)
isPropertySet
in interface IPropertySource
IPropertySource.isPropertySet(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 |