Package com.nomagic.magicdraw.emf.impl
Class BasicEStoreEList<E>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- org.eclipse.emf.common.util.AbstractEList<E>
-
- org.eclipse.emf.common.util.DelegatingEList<E>
-
- org.eclipse.emf.common.notify.impl.DelegatingNotifyingListImpl<E>
-
- org.eclipse.emf.ecore.util.DelegatingNotifyingInternalEListImpl<E>
-
- org.eclipse.emf.ecore.util.DelegatingEcoreEList<E>
-
- org.eclipse.emf.ecore.util.DelegatingEcoreEList.Generic<E>
-
- org.eclipse.emf.ecore.util.DelegatingEcoreEList.Dynamic<E>
-
- com.dassault_systemes.modeler.foundation.emf.impl.AbstractEStoreEList<E>
-
- com.nomagic.magicdraw.emf.impl.BasicEStoreEList<E>
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<E>,java.util.Collection<E>,java.util.List<E>,org.eclipse.emf.common.notify.NotifyingList<E>,org.eclipse.emf.common.util.EList<E>,org.eclipse.emf.ecore.EStructuralFeature.Setting,org.eclipse.emf.ecore.util.InternalEList<E>,org.eclipse.emf.ecore.util.InternalEList.Unsettable<E>
- Direct Known Subclasses:
ModelEStoreEList
public class BasicEStoreEList<E> extends com.dassault_systemes.modeler.foundation.emf.impl.AbstractEStoreEList<E>A list that delegates to a store.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList.Dynamic
eStructuralFeature
-
-
Constructor Summary
Constructors Constructor Description BasicEStoreEList(org.eclipse.emf.ecore.InternalEObject owner, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafterChange()The method will be invoked after specified property.protected voidbeforeChange()The method will be invoked before specified property change.protected java.lang.RuntimeExceptioncreateOperationTimeoutException()protected voidfirePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue, int index)Fire property change event.protected com.dassault_systemes.modeler.foundation.util.ModelLockProvidergetLockProvider()-
Methods inherited from class com.dassault_systemes.modeler.foundation.emf.impl.AbstractEStoreEList
delegateAdd, delegateAdd, delegateBasicList, delegateClear, delegateContains, delegateContainsAll, delegateEquals, delegateGet, delegateHashCode, delegateIndexOf, delegateIsEmpty, delegateIterator, delegateLastIndexOf, delegateList, delegateListIterator, delegateMove, delegateRemove, delegateSet, delegateSize, delegateToArray, delegateToArray, delegateToString, eStore, execute, getEStructuralFeature, getPropertyEventName, makeLastInCollection, snapshot
-
Methods inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList.Generic
canContainNull, didChange, hasInstanceClass, hasInverse, hasManyInverse, hasNavigableInverse, hasProxies, isContainer, isContainment, isEObject, isSet, isUnique, isUnsettable, kind, unset, useEquals
-
Methods inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList
contains, containsAll, createNotification, createNotification, dispatchNotification, get, getEObject, getFeature, getFeatureID, getFeatureType, getInverseEReference, getInverseFeatureClass, getInverseFeatureID, getNotifier, indexOf, inverseAdd, inverseRemove, isInstance, isNotificationRequired, lastIndexOf, resolve, resolve, resolveProxy, set, toArray, toArray, validate
-
Methods inherited from class org.eclipse.emf.ecore.util.DelegatingNotifyingInternalEListImpl
basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArray
-
Methods inherited from class org.eclipse.emf.common.notify.impl.DelegatingNotifyingListImpl
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.DelegatingEList
doClear, equals, get, hashCode, isEmpty, primitiveGet, remove, retainAll, size, toString
-
Methods inherited from class org.eclipse.emf.common.util.AbstractEList
add, add, addAll, addAll, didAdd, didClear, didMove, didRemove, didSet, equalObjects, getDuplicates, getNonDuplicates, iterator, listIterator, listIterator, move, set
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.emf.ecore.util.InternalEList
addAllUnique, addAllUnique, addUnique, addUnique, basicAdd, basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicRemove, basicToArray, basicToArray, setUnique
-
-
-
-
Method Detail
-
beforeChange
protected void beforeChange()
Description copied from class:com.dassault_systemes.modeler.foundation.emf.impl.AbstractEStoreEListThe method will be invoked before specified property change.- Specified by:
beforeChangein classcom.dassault_systemes.modeler.foundation.emf.impl.AbstractEStoreEList<E>
-
afterChange
protected void afterChange()
Description copied from class:com.dassault_systemes.modeler.foundation.emf.impl.AbstractEStoreEListThe method will be invoked after specified property.- Specified by:
afterChangein classcom.dassault_systemes.modeler.foundation.emf.impl.AbstractEStoreEList<E>
-
firePropertyChange
protected void firePropertyChange(java.lang.String propertyName, @CheckForNull java.lang.Object oldValue, @CheckForNull java.lang.Object newValue, int index)Description copied from class:com.dassault_systemes.modeler.foundation.emf.impl.AbstractEStoreEListFire property change event.- Specified by:
firePropertyChangein classcom.dassault_systemes.modeler.foundation.emf.impl.AbstractEStoreEList<E>- Parameters:
propertyName- name of the changed property.oldValue- old value of the property.newValue- new value of the property.index- index of the new value.
-
getLockProvider
@CheckForNull protected com.dassault_systemes.modeler.foundation.util.ModelLockProvider getLockProvider()
- Specified by:
getLockProviderin classcom.dassault_systemes.modeler.foundation.emf.impl.AbstractEStoreEList<E>
-
createOperationTimeoutException
protected java.lang.RuntimeException createOperationTimeoutException()
- Specified by:
createOperationTimeoutExceptionin classcom.dassault_systemes.modeler.foundation.emf.impl.AbstractEStoreEList<E>
-
-