Class PerspectiveChooserWidgetController.ChooserContext
- java.lang.Object
-
- com.hybris.backoffice.widgets.perspectivechooser.controller.PerspectiveChooserWidgetController.ChooserContext
-
- All Implemented Interfaces:
ActionbarContext,NavigationContext
- Enclosing class:
- PerspectiveChooserWidgetController
protected class PerspectiveChooserWidgetController.ChooserContext extends java.lang.Object implements NavigationContext
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedChooserContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionbarListenergetActionListener()NavigationTreegetActionTree()WidgetInstanceManagergetWidgetInstanceManager()booleanisSelected(NavigationNode node)Checks whether provided node is selectedbooleanisSelectionParent(NavigationNode node)Checks whether provided node is a parent of selected one
-
-
-
Method Detail
-
getActionListener
public ActionbarListener getActionListener()
- Specified by:
getActionListenerin interfaceActionbarContext- Returns:
- listener for action execution
-
getWidgetInstanceManager
public WidgetInstanceManager getWidgetInstanceManager()
- Specified by:
getWidgetInstanceManagerin interfaceActionbarContext- Returns:
WidgetInstanceManagerfor widget that defines action bar
-
getActionTree
public NavigationTree getActionTree()
- Specified by:
getActionTreein interfaceActionbarContext- Specified by:
getActionTreein interfaceNavigationContext- Returns:
- actions tree for current bar
-
isSelected
public boolean isSelected(NavigationNode node)
Description copied from interface:NavigationContextChecks whether provided node is selected- Specified by:
isSelectedin interfaceNavigationContext- Parameters:
node- node to be checked- Returns:
trueif node is currently selected- See Also:
NavigationContext.isSelectionParent(NavigationNode)
-
isSelectionParent
public boolean isSelectionParent(NavigationNode node)
Description copied from interface:NavigationContextChecks whether provided node is a parent of selected one- Specified by:
isSelectionParentin interfaceNavigationContext- Parameters:
node- node to be checked- Returns:
trueif provided node is a parent of selected one
-
-