com.atlassian.confluence.plugin.editor
Class DefaultEditorManager

java.lang.Object
  extended by com.atlassian.confluence.plugin.editor.DefaultEditorManager
All Implemented Interfaces:
EditorManager

public class DefaultEditorManager
extends java.lang.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
DefaultEditorManager()
           
 
Method Summary
 Editor getCurrentEditor()
          Returns the active editor.
 java.lang.String getCurrentEditorVersion()
          Returns the version of the plugin that contains the active editor.
 void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEditorManager

public DefaultEditorManager()
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 interface EditorManager

getCurrentEditorVersion

public java.lang.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)


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.