org.xwiki.gwt.wysiwyg.client.plugin.embed
Class EmbedPlugin
java.lang.Object
org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin
org.xwiki.gwt.wysiwyg.client.plugin.embed.EmbedPlugin
- All Implemented Interfaces:
- InnerHTMLListener, CommandListener, Plugin
public class EmbedPlugin
- extends org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin
- implements CommandListener, InnerHTMLListener
Handles objects embedded in the rich text area.
- Version:
- $Id: ec9754f2ac65b97fd6261dd1caed7fab60e627dd $
|
Field Summary |
static Command |
RESET
The command that notifies us when the content of the rich text area has been reset. |
| Methods inherited from class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin |
getConfig, getTextArea, getUIExtensionList, getUIExtensions, saveRegistration, saveRegistrations |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESET
public static final Command RESET
- The command that notifies us when the content of the rich text area has been reset.
EmbedPlugin
public EmbedPlugin()
init
public void init(RichTextArea textArea,
Config config)
-
- Specified by:
init in interface Plugin- Overrides:
init in class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin
- See Also:
AbstractPlugin.init(RichTextArea, Config)
destroy
public void destroy()
-
- Specified by:
destroy in interface Plugin- Overrides:
destroy in class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin
- See Also:
AbstractPlugin.destroy()
onBeforeCommand
public boolean onBeforeCommand(CommandManager sender,
Command command,
String param)
-
- Specified by:
onBeforeCommand in interface CommandListener
- See Also:
CommandListener.onBeforeCommand(CommandManager, Command, String)
onCommand
public void onCommand(CommandManager sender,
Command command,
String param)
-
- Specified by:
onCommand in interface CommandListener
- See Also:
CommandListener.onCommand(CommandManager, Command, String)
onInnerHTMLChange
public void onInnerHTMLChange(Element element)
-
- Specified by:
onInnerHTMLChange in interface InnerHTMLListener
- See Also:
InnerHTMLListener.onInnerHTMLChange(org.xwiki.gwt.dom.client.Element)
Copyright © 2004-2012 XWiki. All Rights Reserved.