public interface TreeModel extends Serializable
Modifier and Type | Method and Description |
---|---|
TreeItem |
find(Path path)
Like
find(Path) but the path is expressed as a Path object. |
TreeItem |
find(String path)
Find the item at the given path.
|
TreeItem |
findAndReveal(Path path)
Like
findAndReveal(Path) but the path is expressed as a Path object. |
TreeItem |
findAndReveal(String path)
Find and item given it's path and expand parents if needed.
|
ContentProvider |
getContentProvider()
Gets the content provider used by this tree.
|
Object |
getInput()
Gets the current input of the tree.
|
TreeItem |
getRoot()
Get the tree root item, or null if tree has no input.
|
void |
setContentProvider(ContentProvider provider)
Sets the content provider to be used by this tree.
|
void |
setInput(Object input)
Sets the input data.
|
ContentProvider getContentProvider()
void setContentProvider(ContentProvider provider)
Object getInput()
TreeItem find(String path)
path
- the path to searchTreeItem findAndReveal(String path)
path
- the path to searchTreeItem find(Path path)
find(Path)
but the path is expressed as a Path
object.find(String)
TreeItem findAndReveal(Path path)
findAndReveal(Path)
but the path is expressed as a Path
object.findAndReveal(String)
Copyright © 2016 Nuxeo SA. All rights reserved.