Class RemoveButtonHook
java.lang.Object
net.datenwerke.treedb.ext.client.eximport.ex.hookers.RemoveButtonHook
- All Implemented Interfaces:
MainPanelViewToolbarConfiguratorHook,Hook
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidmainPanelViewToolbarConfiguratorHook_addLeft(MainPanelView view, ToolBar toolbar, AbstractNodeDto selectedNode) Adds custom components to the left section of the toolbar in the main panel view.voidmainPanelViewToolbarConfiguratorHook_addRight(MainPanelView view, ToolBar toolbar, AbstractNodeDto selectedNode) Configures the right-hand section of the toolbar in the main panel view by allowing additional components or functionality tovoidmainPanelViewToolbarConfiguratorHook_addRight(MainPanelView view, ToolBar toolbar, AbstractNodeDto selectedNode, UITree tree) Adds a custom 'Remove' button to the right-hand side of the toolbar in the main panel view under specific conditions.
-
Field Details
-
BTN_ID
- See Also:
-
-
Constructor Details
-
RemoveButtonHook
-
-
Method Details
-
mainPanelViewToolbarConfiguratorHook_addLeft
public void mainPanelViewToolbarConfiguratorHook_addLeft(MainPanelView view, ToolBar toolbar, AbstractNodeDto selectedNode) Adds custom components to the left section of the toolbar in the main panel view.- Specified by:
mainPanelViewToolbarConfiguratorHook_addLeftin interfaceMainPanelViewToolbarConfiguratorHook- Parameters:
view- The main panel view to which the toolbar belongs.
-
mainPanelViewToolbarConfiguratorHook_addRight
public void mainPanelViewToolbarConfiguratorHook_addRight(MainPanelView view, ToolBar toolbar, AbstractNodeDto selectedNode) Configures the right-hand section of the toolbar in the main panel view by allowing additional components or functionality to- Specified by:
mainPanelViewToolbarConfiguratorHook_addRightin interfaceMainPanelViewToolbarConfiguratorHook
-
mainPanelViewToolbarConfiguratorHook_addRight
public void mainPanelViewToolbarConfiguratorHook_addRight(MainPanelView view, ToolBar toolbar, AbstractNodeDto selectedNode, UITree tree) Adds a custom 'Remove' button to the right-hand side of the toolbar in the main panel view under specific conditions. The button allows removal of a node in the tree and refreshes the tree structure accordingly.- Specified by:
mainPanelViewToolbarConfiguratorHook_addRightin interfaceMainPanelViewToolbarConfiguratorHook- Parameters:
view- The main panel view to which the toolbar belongs.toolbar- The toolbar to which the 'Remove' button will be added.selectedNode- The currently selected node that the 'Remove' button will act upon.tree- The tree structure associated with the current main panel view.
-