|
Eclipse JDT Release 3.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IParent
Common protocol for Java elements that contain other Java elements.
Method Summary | |
---|---|
IJavaElement[] |
getChildren()
Returns the immediate children of this element. |
boolean |
hasChildren()
Returns whether this element has one or more immediate children. |
Method Detail |
---|
IJavaElement[] getChildren() throws JavaModelException
JavaModelException
- if this element does not exist or if an
exception occurs while accessing its corresponding resourceboolean hasChildren() throws JavaModelException
getChildren
is an empty array.
JavaModelException
- if this element does not exist or if an
exception occurs while accessing its corresponding resource
|
Eclipse JDT Release 3.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.