public class TreeManager extends Object
Constructor and Description |
---|
TreeManager(org.eclipse.swt.widgets.Tree tree) |
TreeManager(org.eclipse.swt.widgets.Tree tree,
GUIResource guiResource) |
Modifier and Type | Method and Description |
---|---|
void |
addRoot(String label,
List<TreeFolderProvider> providers) |
void |
addTreeProvider(String root,
TreeFolderProvider treeFolderProvider) |
void |
checkUpdate(AbstractMeta abstractMeta,
String name) |
void |
clear() |
void |
create(AbstractMeta abstractMeta,
String name,
boolean expanded) |
String |
getNameByType(Class clazz) |
TreeNode |
getTreeNode(AbstractMeta abstractMeta) |
boolean |
hasNode(AbstractMeta abstractMeta) |
void |
hide(AbstractMeta abstractMeta) |
void |
hideAll() |
void |
remove(AbstractMeta abstractMeta) |
void |
render() |
void |
reset(AbstractMeta abstractMeta) |
void |
setFilter(String filter) |
boolean |
shouldUpdate(AbstractMeta abstractMeta,
String name) |
void |
show(AbstractMeta abstractMeta) |
void |
showRoot(String name,
boolean show) |
void |
update(String name) |
public TreeManager(org.eclipse.swt.widgets.Tree tree, GUIResource guiResource)
public TreeManager(org.eclipse.swt.widgets.Tree tree)
public void addRoot(String label, List<TreeFolderProvider> providers)
public void addTreeProvider(String root, TreeFolderProvider treeFolderProvider)
public boolean hasNode(AbstractMeta abstractMeta)
public void clear()
public void render()
public void create(AbstractMeta abstractMeta, String name, boolean expanded)
public void checkUpdate(AbstractMeta abstractMeta, String name)
public void showRoot(String name, boolean show)
public void hideAll()
public void show(AbstractMeta abstractMeta)
public void hide(AbstractMeta abstractMeta)
public void setFilter(String filter)
public void reset(AbstractMeta abstractMeta)
public void update(String name)
public boolean shouldUpdate(AbstractMeta abstractMeta, String name)
public void remove(AbstractMeta abstractMeta)
public TreeNode getTreeNode(AbstractMeta abstractMeta)
Copyright © 2019 Hitachi Vantara. All rights reserved.