@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface AuthorActionsProvider extends ActionsProvider
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getAuthorCommonActions()
Get the map of author common actions (undo, redo, cut, copy, paste, etc).
|
java.util.Map<java.lang.String,java.lang.Object> |
getAuthorExtensionActions()
Get the map of author extension actions.
|
void |
invokeAuthorExtensionActionInContext(java.lang.Object action,
int offset)
If an Author extension action which was contributed in the document type configuration was obtained using one of the methods in this interface this method
provides means to invoke an action on AWT thread (for the standalone distribution) or SWT thread (for the eclipse distribution)
and have it executed at a certain offset.
|
addActionPerformedListener, getActionID, invokeAction, removeActionPerformedListener
java.util.Map<java.lang.String,java.lang.Object> getAuthorCommonActions()
java.util.Map<java.lang.String,java.lang.Object> getAuthorExtensionActions()
void invokeAuthorExtensionActionInContext(java.lang.Object action, int offset)
action
- The action to invokeoffset
- The offset in the document where to invoke the action.© Copyright SyncRO Soft SRL 2002 - 2015. All rights reserved.