be.ac.vub.cocompose.eclipse.model.datatypes
Class SuperimposesOnPropertySource
java.lang.Object
be.ac.vub.cocompose.eclipse.model.datatypes.ModelElementsPropertySource
be.ac.vub.cocompose.eclipse.model.datatypes.SuperimposesOnPropertySource
- All Implemented Interfaces:
- IPropertySource
- public class SuperimposesOnPropertySource
- extends ModelElementsPropertySource
Eclipse property source for the RefinedElement SuperimposesOn relationship.
- Since:
- 0.2.10
- Version:
- 0.2.10, 10/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 |
SuperimposesOnPropertySource
public SuperimposesOnPropertySource(RefinedElement subject)
- Creates an SuperimposesOnPropertySource
- Parameters:
subject
- the RefinedElement for which to edit the SuperimposesOn
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)