@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface WebappActionsManager extends AuthorExtensionActionProvider
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
Modifier and Type | Method and Description |
---|---|
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.
|
void |
invokeOperation(java.lang.String operationClassName,
java.util.Map<java.lang.String,java.lang.Object> args,
int imposedOffset)
Invokes an operation.
|
getExtensionAction, getExtensionAction
void invokeOperation(java.lang.String operationClassName, java.util.Map<java.lang.String,java.lang.Object> args, int imposedOffset) throws java.lang.IllegalArgumentException, AuthorOperationException
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.AuthorOperationException
- If the action invocation throws.java.lang.IllegalArgumentException
- If the action invocation throws.java.util.Map<java.lang.String,java.lang.Object> getExtensionActionsConfiguration()
© Copyright SyncRO Soft SRL 2002 - 2015. All rights reserved.