public class RootNode extends TreeNode
Constructor and Description |
---|
RootNode(String label,
org.eclipse.swt.graphics.Image image,
boolean expanded) |
Modifier and Type | Method and Description |
---|---|
void |
addAbstractMeta(AbstractMeta abstractMeta,
TreeNode treeNode) |
void |
addProvider(TreeFolderProvider treeFolderProvider) |
void |
addProviders(List<TreeFolderProvider> treeFolderProviders) |
void |
checkUpdate(AbstractMeta abstractMeta,
String filter) |
void |
clearUpdates(AbstractMeta abstractMeta) |
TreeNode |
create(AbstractMeta abstractMeta,
org.eclipse.swt.graphics.Image image,
boolean expanded) |
String |
getNameByType(Class clazz) |
TreeNode |
getTreeNode(AbstractMeta abstractMeta) |
boolean |
hasNode(AbstractMeta abstractMeta) |
void |
remove(AbstractMeta abstractMeta) |
boolean |
shouldUpdate(AbstractMeta abstractMeta,
String name) |
void |
update(String name) |
addChild, getBackground, getChildren, getData, getFont, getForeground, getImage, getIndex, getLabel, hasChildren, isExpanded, isHidden, removeAll, setBackground, setData, setExpanded, setFont, setForeground, setHidden, setImage, setIndex, setLabel
public RootNode(String label, org.eclipse.swt.graphics.Image image, boolean expanded)
public void addProvider(TreeFolderProvider treeFolderProvider)
public void addProviders(List<TreeFolderProvider> treeFolderProviders)
public void addAbstractMeta(AbstractMeta abstractMeta, TreeNode treeNode)
public TreeNode create(AbstractMeta abstractMeta, org.eclipse.swt.graphics.Image image, boolean expanded)
public void checkUpdate(AbstractMeta abstractMeta, String filter)
public void remove(AbstractMeta abstractMeta)
public TreeNode getTreeNode(AbstractMeta abstractMeta)
public void update(String name)
public void clearUpdates(AbstractMeta abstractMeta)
public boolean hasNode(AbstractMeta abstractMeta)
public boolean shouldUpdate(AbstractMeta abstractMeta, String name)
Copyright © 2019 Hitachi Vantara. All rights reserved.