Class DefaultEditorManager
java.lang.Object
com.atlassian.confluence.plugin.editor.DefaultEditorManager
- All Implemented Interfaces:
EditorManager
The active editor is the first editor found in the plugin system. It might change from call to call if
you have multiple editors active. Don't do that.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the active editor.Returns the version of the plugin that contains the active editor.voidsetPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
-
Constructor Details
-
DefaultEditorManager
public DefaultEditorManager()
-
-
Method Details
-
getCurrentEditor
Description copied from interface:EditorManagerReturns the active editor. What defines the active editor is implementation-dependent.- Specified by:
getCurrentEditorin interfaceEditorManager
-
getCurrentEditorVersion
Description copied from interface:EditorManagerReturns the version of the plugin that contains the active editor.- Specified by:
getCurrentEditorVersionin interfaceEditorManager
-
setPluginAccessor
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
-