public class TreeModelImpl extends Object implements TreeModel
| Constructor and Description | 
|---|
| TreeModelImpl() | 
| TreeModelImpl(ContentProvider provider) | 
| Modifier and Type | Method and Description | 
|---|---|
| TreeItem | find(Path path)Like  TreeModel.find(Path)but the path is expressed as aPathobject. | 
| TreeItem | find(String path)Find the item at the given path. | 
| TreeItem | findAndReveal(Path path)Like  TreeModel.findAndReveal(Path)but the path is expressed as aPathobject. | 
| 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. | 
| boolean | hasInput() | 
| void | setContentProvider(ContentProvider provider)Sets the content provider to be used by this tree. | 
| void | setInput(Object input)Sets the input data. | 
public TreeModelImpl()
public TreeModelImpl(ContentProvider provider)
public ContentProvider getContentProvider()
TreeModelgetContentProvider in interface TreeModelpublic void setContentProvider(ContentProvider provider)
TreeModelsetContentProvider in interface TreeModelpublic void setInput(Object input)
TreeModelpublic TreeItem getRoot()
TreeModelpublic TreeItem findAndReveal(String path)
TreeModelfindAndReveal in interface TreeModelpath - the path to searchpublic TreeItem find(String path)
TreeModelpublic TreeItem findAndReveal(Path path)
TreeModelTreeModel.findAndReveal(Path) but the path is expressed as a Path object.findAndReveal in interface TreeModelTreeModel.findAndReveal(String)public TreeItem find(Path path)
TreeModelTreeModel.find(Path) but the path is expressed as a Path object.find in interface TreeModelTreeModel.find(String)public Object getInput()
TreeModelpublic boolean hasInput()
Copyright © 2014 Nuxeo SA. All rights reserved.