Interface IAvailableAction

All Superinterfaces:
IAction
All Known Implementing Classes:
CutElementsFromCollectionAction, OpenCollectionElementInNewTabAction, PasteElementsIntoCollectionAction

public interface IAvailableAction extends IAction
An action that can be available for the user or hidden, depend on a programmatic condition.

It can be used for any type of action, even for list action or row action to have action that are only show in some rows, depending on the content.

Since:
5.9
Author:
Javier Paniza
  • Method Details

    • isAvailable

      boolean isAvailable()
      If true the action will be available for the user, otherwise it will be hidden.
      This method is executed before determine if the action has to be shown, so before execute(). The action is configured completely (injecting all needed objects and properties) before calling isAvailable().