org.eclipse.gef.editparts
Class AbstractEditPart.EditPolicyIterator
java.lang.Object
|
+--org.eclipse.gef.editparts.AbstractEditPart.EditPolicyIterator
- Enclosing class:
- AbstractEditPart
- protected static class AbstractEditPart.EditPolicyIterator
- extends Object
Iterates over a List of EditPolcies, skipping
any null values encountered.
|
Method Summary |
boolean |
hasNext()
Availabilty of further EditPolicies
is returned |
EditPolicy |
next()
Returns the next EditPolicy |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iter
protected Iterator iter
next
protected Object next
AbstractEditPart.EditPolicyIterator
public AbstractEditPart.EditPolicyIterator(List list)
- Constructs an Iterator for the given
List.
next
public EditPolicy next()
- Returns the next
EditPolicy
- Returns:
- Next
EditPolicy if available,
else returns null
hasNext
public boolean hasNext()
- Availabilty of further
EditPolicies
is returned
- Returns:
boolean representing availability
of the next EditPolicy