Interface NavigationContext
-
- All Superinterfaces:
ActionbarContext
- All Known Implementing Classes:
PerspectiveChooserWidgetController.ChooserContext
public interface NavigationContext extends ActionbarContext
Context interface providing information about perspective chooser
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NavigationTreegetActionTree()booleanisSelected(NavigationNode node)Checks whether provided node is selectedbooleanisSelectionParent(NavigationNode node)Checks whether provided node is a parent of selected one-
Methods inherited from interface com.hybris.backoffice.actionbar.ActionbarContext
getActionListener, getWidgetInstanceManager
-
-
-
-
Method Detail
-
getActionTree
NavigationTree getActionTree()
- Specified by:
getActionTreein interfaceActionbarContext- Returns:
- actions tree for current bar
-
isSelected
boolean isSelected(NavigationNode node)
Checks whether provided node is selected- Parameters:
node- node to be checked- Returns:
trueif node is currently selected- See Also:
isSelectionParent(NavigationNode)
-
isSelectionParent
boolean isSelectionParent(NavigationNode node)
Checks whether provided node is a parent of selected one- Parameters:
node- node to be checked- Returns:
trueif provided node is a parent of selected one
-
-