Class InformationButtonHook

java.lang.Object
net.datenwerke.treedb.ext.client.eximport.ex.hookers.InformationButtonHook
All Implemented Interfaces:
MainPanelViewToolbarConfiguratorHook, Hook

public final class InformationButtonHook extends Object implements MainPanelViewToolbarConfiguratorHook
  • Field Details

  • Constructor Details

  • Method Details

    • mainPanelViewToolbarConfiguratorHook_addLeft

      public void mainPanelViewToolbarConfiguratorHook_addLeft(MainPanelView view, ToolBar toolbar, AbstractNodeDto selectedNode)
      Configures the left side of the toolbar in a MainPanelView
      Specified by:
      mainPanelViewToolbarConfiguratorHook_addLeft in interface MainPanelViewToolbarConfiguratorHook
    • mainPanelViewToolbarConfiguratorHook_addRight

      public void mainPanelViewToolbarConfiguratorHook_addRight(MainPanelView view, ToolBar toolbar, AbstractNodeDto selectedNode)
      Configures the right side of the toolbar in a MainPanelView by adding an information button. This method adds a button to the toolbar, enabling the display of additional information about the selected node. It ensures that the button is only added if specific conditions are met, such as checking the selected node, confirming
      Specified by:
      mainPanelViewToolbarConfiguratorHook_addRight in interface MainPanelViewToolbarConfiguratorHook
    • mainPanelViewToolbarConfiguratorHook_addRight

      public void mainPanelViewToolbarConfiguratorHook_addRight(MainPanelView view, ToolBar toolbar, AbstractNodeDto selectedNode, UITree tree)
      Adds additional configuration to the right side of the toolbar in a MainPanelView. This method is an overloaded version that includes an additional UITree parameter.
      Specified by:
      mainPanelViewToolbarConfiguratorHook_addRight in interface MainPanelViewToolbarConfiguratorHook
      Parameters:
      view - the current instance of MainPanelView to be configured
      toolbar - the toolbar to which components can be added
      selectedNode - the currently selected node in the view, providing context for the toolbar configuration
      tree - the UITree instance associated