Interface WebappActionsManager

    • Method Detail

      • invokeOperation

        void invokeOperation​(java.lang.String operationClassName,
                             java.util.Map<java.lang.String,​java.lang.Object> args,
                             int imposedOffset)
                      throws java.lang.IllegalArgumentException,
                             AuthorOperationException
        Invokes an operation.
        Parameters:
        operationClassName - The name of the class that implements the operation.
        args - The arguments in a representation that mimics JSON: JSON string maps to Java String, and JSON object maps to Java Map.
        imposedOffset - The offset where the action is to be executed. -1 if the action is to be executed for the current selection.
        Throws:
        AuthorOperationException - If the action invocation throws.
        java.lang.IllegalArgumentException - If the action invocation throws.
      • getExtensionActionsConfiguration

        java.util.Map<java.lang.String,​java.lang.Object> getExtensionActionsConfiguration()
        Returns a representation of the extension actions configuration including the actions list and the toolbar configuration.
        Returns:
        The actions configuration.