Class XtextResourceSet.ResourcesList

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<org.eclipse.emf.ecore.resource.Resource>, java.util.Collection<org.eclipse.emf.ecore.resource.Resource>, java.util.List<org.eclipse.emf.ecore.resource.Resource>, java.util.RandomAccess, org.eclipse.emf.common.notify.NotifyingList<org.eclipse.emf.ecore.resource.Resource>, org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.resource.Resource>, org.eclipse.emf.ecore.util.InternalEList<org.eclipse.emf.ecore.resource.Resource>
    Enclosing class:
    XtextResourceSet

    protected class XtextResourceSet.ResourcesList
    extends org.eclipse.emf.ecore.util.NotifyingInternalEListImpl<E>
    adds the added resource to the ResourceSetImpl.getURIResourceMap().
    Since:
    2.3
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.emf.common.util.BasicEList

        org.eclipse.emf.common.util.BasicEList.BasicIndexOutOfBoundsException, org.eclipse.emf.common.util.BasicEList.EIterator<E1 extends java.lang.Object>, org.eclipse.emf.common.util.BasicEList.EListIterator<E1 extends java.lang.Object>, org.eclipse.emf.common.util.BasicEList.FastCompare<E extends java.lang.Object>, org.eclipse.emf.common.util.BasicEList.NonResolvingEIterator<E1 extends java.lang.Object>, org.eclipse.emf.common.util.BasicEList.NonResolvingEListIterator<E1 extends java.lang.Object>, org.eclipse.emf.common.util.BasicEList.UnmodifiableEList<E extends java.lang.Object>
      • Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.util.InternalEList

        org.eclipse.emf.ecore.util.InternalEList.Unsettable<E extends java.lang.Object>
    • Field Summary

      • Fields inherited from class org.eclipse.emf.common.util.BasicEList

        data, size
      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ResourcesList()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doClear()  
      protected org.eclipse.emf.common.notify.NotificationChain inverseAdd​(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.common.notify.NotificationChain notifications)  
      protected org.eclipse.emf.common.notify.NotificationChain inverseRemove​(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.emf.common.notify.NotificationChain notifications)  
      • Methods inherited from class org.eclipse.emf.ecore.util.NotifyingInternalEListImpl

        basicContains, basicContainsAll, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArray
      • Methods inherited from class org.eclipse.emf.common.notify.impl.NotifyingListImpl

        addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, basicAdd, basicRemove, basicSet, canContainNull, clear, createNotification, createNotification, createNotificationChain, dispatchNotification, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddUnique, doAddUnique, doMove, doRemove, doRemoveAll, doSetUnique, getFeature, getFeatureID, hasShadow, isSet, move, remove, removeAll, resolve, setUnique, shadowAdd, shadowRemove, shadowSet
      • Methods inherited from class org.eclipse.emf.common.util.BasicEList

        assign, basicGet, clone, data, get, grow, indexOf, isEmpty, lastIndexOf, primitiveGet, setData, shrink, size, toArray, toArray
      • Methods inherited from class org.eclipse.emf.common.util.AbstractEList

        add, add, addAll, addAll, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, iterator, listIterator, listIterator, move, remove, resolve, retainAll, set, toString, validate
      • Methods inherited from class java.util.AbstractList

        removeRange, subList
      • Methods inherited from class java.util.AbstractCollection

        containsAll
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface org.eclipse.emf.common.util.EList

        move, move
      • 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
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        add, add, addAll, addAll, clear, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
    • Constructor Detail

      • ResourcesList

        protected ResourcesList()
    • Method Detail

      • inverseAdd

        protected org.eclipse.emf.common.notify.NotificationChain inverseAdd​(org.eclipse.emf.ecore.resource.Resource resource,
                                                                             org.eclipse.emf.common.notify.NotificationChain notifications)
      • inverseRemove

        protected org.eclipse.emf.common.notify.NotificationChain inverseRemove​(org.eclipse.emf.ecore.resource.Resource resource,
                                                                                org.eclipse.emf.common.notify.NotificationChain notifications)
      • doClear

        protected void doClear()
        Overrides:
        doClear in class org.eclipse.emf.common.notify.impl.NotifyingListImpl<org.eclipse.emf.ecore.resource.Resource>
        Since:
        2.4