Package 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 java.lang.Object
Iterates over aList
of EditPolcies, skipping anynull
values encountered.
-
-
Constructor Summary
Constructors Constructor Description EditPolicyIterator(java.util.List list)
Deprecated.this constructor should not be used
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Returnstrue
if there is a next edit policy.EditPolicy
next()
Returns the next non-null
EditPolicy.
-
-
-
Method Detail
-
next
public EditPolicy next()
Returns the next non-null
EditPolicy.- Returns:
- the next non-
null
EditPolicy.
-
hasNext
public boolean hasNext()
Returnstrue
if there is a next edit policy.- Returns:
true
if there is a next policy
-
-