Interface NavigationTreeFactory
-
- All Known Implementing Classes:
DefaultNavigationTreeFactory
public interface NavigationTreeFactoryFactory class for navigation tree models.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringROOT_NODE_IDRoot nodes should have this constant assigned as their Id.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NavigationTreecreateNavigationTree(ExplorerTree explorerTreeConfig)Factory method creating tree model accordingly to the given configuration.default NavigationTreecreateNavigationTree(ExplorerTree explorerTreeConfig, CockpitContext context)Factory method creating tree model accordingly to the given configuration and contextdefault voidrefreshRootNode(ExplorerTree explorerTreeConfig, NavigationNode rootNode, CockpitContext context)
-
-
-
Field Detail
-
ROOT_NODE_ID
static final java.lang.String ROOT_NODE_ID
Root nodes should have this constant assigned as their Id. It is crucial for refreshing of the root nodes while this constant is used for node lookup in the Explorer Tree.- See Also:
- Constant Field Values
-
-
Method Detail
-
createNavigationTree
NavigationTree createNavigationTree(ExplorerTree explorerTreeConfig)
Factory method creating tree model accordingly to the given configuration.- Parameters:
explorerTreeConfig- - tree configuration- Returns:
- tree model
-
createNavigationTree
default NavigationTree createNavigationTree(ExplorerTree explorerTreeConfig, CockpitContext context)
Factory method creating tree model accordingly to the given configuration and context- Parameters:
explorerTreeConfig- tree configurationcontext- tree context- Returns:
- tree model
-
refreshRootNode
default void refreshRootNode(ExplorerTree explorerTreeConfig, NavigationNode rootNode, CockpitContext context)
- Parameters:
explorerTreeConfig- tree configurationrootNode- navigation node which represents root nodecontext- tree context
-
-