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.void
setPluginAccessor
(com.atlassian.plugin.PluginAccessor pluginAccessor)
-
Constructor Details
-
DefaultEditorManager
public DefaultEditorManager()
-
-
Method Details
-
getCurrentEditor
Description copied from interface:EditorManager
Returns the active editor. What defines the active editor is implementation-dependent.- Specified by:
getCurrentEditor
in interfaceEditorManager
-
getCurrentEditorVersion
Description copied from interface:EditorManager
Returns the version of the plugin that contains the active editor.- Specified by:
getCurrentEditorVersion
in interfaceEditorManager
-
setPluginAccessor
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
-