public class EditorActionManagerImpl extends EditorActionManager
| Constructor and Description |
|---|
EditorActionManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
EditorActionHandler |
getActionHandler(java.lang.String actionId)
Returns the handler currently defined for the specified editor actions.
|
ReadonlyFragmentModificationHandler |
getReadonlyFragmentModificationHandler()
Gets the default handler which is invoked on attempt to modify a read-only fragment in the editor.
|
ReadonlyFragmentModificationHandler |
getReadonlyFragmentModificationHandler(Document document)
Gets the handler which is invoked on attempt to modify a read-only fragment for the document.
|
TypedAction |
getTypedAction() |
EditorActionHandler |
setActionHandler(java.lang.String actionId,
EditorActionHandler handler)
Sets the handler for the specified editor actions.
|
void |
setReadonlyFragmentModificationHandler(Document document,
ReadonlyFragmentModificationHandler handler)
Sets the handler which is invoked on attempt to modify a read-only fragment for the document.
|
ReadonlyFragmentModificationHandler |
setReadonlyFragmentModificationHandler(ReadonlyFragmentModificationHandler handler)
Sets the handler which is invoked on attempt to modify a read-only fragment in the editor.
|
getInstancepublic EditorActionHandler getActionHandler(java.lang.String actionId)
EditorActionManagergetActionHandler in class EditorActionManageractionId - the ID of the action for which the handler is requested. Possible
IDs are defined in the IdeActions class
by constants starting with ACTION_EDITOR_.public EditorActionHandler setActionHandler(java.lang.String actionId, EditorActionHandler handler)
EditorActionManagersetActionHandler in class EditorActionManageractionId - the ID of the action for which the handler is set. Possible
IDs are defined in the IdeActions class
by constants starting with ACTION_EDITOR_.public TypedAction getTypedAction()
getTypedAction in class EditorActionManagerpublic ReadonlyFragmentModificationHandler getReadonlyFragmentModificationHandler()
EditorActionManagergetReadonlyFragmentModificationHandler in class EditorActionManagerDocument.createGuardedBlock(int, int)public ReadonlyFragmentModificationHandler getReadonlyFragmentModificationHandler(Document document)
EditorActionManagergetReadonlyFragmentModificationHandler in class EditorActionManagerdocument - target documentDocument.createGuardedBlock(int, int)public void setReadonlyFragmentModificationHandler(Document document, ReadonlyFragmentModificationHandler handler)
EditorActionManagersetReadonlyFragmentModificationHandler in class EditorActionManagerdocument - target documenthandler - new handlerDocument.createGuardedBlock(int, int)public ReadonlyFragmentModificationHandler setReadonlyFragmentModificationHandler(ReadonlyFragmentModificationHandler handler)
EditorActionManagersetReadonlyFragmentModificationHandler in class EditorActionManagerhandler - the handler instance.Document.createGuardedBlock(int, int)