Interface BrowserNodeActionProvider<T>

Type Parameters:
T - the type of node bound to BrowserNodeHandler

public interface BrowserNodeActionProvider<T>
Interface providing methods for node based actions. Methods will be used by related BrowserNodeHandler.
(See usages for existing application types.)
Since:
4.2.426
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Action
    onClick(T node)
    Provides an action that should be executed on browser click event on the specified node.
    Provides a list of actions that should be displayed in browser context menu.
  • Method Details

    • onContextMenu

      List<Action> onContextMenu(List<T> nodes)
      Provides a list of actions that should be displayed in browser context menu.
      Parameters:
      nodes - currently selected nodes or context menu event target
      Returns:
      the list of actions based on given nodes
      Since:
      4.2.426
    • onClick

      @Nullable @Nullable Action onClick(T node)
      Provides an action that should be executed on browser click event on the specified node.
      Parameters:
      node - the click event target
      Returns:
      a click action
      Since:
      4.2.426