org.xwiki.gwt.wysiwyg.client
Class WysiwygEditorFactory

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.WysiwygEditorFactory

public final class WysiwygEditorFactory
extends java.lang.Object

Factory for WysiwygEditor. Holds the responsibility of injecting the PluginFactoryManager and SyntaxValidatorManager in each editor created.

Version:
$Id: WysiwygEditorFactory.java 33189 2010-11-30 13:57:38Z mflorea $

Method Summary
static WysiwygEditorFactory getInstance()
           
 WysiwygEditor newEditor(Config config)
          Creates a new editor for the given configuration in the specified context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static WysiwygEditorFactory getInstance()
Returns:
the singleton factory instance.

newEditor

public WysiwygEditor newEditor(Config config)
Creates a new editor for the given configuration in the specified context.

Parameters:
config - the configuration object
Returns:
the newly created WYSIWYG editor


Copyright © 2004-2011 XWiki. All Rights Reserved.