be.ac.vub.cocompose.eclipse.model.datatypes
Class SuperimposesOnPropertySource

java.lang.Object
  extended bybe.ac.vub.cocompose.eclipse.model.datatypes.ModelElementsPropertySource
      extended bybe.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

Constructor Summary
SuperimposesOnPropertySource(RefinedElement subject)
          Creates an SuperimposesOnPropertySource
 
Method Summary
protected  void addElement(int index, ModelElement element)
          Responsible for adding an element to the property.
protected  void removeElement(ModelElement element)
          Responsible for removing an element from the property.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SuperimposesOnPropertySource

public SuperimposesOnPropertySource(RefinedElement subject)
Creates an SuperimposesOnPropertySource

Parameters:
subject - the RefinedElement for which to edit the SuperimposesOn relationship.
Method Detail

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)