com.atlassian.confluence.tinymceplugin.web
Class EditorSettingsContextProvider

java.lang.Object
  extended by com.atlassian.confluence.tinymceplugin.web.EditorSettingsContextProvider
All Implemented Interfaces:
com.atlassian.plugin.web.ContextProvider

public class EditorSettingsContextProvider
extends Object
implements com.atlassian.plugin.web.ContextProvider

A ContextProvider for all the settings required by the editor wherever it is, which may or may not depend on the current user.

Since:
v4.0

Constructor Summary
EditorSettingsContextProvider(SettingsManager settingsManager, PermissionManager permissionManager, UserAccessor userAccessor, HeartbeatManager heartbeatManager)
           
 
Method Summary
 Map<String,Object> getContextMap(Map<String,Object> context)
           
 void init(Map<String,String> params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditorSettingsContextProvider

public EditorSettingsContextProvider(SettingsManager settingsManager,
                                     PermissionManager permissionManager,
                                     UserAccessor userAccessor,
                                     HeartbeatManager heartbeatManager)
Method Detail

init

public void init(Map<String,String> params)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.web.ContextProvider
Throws:
com.atlassian.plugin.PluginParseException

getContextMap

public Map<String,Object> getContextMap(Map<String,Object> context)
Specified by:
getContextMap in interface com.atlassian.plugin.web.ContextProvider


Copyright © 2003-2011 Atlassian. All Rights Reserved.