|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.gui.components.form.flexible.impl.elements.richText.plugins.TinyMCECustomPluginFactory
public class TinyMCECustomPluginFactory
Description:
The plugins factory can be configured via spring to add your custom TinyMCE
plugins to the HTML editor and the rich text formatted form element. It
offers methods to get all plugins that are enabled for a specific usage
profile.
Initial Date: 11.06.2009
| Constructor Summary | |
|---|---|
TinyMCECustomPluginFactory()
|
|
| Method Summary | |
|---|---|
void |
addCustomPlugin(TinyMCECustomPlugin customPlugin)
Method to programatically add a plugin. |
java.util.List<TinyMCECustomPlugin> |
getCustomPlugins()
Get all custom TinyMCE plugins |
java.util.List<TinyMCECustomPlugin> |
getCustomPlugionsForProfile(int profile)
Get all custom TinyMCE plugins that are enabled for the given profile |
void |
setCustomPlugins(java.util.List<TinyMCECustomPlugin> customPluginsFromConfiguration)
Sping setter method |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TinyMCECustomPluginFactory()
| Method Detail |
|---|
public void setCustomPlugins(java.util.List<TinyMCECustomPlugin> customPluginsFromConfiguration)
customPluginsFromConfiguration - public void addCustomPlugin(TinyMCECustomPlugin customPlugin)
customPlugin - public java.util.List<TinyMCECustomPlugin> getCustomPlugins()
public java.util.List<TinyMCECustomPlugin> getCustomPlugionsForProfile(int profile)
profile - Profile defined in the RichtTextConfiguration.CONFIG_PROFILE_*
variables
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||