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 Details

    • DefaultEditorManager

      public DefaultEditorManager()
  • Method Details

    • 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 interface EditorManager
    • getCurrentEditorVersion

      public String getCurrentEditorVersion()
      Description copied from interface: EditorManager
      Returns the version of the plugin that contains the active editor.
      Specified by:
      getCurrentEditorVersion in interface EditorManager
    • setPluginAccessor

      public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)