Class UMLCopier.IndexTracker

java.lang.Object
com.nomagic.magicdraw.uml2.util.UMLCopier.IndexTracker
Enclosing class:
UMLCopier

protected static class UMLCopier.IndexTracker extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    IndexTracker(org.eclipse.emf.ecore.util.InternalEList<org.eclipse.emf.ecore.EObject> target)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)