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:
Plugin

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

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

Version:
$Id: TablePlugin.java 26786 2010-02-07 16:46:17Z mflorea $

Constructor Summary
TablePlugin()
           
 
Method Summary
 void destroy()
          Notifies the plug-in to release its resources before being unloaded from the WYSIWYG editor.
 java.util.List<TableFeature> getFeatures()
           
 void init(RichTextArea rta, Config config)
          Initialize the plug-in.
 
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)
Initialize the plug-in. Plug-ins need to know the text area in order to provide only those feature that are supported.

Specified by:
init in interface Plugin
Overrides:
init in class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin
Parameters:
rta - the text area of the editor
config - the configuration object
See Also:
AbstractPlugin#init(XRichTextArea, Config)

getFeatures

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

destroy

public void destroy()
Notifies the plug-in to release its resources before being unloaded from the WYSIWYG editor.

Specified by:
destroy in interface Plugin
Overrides:
destroy in class org.xwiki.gwt.wysiwyg.client.plugin.internal.AbstractPlugin
See Also:
AbstractPlugin.destroy()


Copyright © 2004-2010 XWiki. All Rights Reserved.