org.xwiki.gwt.wysiwyg.client.plugin.table.feature
Class InsertColBefore
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
org.xwiki.gwt.wysiwyg.client.plugin.table.feature.InsertColBefore
- All Implemented Interfaces:
- Executable, TableFeature
public class InsertColBefore
- extends AbstractTableFeature
Feature allowing to insert a column at the left of an existing column. After the insertion the caret is positioned in
the cell at the left of the originally edited cell. It is disabled when the caret is positioned outside of a column.
A column is a set of cells aligned vertically in a table.
- Version:
- $Id: InsertColBefore.java 26786 2010-02-07 16:46:17Z mflorea $
|
Field Summary |
static java.lang.String |
NAME
Feature name. |
| Methods inherited from class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable |
getParameter, hasValidSelection, isExecuted |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final java.lang.String NAME
- Feature name.
- See Also:
- Constant Field Values
InsertColBefore
public InsertColBefore(TablePlugin plugin)
- Initialize the feature. Table features needs to be aware of the plug-in (here the ClickListener) since they hold
their own PushButton.
- Parameters:
plugin - table plug-in.
execute
public boolean execute(java.lang.String parameter)
-
- See Also:
Executable.execute(String)
isEnabled
public boolean isEnabled()
-
- Specified by:
isEnabled in interface Executable- Overrides:
isEnabled in class org.xwiki.gwt.user.client.ui.rta.cmd.internal.AbstractSelectionExecutable
- See Also:
AbstractSelectionExecutable.isEnabled()
Copyright © 2004-2011 XWiki. All Rights Reserved.