de.espirit.firstspirit.client.gui.applications
Interface BrowserNodeActionProvider<T>


public interface BrowserNodeActionProvider<T>

Interface providing methods for node based actions. Methods will be used by related BrowserNodeHandler.

Attention: This part of the API isn't released yet and may change during the ramp up time. It will be released with 4.2 Release 4.


See usages for existing application types. * @param the type of node bound to BrowserNodeHandler

Since:
4.2.426

Method Summary
 Action onClick(T node)
          Provides an action that should be executed on browser click event on the specified node.
 List<Action> onContextMenu(List<T> nodes)
          Provides a list of actions that should be displayed in browser context menu.
 

Method Detail

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
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


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480