Class DefaultEditorManager
- java.lang.Object
-
- com.atlassian.confluence.plugin.editor.DefaultEditorManager
-
- All Implemented Interfaces:
EditorManager
public class DefaultEditorManager extends Object implements 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 Constructor Description DefaultEditorManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Editor
getCurrentEditor()
Returns the active editor.String
getCurrentEditorVersion()
Returns the version of the plugin that contains the active editor.void
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
-
-
-
Method Detail
-
getCurrentEditor
public Editor getCurrentEditor()
Description copied from interface:EditorManager
Returns the active editor. What defines the active editor is implementation-dependent.- Specified by:
getCurrentEditor
in interfaceEditorManager
-
getCurrentEditorVersion
public String 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)
-
-