|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.egf.core.ui.internal.data.AbstractUiContainer
public abstract class AbstractUiContainer
Defines an API to describe an UI container displayed in TreeViewer.
Constructor Summary | |
---|---|
protected |
AbstractUiContainer(Object parent_p)
Constructor. |
protected |
AbstractUiContainer(Object parent_p,
Set<Object> children_p)
Constructor. |
Method Summary | |
---|---|
boolean |
addChild(Object child_p)
Add a child in the children set. |
Object[] |
getChildren()
Return the children as an array of objects. |
Image |
getImage()
Return the image used as icon for this UI container. |
Object |
getParent()
Return the parent of this container or null if none. |
abstract String |
getText()
Return the text used as label for this UI container. |
boolean |
hasChildren()
Return whether or not this container has children. |
boolean |
isEmpty()
Return true if this container contains no elements. |
boolean |
removeChild(Object child_p)
Remove a child from the children set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractUiContainer(Object parent_p, Set<Object> children_p)
parent_p
- children_p
- protected AbstractUiContainer(Object parent_p)
parent_p
- Method Detail |
---|
public boolean addChild(Object child_p)
child_p
- public boolean removeChild(Object child_p)
child_p
- public boolean isEmpty()
public Object getParent()
public Object[] getChildren()
public boolean hasChildren()
public abstract String getText()
public Image getImage()
null
.
|
EGF Engine Release 0.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) Thales Corporate Services S.A.S, 2009.
This page is made available under license. For full details see the LEGAL in the documentation book that contains this page.