public class

DefaultEditorManager

extends Object
implements EditorManager
java.lang.Object
   ↳ com.atlassian.confluence.plugin.editor.DefaultEditorManager

Class Overview

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.

Summary

Public Constructors
DefaultEditorManager()
Public Methods
Editor getCurrentEditor()
Returns the active editor.
String getCurrentEditorVersion()
Returns the version of the plugin that contains the active editor.
void setPluginAccessor(PluginAccessor pluginAccessor)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.plugin.editor.EditorManager

Public Constructors

public DefaultEditorManager ()

Public Methods

public Editor getCurrentEditor ()

Returns the active editor. What defines the active editor is implementation-dependent.

public String getCurrentEditorVersion ()

Returns the version of the plugin that contains the active editor.

public void setPluginAccessor (PluginAccessor pluginAccessor)