public class ReadOnlyPlugin extends org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin implements CommandListener, PasteHandler
readOnly CSS class.| Constructor and Description |
|---|
ReadOnlyPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
init(RichTextArea textArea,
Config config) |
boolean |
onBeforeCommand(CommandManager sender,
Command command,
String param) |
void |
onCommand(CommandManager sender,
Command command,
String param) |
void |
onPaste(PasteEvent event) |
getConfig, getTextArea, getUIExtensionList, getUIExtensions, saveRegistration, saveRegistrationspublic void init(RichTextArea textArea, Config config)
init in interface Plugininit in class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPluginAbstractPlugin.init(RichTextArea, Config)public void destroy()
destroy in interface Plugindestroy in class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPluginAbstractPlugin.destroy()public boolean onBeforeCommand(CommandManager sender, Command command, String param)
onBeforeCommand in interface CommandListenerCommandListener.onBeforeCommand(CommandManager, Command, String)public void onCommand(CommandManager sender, Command command, String param)
onCommand in interface CommandListenerCommandListener.onCommand(CommandManager, Command, String)public void onPaste(PasteEvent event)
onPaste in interface PasteHandlerPasteHandler.onPaste(PasteEvent)Copyright © 2004–2014 XWiki. All rights reserved.