com.filenet.wcm.apps.server.ui.operation.webcontent
Class TextEditorConfiguration

java.lang.Object
  extended bycom.filenet.wcm.apps.server.ui.operation.webcontent.TextEditorConfiguration

public class TextEditorConfiguration
extends java.lang.Object

TextEditorConfiguration class - is a static class that contains a list of all of the configuration classes of all of the different text editors and configuation combinations. The class information is loaded in from the TextEditor.xml.


Field Summary
static java.lang.String EDITOR_TYPE_HTML
           
static java.lang.String EDITOR_TYPE_MULTI
           
static java.lang.String EDITOR_TYPE_SINGLE
           
 
Constructor Summary
TextEditorConfiguration()
           
 
Method Summary
static TextEditorConfigPrefs getConfig(java.lang.String configId, com.filenet.wcm.toolkit.server.base.WcmController controller)
          Returns a configuration class of a given id
static java.util.List getConfigIds(com.filenet.wcm.toolkit.server.base.WcmController controller)
          Returns a list of all of the configuration ids
static TextEditorConfigPrefs getDefaultEditor()
           
static org.w3c.dom.Document getTextEditorXML()
           
static void loadConfigs(com.filenet.wcm.toolkit.server.base.WcmController controller)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EDITOR_TYPE_SINGLE

public static final java.lang.String EDITOR_TYPE_SINGLE
See Also:
Constant Field Values

EDITOR_TYPE_MULTI

public static final java.lang.String EDITOR_TYPE_MULTI
See Also:
Constant Field Values

EDITOR_TYPE_HTML

public static final java.lang.String EDITOR_TYPE_HTML
See Also:
Constant Field Values
Constructor Detail

TextEditorConfiguration

public TextEditorConfiguration()
Method Detail

loadConfigs

public static void loadConfigs(com.filenet.wcm.toolkit.server.base.WcmController controller)
                        throws java.lang.Exception
Throws:
java.lang.Exception

getTextEditorXML

public static org.w3c.dom.Document getTextEditorXML()

getConfigIds

public static java.util.List getConfigIds(com.filenet.wcm.toolkit.server.base.WcmController controller)
                                   throws java.lang.Exception
Returns a list of all of the configuration ids

Throws:
java.lang.Exception

getConfig

public static TextEditorConfigPrefs getConfig(java.lang.String configId,
                                              com.filenet.wcm.toolkit.server.base.WcmController controller)
                                       throws java.lang.Exception
Returns a configuration class of a given id

Throws:
java.lang.Exception

getDefaultEditor

public static TextEditorConfigPrefs getDefaultEditor()


© Copyright IBM Corp. 2002, 2007. All Rights Reserved.