Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse GEF
3.3

org.eclipse.gef.editparts
Class AbstractEditPart.EditPolicyIterator

java.lang.Object
  extended by
org.eclipse.gef.editparts.AbstractEditPart.EditPolicyIterator
Enclosing class:
AbstractEditPart

protected static class AbstractEditPart.EditPolicyIterator
extends java.lang.Object

Iterates over a List of EditPolcies, skipping any null values encountered.


Constructor Summary
AbstractEditPart.EditPolicyIterator (java.util.List list)
          Deprecated. this constructor should not be used
 
Method Summary
 boolean hasNext ()
          Returns true if there is a next edit policy.
  EditPolicy next ()
          Returns the next non-null EditPolicy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEditPart.EditPolicyIterator

public AbstractEditPart.EditPolicyIterator(java.util.List list)
Deprecated. this constructor should not be used

Constructs an Iterator for the given List.

Parameters:
list - the list of policies.
Method Detail

next

public 
EditPolicy next()
Returns the next non-null EditPolicy.

Returns:
the next non-null EditPolicy.

hasNext

public boolean hasNext()
Returns true if there is a next edit policy.

Returns:
true if there is a next policy

Eclipse GEF
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire