be.ac.vub.cocompose.eclipse.model.datatypes
Class PartOfPropertySource
java.lang.Object
be.ac.vub.cocompose.eclipse.model.datatypes.ModelElementsPropertySource
be.ac.vub.cocompose.eclipse.model.datatypes.PartOfPropertySource
- All Implemented Interfaces:
- IPropertySource
- public class PartOfPropertySource
- extends ModelElementsPropertySource
Eclipse property source for the Concept part-of relationship.
- Since:
- 0.2.0
- Version:
- 0.2.10, 07/05/2004
- Author:
- Dennis Wagelaar
Methods inherited from class be.ac.vub.cocompose.eclipse.model.datatypes.ModelElementsPropertySource |
createDescriptorsArray, createPropertyDescriptors, createStringArray, getEditableValue, getFullName, getLog, getPossibleValues, getPropertyDescriptors, getPropertyValue, getSettings, getValues, getValueStrings, isPropertySet, resetPropertyValue, setPropertyValue, toString |
PartOfPropertySource
public PartOfPropertySource(Concept subject)
- Creates a PartOfPropertySource
- Parameters:
subject
- the Concept for which to edit the PartOf relationship.
removeElement
protected void removeElement(ModelElement element)
- Description copied from class:
ModelElementsPropertySource
- Responsible for removing an element from the property. Currently only
updates the dependencies on the shared models defined in
CoCompose
.
- Overrides:
removeElement
in class ModelElementsPropertySource
- Parameters:
element
- the element to remove.- See Also:
ModelElementsPropertySource.removeElement(be.ac.vub.cocompose.lang.core.ModelElement)
addElement
protected void addElement(int index,
ModelElement element)
- Description copied from class:
ModelElementsPropertySource
- Responsible for adding an element to the property. Currently only
updates the dependencies on the shared models defined in
CoCompose
.
- Overrides:
addElement
in class ModelElementsPropertySource
- Parameters:
index
- the index where to add or -1 to append.element
- the element to add.- See Also:
ModelElementsPropertySource.addElement(int, be.ac.vub.cocompose.lang.core.ModelElement)