Interface AuthorExtensionActionProvider

  • All Known Subinterfaces:
    WebappActionsManager

    @API(type=NOT_EXTENDABLE,
         src=PUBLIC)
    public interface AuthorExtensionActionProvider
    Provides an author extension action for a given action ID. These actions are configured in the associated document type of the current document.
    Since:
    15.2
    • Method Detail

      • getExtensionAction

        IAuthorExtensionAction getExtensionAction​(java.lang.String actionID)
        Gets the author extension action with the given action ID. These actions are configured in the associated document type of the current document.
        Parameters:
        actionID - Action ID.
        Returns:
        The extension action or null if not found.
      • getExtensionAction

        IAuthorExtensionAction getExtensionAction​(ro.sync.ecss.css.functions.ActionLexicalUnit actionLU)
        Creates an action that comes from the CSS. These actions are defined directly into the CSS using the CSS oxy_action function.
        Parameters:
        actionLU - The Action lexical unit, containing all the properties.
        Returns:
        An new action, or null if the action cannot be built.