com.jalios.jcmsplugin.tinymcebuttons
Class TinyMCEButtonsWysiwygPolicyFilter

java.lang.Object
  extended by com.jalios.jcms.policy.AbstractPolicyFilter
      extended by com.jalios.jcms.policy.BasicWysiwygPolicyFilter
          extended by com.jalios.jcmsplugin.tinymcebuttons.TinyMCEButtonsWysiwygPolicyFilter
All Implemented Interfaces:
PluginComponent, PolicyFilter, WysiwygPolicyFilter, Comparable

public class TinyMCEButtonsWysiwygPolicyFilter
extends BasicWysiwygPolicyFilter
implements PluginComponent

This class handle TinyMCE "more" plugin

Since:
jcms-5.7.0
Version:
$Revision: 19483 $
Author:
Jean-Philippe Encausse

Field Summary
static String MATCH_MORE
           
static String REQUEST_IS_FULLDISPLAY
           
static String REVISION
           
 
Fields inherited from class com.jalios.jcms.policy.AbstractPolicyFilter
order
 
Constructor Summary
TinyMCEButtonsWysiwygPolicyFilter()
           
 
Method Summary
 String beforeRendering(String text, Locale userLocale)
          This method is called before wysiwyg rendering
 boolean init(Plugin plugin)
          Initialize the component with the given plugin configuration
 
Methods inherited from class com.jalios.jcms.policy.BasicWysiwygPolicyFilter
afterRendering, checkGlobalWysiwygCSS, checkLocalWysiwygCSS, checkWysiwygCSSFile, loadWysiwygEditor
 
Methods inherited from class com.jalios.jcms.policy.AbstractPolicyFilter
compareTo, equals, getOrder, setOrder
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values

REQUEST_IS_FULLDISPLAY

public static final String REQUEST_IS_FULLDISPLAY
See Also:
Constant Field Values

MATCH_MORE

public static final String MATCH_MORE
See Also:
Constant Field Values
Constructor Detail

TinyMCEButtonsWysiwygPolicyFilter

public TinyMCEButtonsWysiwygPolicyFilter()
Method Detail

init

public boolean init(Plugin plugin)
Description copied from interface: PluginComponent
Initialize the component with the given plugin configuration

Specified by:
init in interface PluginComponent
Overrides:
init in class BasicWysiwygPolicyFilter
Parameters:
plugin - the calling plugin
Returns:
true if the conponent has been correctly initialized.
See Also:
PluginComponent.init(Plugin)

beforeRendering

public String beforeRendering(String text,
                              Locale userLocale)
Description copied from interface: WysiwygPolicyFilter
This method is called before wysiwyg rendering

Specified by:
beforeRendering in interface WysiwygPolicyFilter
Overrides:
beforeRendering in class BasicWysiwygPolicyFilter
Parameters:
text - the text to be rendered.
userLocale - an optionnal Locale of the user for which the text will be generated
Returns:
the text.
See Also:
WysiwygPolicyFilter.beforeRendering(String, Locale)


Copyright © 2001-2007 Jalios SA. All Rights Reserved.