|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwicket.contrib.tinymce.settings.Enum
wicket.contrib.tinymce.settings.Plugin
public abstract class Plugin
Base class for all TinyMCE plugins.
Note: Only basic functionality is implemented, more work is needed.
| Constructor Summary | |
|---|---|
protected |
Plugin(String name)
|
protected |
Plugin(String name,
String pluginPath)
|
| Method Summary | |
|---|---|
protected void |
define(StringBuffer buffer,
String key,
String value)
|
protected void |
definePluginExtensions(StringBuffer buffer)
Override this in specific plugins if the plugin needs to be able to add something to the javascript. |
protected void |
definePluginSettings(StringBuffer buffer)
Define configuration settings for this plugin. |
String |
getPluginPath()
|
void |
setPluginPath(String pluginPath)
|
| Methods inherited from class wicket.contrib.tinymce.settings.Enum |
|---|
equals, getName, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Plugin(String name)
protected Plugin(String name,
String pluginPath)
| Method Detail |
|---|
public String getPluginPath()
protected void definePluginExtensions(StringBuffer buffer)
NOTE: This should NOT be used to configure settings for the plugin. The output is added AFTER the tinyMCE.init().
buffer - The output buffer which the plugin should append to, if they
have some additional javascript.protected void definePluginSettings(StringBuffer buffer)
I.e. the "paste" plugin can be configured with different settings such as: "paste_callback" etc.
buffer - buffer to append tosettingKey - The setting to set. I.e. "paste_callback"value - The value to set on the setting. I.e. "myCallbackFunction"
protected void define(StringBuffer buffer,
String key,
String value)
public void setPluginPath(String pluginPath)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||