Overview

 
Package  Use  Tree  Deprecated  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

org.eclipse.emf.edit.provider
Class AdapterFactoryTreeIterator

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byorg.eclipse.emf.common.util.BasicEList
              extended byorg.eclipse.emf.common.util.AbstractTreeIterator
                  extended byorg.eclipse.emf.edit.provider.AdapterFactoryTreeIterator

All Implemented Interfaces:
Cloneable, Collection, EList, Iterator, List, Serializable, TreeIterator


public class AdapterFactoryTreeIterator
extends AbstractTreeIterator

This implements a tree iterator that iterates over an object, it's children, their children, and so on, use the ITreeItemContentProviders produced by an adapter factory.

See Also:
Serialized Form


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.common.util.BasicEList
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator, BasicEList.EListIterator, BasicEList.FastCompare, BasicEList.NonResolvingEIterator, BasicEList.NonResolvingEListIterator, BasicEList.UnmodifiableEList
 
Field Summary
protected  AdapterFactory adapterFactory
          This keeps track of the factory used to generate the ITreeItemContentProvider adapters.
 
Fields inherited from class org.eclipse.emf.common.util.AbstractTreeIterator
includeRoot, nextPruneIterator, nextRemoveIterator, object
 
Fields inherited from class org.eclipse.emf.common.util.BasicEList
data, size
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
AdapterFactoryTreeIterator(AdapterFactory adapterFactory, Object object)
          This constructs tree iterator that iterates over an object, it's children, their children, and so on.
AdapterFactoryTreeIterator(AdapterFactory adapterFactory, Object object, boolean includeRoot)
          This constructs tree iterator that iterates over an object (but only if includeRoot is true), it's children, their children, and so on.
 
Method Summary
protected  Iterator getChildren(Object o)
          Returns the iterator that yields the children of the object.
 
Methods inherited from class org.eclipse.emf.common.util.AbstractTreeIterator
hasNext, next, prune, remove
 
Methods inherited from class org.eclipse.emf.common.util.BasicEList
add, add, addAll, addAll, addAllUnique, addAllUnique, addUnique, addUnique, assign, basicGet, basicIterator, basicList, basicListIterator, basicListIterator, canContainNull, clear, clone, contains, containsAll, data, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, get, getDuplicates, getNonDuplicates, grow, hashCode, indexOf, isEmpty, isUnique, iterator, lastIndexOf, listIterator, listIterator, move, move, newData, remove, remove, removeAll, resolve, retainAll, set, setData, setUnique, shrink, size, toArray, toArray, toString, useEquals, validate
 
Methods inherited from class java.util.AbstractList
removeRange, subList
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
subList
 

 

Field Detail

 

 

adapterFactory

protected AdapterFactory adapterFactory

This keeps track of the factory used to generate the ITreeItemContentProvider adapters.

Constructor Detail

 

 

AdapterFactoryTreeIterator

public AdapterFactoryTreeIterator(AdapterFactory adapterFactory,
                                  Object object)

This constructs tree iterator that iterates over an object, it's children, their children, and so on.


 

 

AdapterFactoryTreeIterator

public AdapterFactoryTreeIterator(AdapterFactory adapterFactory,
                                  Object object,
                                  boolean includeRoot)

This constructs tree iterator that iterates over an object (but only if includeRoot is true), it's children, their children, and so on.

Method Detail

 

 

getChildren

protected Iterator getChildren(Object o)

Description copied from class: AbstractTreeIterator
Returns the iterator that yields the children of the object.

Specified by:
getChildren in class AbstractTreeIterator

Parameters:
o - the object for which children are required.
Returns:
the iterator that yields the children.


 

Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD