@API(type=NOT_EXTENDABLE,
src=PUBLIC)
public interface TextActionsProvider
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getActionID(java.lang.Object action)
Get an unique ID (which does not depend on the action name) for an action Oxygen has mounted on the main JMenuBar or on the toolbars.
|
java.util.Map<java.lang.String,java.lang.Object> |
getTextActions()
Get the map of Text actions (undo, redo, cut, copy, paste, etc).
|
void |
invokeAction(java.lang.Object action)
If an action 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).
|
java.util.Map<java.lang.String,java.lang.Object> getTextActions()
void invokeAction(java.lang.Object action)
action
- The action to invokejava.lang.String getActionID(java.lang.Object action)
action
- The action for which to retrieve the ID.null
if the action is not one provided by Oxygen.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.