Class MoveButtonHook
java.lang.Object
net.datenwerke.treedb.ext.client.eximport.ex.hookers.MoveButtonHook
- All Implemented Interfaces:
MainPanelViewToolbarConfiguratorHook,Hook
-
Constructor Summary
ConstructorsConstructorDescriptionMoveButtonHook(ToolbarService toolbarUtils, <any> selectionTreeProvider, Predicate<AbstractNodeDto> appliesTo) -
Method Summary
Modifier and TypeMethodDescriptionvoidmainPanelViewToolbarConfiguratorHook_addLeft(MainPanelView view, ToolBar toolbar, AbstractNodeDto selectedNode) Configures the left section of the toolbar forvoidmainPanelViewToolbarConfiguratorHook_addRight(MainPanelView view, ToolBar toolbar, AbstractNodeDto selectedNode) Adds a custom configuration to the right section of the toolbar in the main panel view.voidmainPanelViewToolbarConfiguratorHook_addRight(MainPanelView view, ToolBar toolbar, AbstractNodeDto selectedNode, UITree viewTree) Adds a custom configuration to the right section of the toolbar in the main panel view.
-
Constructor Details
-
MoveButtonHook
public MoveButtonHook(ToolbarService toolbarUtils, <any> selectionTreeProvider, Predicate<AbstractNodeDto> appliesTo)
-
-
Method Details
-
mainPanelViewToolbarConfiguratorHook_addLeft
public void mainPanelViewToolbarConfiguratorHook_addLeft(MainPanelView view, ToolBar toolbar, AbstractNodeDto selectedNode) Configures the left section of the toolbar for- Specified by:
mainPanelViewToolbarConfiguratorHook_addLeftin interfaceMainPanelViewToolbarConfiguratorHook
-
mainPanelViewToolbarConfiguratorHook_addRight
public void mainPanelViewToolbarConfiguratorHook_addRight(MainPanelView view, ToolBar toolbar, AbstractNodeDto selectedNode) Adds a custom configuration to the right section of the toolbar in the main panel view.- Specified by:
mainPanelViewToolbarConfiguratorHook_addRightin interfaceMainPanelViewToolbarConfiguratorHook- Parameters:
view- the main panel view in which the toolbar is
-
mainPanelViewToolbarConfiguratorHook_addRight
public void mainPanelViewToolbarConfiguratorHook_addRight(MainPanelView view, ToolBar toolbar, AbstractNodeDto selectedNode, UITree viewTree) Adds a custom configuration to the right section of the toolbar in the main panel view.- Specified by:
mainPanelViewToolbarConfiguratorHook_addRightin interfaceMainPanelViewToolbarConfiguratorHook- Parameters:
view- the main panel view in which the toolbar is being configuredtoolbar- the toolbar to be configuredselectedNode- the currently selected node in the tree viewviewTree- the user interface tree associated with the view
-