Class NavigationHandler

java.lang.Object
fr.ifremer.isisfish.ui.CommonHandler
fr.ifremer.isisfish.ui.NavigationHandler
Direct Known Subclasses:
InputHandler, SensitivityInputHandler

public class NavigationHandler extends CommonHandler
Handler for tree navigation related interfaces.
Version:
$Revision$ Last update : $Date$ By : $Author$
Author:
chatellier
  • Field Details

    • uiInstanceCache

      protected Map<Class<?>,InputContentUI<?>> uiInstanceCache
      Cache pour n'instancier les ui qu'une seule fois et eviter que l'affichage saute pour l'utilsateur.
  • Constructor Details

    • NavigationHandler

      public NavigationHandler()
  • Method Details

    • getUIInstanceForBeanClass

      protected InputContentUI<?> getUIInstanceForBeanClass(Class<?> internalClass, NavigationUI navigationUI) throws Exception
      Get ui that can display internalClass.
      Parameters:
      internalClass - internal class to get ui
      Returns:
      navigationUI for class
      Throws:
      Exception
    • setTreeSelection

      public void setTreeSelection(InputContentUI<?> inputUI, String nodeId)
      Change tree selection with new node id. Called by specific UI (CellUI to change node).
      Parameters:
      inputUI - context ui (to get context value tree helper...)
      nodeId - node id to select
    • setTreeSelection

      public void setTreeSelection(InputContentUI<?> inputUI, String parentNodeId, String nodeId)
      Change tree selection with new node id. Called by specific UI (CellUI to change node).
      Parameters:
      inputUI - context ui (to get context value tree helper...)
      parentNodeId - find node to select from this node
      nodeId - node id to select