Package com.nomagic.magicdraw.uml2.util
Class UMLCopier.IndexTracker
java.lang.Object
com.nomagic.magicdraw.uml2.util.UMLCopier.IndexTracker
- Enclosing class:
- UMLCopier
-
Constructor Summary
ConstructorDescriptionIndexTracker
(org.eclipse.emf.ecore.util.InternalEList<org.eclipse.emf.ecore.EObject> target) -
Method Summary
Modifier and TypeMethodDescriptionint
getIndex
(org.eclipse.emf.ecore.EObject obj) void
refreshOnAdd
(org.eclipse.emf.ecore.util.InternalEList<org.eclipse.emf.ecore.EObject> targetList, int index, org.eclipse.emf.ecore.EObject copyReferencedEObject) void
refreshOnMove
(org.eclipse.emf.ecore.util.InternalEList<org.eclipse.emf.ecore.EObject> targetList, int index, int oldIndex, org.eclipse.emf.ecore.EObject copyReferencedEObject)
-
Constructor Details
-
IndexTracker
public IndexTracker(org.eclipse.emf.ecore.util.InternalEList<org.eclipse.emf.ecore.EObject> target)
-
-
Method Details
-
getIndex
public int getIndex(org.eclipse.emf.ecore.EObject obj) -
refreshOnAdd
public void refreshOnAdd(org.eclipse.emf.ecore.util.InternalEList<org.eclipse.emf.ecore.EObject> targetList, int index, org.eclipse.emf.ecore.EObject copyReferencedEObject) -
refreshOnMove
public void refreshOnMove(org.eclipse.emf.ecore.util.InternalEList<org.eclipse.emf.ecore.EObject> targetList, int index, int oldIndex, org.eclipse.emf.ecore.EObject copyReferencedEObject)
-