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.ObjectIterates over aListof EditPolcies, skipping anynullvalues 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 booleanhasNext()Returnstrueif there is a next edit policy.EditPolicynext()Returns the next non-nullEditPolicy.
-
-
-
Method Detail
-
next
public EditPolicy next()
Returns the next non-nullEditPolicy.- Returns:
- the next non-
nullEditPolicy.
-
hasNext
public boolean hasNext()
Returnstrueif there is a next edit policy.- Returns:
trueif there is a next policy
-
-