public interface NavigationTreeFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
ROOT_NODE_ID
Root nodes should have this constant assigned as their Id.
|
| Modifier and Type | Method and Description |
|---|---|
NavigationTree |
createNavigationTree(ExplorerTree explorerTreeConfig)
Factory method creating tree model accordingly to the given configuration.
|
default NavigationTree |
createNavigationTree(ExplorerTree explorerTreeConfig,
CockpitContext context)
Factory method creating tree model accordingly to the given configuration and context
|
default void |
refreshRootNode(ExplorerTree explorerTreeConfig,
NavigationNode rootNode,
CockpitContext context) |
static final String ROOT_NODE_ID
NavigationTree createNavigationTree(ExplorerTree explorerTreeConfig)
explorerTreeConfig - - tree configurationdefault NavigationTree createNavigationTree(ExplorerTree explorerTreeConfig, CockpitContext context)
explorerTreeConfig - tree configurationcontext - tree contextdefault void refreshRootNode(ExplorerTree explorerTreeConfig, NavigationNode rootNode, CockpitContext context)
explorerTreeConfig - tree configurationrootNode - navigation node which represents root nodecontext - tree contextCopyright © 2018. All rights reserved.