|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.tacos.demo.tree.fs.FileTreeContentProvider
public class FileTreeContentProvider
| Constructor Summary | |
|---|---|
FileTreeContentProvider(String rootPath)
Creates a new tree |
|
| Method Summary | |
|---|---|
Collection |
getChildren(Object parentElement)
Returns all child elements of a parent. |
List |
getElements()
|
Object |
getParent(Object childElement)
Returns the parent of the given element, or null if the
the parent can't be determined. |
boolean |
hasChildren(Object parentElement)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileTreeContentProvider(String rootPath)
rootPath - | Method Detail |
|---|
public List getElements()
getElements in interface IContentProviderpublic Collection getChildren(Object parentElement)
getChildren in interface ITreeContentProviderpublic Object getParent(Object childElement)
null if the
the parent can't be determined. Revealing a specific element will not
work in this case.
getParent in interface ITreeContentProviderpublic boolean hasChildren(Object parentElement)
hasChildren in interface ITreeContentProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||