org.eclipse.emf.ecore.util
Class EcoreEMap.DelegateEObjectContainmentEList
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
org.eclipse.emf.common.util.BasicEList
org.eclipse.emf.common.notify.impl.NotifyingListImpl
org.eclipse.emf.ecore.util.EcoreEList
org.eclipse.emf.ecore.util.EObjectEList
org.eclipse.emf.ecore.util.EObjectContainmentEList
org.eclipse.emf.ecore.util.EcoreEMap.DelegateEObjectContainmentEList
- All Implemented Interfaces:
- Cloneable, Collection, EList, EStructuralFeature.Setting, InternalEList, InternalEList.Unsettable, List, NotifyingList, RandomAccess, Serializable
- Direct Known Subclasses:
- EcoreEMap.Unsettable.UnsettableDelegateEObjectContainmentEList
- Enclosing class:
- EcoreEMap
- protected class EcoreEMap.DelegateEObjectContainmentEList
- extends EObjectContainmentEList
- See Also:
- Serialized Form
Method Summary |
protected void |
didAdd(int index,
Object newObject)
Called to indicate that an object has been added to the data storage.
|
protected void |
didClear(int size,
Object[] oldObjects)
Called to indicate that the data storage has been cleared.
|
protected void |
didMove(int index,
Object movedObject,
int oldIndex)
Called to indicate that an object has been moved in the data storage.
|
protected void |
didRemove(int index,
Object oldObject)
Called to indicate that an object has been removed from the data storage.
|
protected void |
didSet(int index,
Object newObject,
Object oldObject)
Called to indicate that the data storage has been set.
|
Methods inherited from class org.eclipse.emf.ecore.util.EcoreEList |
basicIterator, basicList, basicListIterator, basicListIterator, contains, createNotification, createNotification, dispatchNotification, get, getEObject, getEStructuralFeature, getFeature, getFeatureType, getInverseEReference, getInverseFeatureClass, getInverseFeatureID, getNotifier, hasInstanceClass, hasManyInverse, hasProxies, indexOf, inverseAdd, inverseRemove, isInstance, isNotificationRequired, isSet, lastIndexOf, newData, resolve, resolve, resolveProxy, set, toArray, toArray, unset, validate |
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifyingListImpl |
addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, basicAdd, basicRemove, basicSet, clear, createNotification, createNotificationChain, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddUnique, doAddUnique, doClear, doMove, doRemove, doRemoveAll, doSetUnique, getFeatureID, hasShadow, move, remove, removeAll, setUnique, shadowAdd, shadowRemove, shadowSet |
Methods inherited from class org.eclipse.emf.common.util.BasicEList |
add, add, addAll, addAll, assign, basicGet, clone, containsAll, data, didChange, equalObjects, equals, get, getDuplicates, getNonDuplicates, grow, hashCode, isEmpty, iterator, listIterator, listIterator, move, remove, retainAll, set, setData, shrink, size, toString |
Methods inherited from interface org.eclipse.emf.common.util.EList |
move, move |
Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, containsAll, equals, get, hashCode, isEmpty, iterator, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList |
EcoreEMap.DelegateEObjectContainmentEList
public EcoreEMap.DelegateEObjectContainmentEList(Class entryClass,
InternalEObject owner,
int featureID)
didAdd
protected void didAdd(int index,
Object newObject)
- Description copied from class:
BasicEList
- Called to indicate that an object has been added to the data storage.
This implementation does nothing;
clients can use this to monitor additions to the data storage.
- Overrides:
didAdd
in class BasicEList
- Parameters:
index
- the position object the new object.newObject
- the new object at the position.
didSet
protected void didSet(int index,
Object newObject,
Object oldObject)
- Description copied from class:
BasicEList
- Called to indicate that the data storage has been set.
This implementation does nothing;
clients can use this to monitor settings to the data storage.
- Overrides:
didSet
in class BasicEList
- Parameters:
index
- the position that was set.newObject
- the new object at the position.oldObject
- the old object at the position.
didRemove
protected void didRemove(int index,
Object oldObject)
- Description copied from class:
BasicEList
- Called to indicate that an object has been removed from the data storage.
This implementation does nothing;
clients can use this to monitor removals from the data storage.
- Overrides:
didRemove
in class BasicEList
- Parameters:
index
- the position of the old object.oldObject
- the old object at the position.
didClear
protected void didClear(int size,
Object[] oldObjects)
- Description copied from class:
BasicEList
- Called to indicate that the data storage has been cleared.
This implementation calls
didRemove
for each object;
clients can use this to monitor clearing of the data storage.
- Overrides:
didClear
in class BasicEList
- Parameters:
size
- the original size of the list.oldObjects
- the old data storage being discarded.- See Also:
BasicEList.didRemove(int, java.lang.Object)
didMove
protected void didMove(int index,
Object movedObject,
int oldIndex)
- Description copied from class:
BasicEList
- Called to indicate that an object has been moved in the data storage.
This implementation does nothing;
clients can use this to monitor movement in the data storage.
- Overrides:
didMove
in class BasicEList
- Parameters:
index
- the position of the moved object.movedObject
- the moved object at the position.oldIndex
- the position the object was at before the move.