Package org.eclipse.gef.editparts
Class AbstractEditPart.EditPolicyIterator
java.lang.Object
org.eclipse.gef.editparts.AbstractEditPart.EditPolicyIterator
- Enclosing class:
- AbstractEditPart
Iterates over a
List
of EditPolcies, skipping any
null
values encountered.-
Constructor Summary
ConstructorsConstructorDescriptionEditPolicyIterator
(List list) Deprecated.this constructor should not be used -
Method Summary
-
Constructor Details
-
EditPolicyIterator
Deprecated.this constructor should not be usedConstructs an Iterator for the givenList
.- Parameters:
list
- the list of policies.
-
-
Method Details
-
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
-