org.xwiki.gwt.wysiwyg.client.plugin.table
Class TablePlugin

java.lang.Object
  extended by org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin
      extended by org.xwiki.gwt.wysiwyg.client.plugin.table.TablePlugin
All Implemented Interfaces:
CommandListener, Plugin

public class TablePlugin
extends org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin
implements CommandListener

Plug-in allowing to manipulate tables in the WYSIWYG editor.

Version:
$Id: 7ff565495d431770e036b4ee59b564da08a5321b $

Constructor Summary
TablePlugin()
           
 
Method Summary
 void destroy()
          
 List<TableFeature> getFeatures()
           
 void init(RichTextArea rta, Config config)
          
 boolean onBeforeCommand(CommandManager sender, Command command, String param)
          
 void onCommand(CommandManager sender, Command command, String param)
          
 
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
 

Constructor Detail

TablePlugin

public TablePlugin()
Method Detail

init

public void init(RichTextArea rta,
                 Config config)

Specified by:
init in interface Plugin
Overrides:
init in class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin
See Also:
AbstractPlugin#init(XRichTextArea, 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()

getFeatures

public List<TableFeature> getFeatures()
Returns:
The list of the features exposed by the plugin.

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)


Copyright © 2004–2014 XWiki. All rights reserved.