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-nullEditPolicy.- Returns:
- the next non-
nullEditPolicy.
-
hasNext
public boolean hasNext()Returnstrueif there is a next edit policy.- Returns:
trueif there is a next policy
-