org.xwiki.gwt.wysiwyg.client.plugin.table.feature
Class AbstractTableFeature
java.lang.Object
org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractRichTextAreaExecutable
org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable
org.xwiki.gwt.wysiwyg.client.plugin.table.feature.AbstractTableFeature
- All Implemented Interfaces:
- Executable, TableFeature
- Direct Known Subclasses:
- DeleteCol, DeleteRow, DeleteTable, InsertColAfter, InsertColBefore, InsertRowAfter, InsertRowBefore, InsertTable
public abstract class AbstractTableFeature
- extends org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable
- implements TableFeature
This class partly implements the Executable and TableFeature interfaces. Table features must extend this class.
- Version:
- $Id: c371498e5e96d1f9695d986278124d98c0998c53 $
| Methods inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable |
getParameter, hasValidSelection, isEnabled, isExecuted |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTableFeature
public AbstractTableFeature(String name,
Command command,
String title,
TablePlugin plugin)
- Default constructor.
- Parameters:
name - feature name.command - feature command.title - feature button title.plugin - table plug-in.
getName
public String getName()
- Get feature name.
- Specified by:
getName in interface TableFeature
- Returns:
- feature name (examples: inserttable, insertrowbefore).
- See Also:
TableFeature.getName()
getCommand
public Command getCommand()
- Get feature command.
- Specified by:
getCommand in interface TableFeature
- Returns:
- feature command.
- See Also:
TableFeature.getCommand()
getPlugin
public TablePlugin getPlugin()
- Get table plugin.
- Specified by:
getPlugin in interface TableFeature
- Returns:
- table plugin.
- See Also:
TableFeature.getPlugin()
destroy
public void destroy()
- Remove feature button from the interface.
- Specified by:
destroy in interface TableFeature
- See Also:
TableFeature.destroy()
Copyright © 2004–2015 XWiki. All rights reserved.