@API(type=INTERNAL,
src=PUBLIC)
public abstract class SplitOperationBase
extends AbstractTableOperation
TABLE_INFO_ARGUMENT_DESCRIPTOR, TABLE_INFO_ARGUMENT_NAME, tableHelperNAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR| Constructor and Description |
|---|
SplitOperationBase(AuthorTableHelper tableHelper)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doOperationInternal(AuthorAccess authorAccess,
ArgumentsMap args)
Split the selected table cell (or the cell at caret when there is no selection), if it spans over multiple rows or columns
|
ArgumentDescriptor[] |
getArguments() |
java.lang.String |
getDescription() |
protected java.lang.String |
getHelpPageID()
Get the ID of the help page which will be called by the end user.
|
protected abstract java.lang.String[] |
getIgnoredAttributesForColumnSplit() |
protected abstract java.lang.String[] |
getIgnoredAttributesForRowSplit() |
protected abstract InsertColumnOperationBase |
getInsertColumnOperation()
Get the insert column operation to be used when splitting cells that have no
initial span.
|
protected abstract InsertRowOperationBase |
getInsertRowOperation()
Get the insert row operation to be used when splitting cells that have no
initial span.
|
protected abstract JoinOperationBase |
getJoinOperation()
Get the join operation to be used when splitting cells that have no
initial span.
|
createEmptyCell, doOperation, findCellInsertionOffset, getElementAncestor, isElement, isTableElementpublic SplitOperationBase(AuthorTableHelper tableHelper)
tableHelper - Table helper with methods specific to a document type.protected void doOperationInternal(AuthorAccess authorAccess, ArgumentsMap args) throws java.lang.IllegalArgumentException, AuthorOperationException
doOperationInternal in class AbstractTableOperationauthorAccess - The author access.
Provides access to specific informations and actions for
editor, document, workspace, tables, change tracking, utility a.s.o.args - The map of arguments. All the arguments defined by method
AuthorOperation.getArguments() must be present in the map of arguments.java.lang.IllegalArgumentException - Thrown when one or more arguments are illegal.AuthorOperationException - Thrown when the operation fails.AbstractTableOperation.doOperationInternal(ro.sync.ecss.extensions.api.AuthorAccess, ro.sync.ecss.extensions.api.ArgumentsMap)protected abstract InsertRowOperationBase getInsertRowOperation()
protected abstract InsertColumnOperationBase getInsertColumnOperation()
protected abstract JoinOperationBase getJoinOperation()
public java.lang.String getDescription()
Extension.getDescription()public ArgumentDescriptor[] getArguments()
ArgumentDescriptor representing
the arguments this operation uses.AuthorOperation.getArguments()protected abstract java.lang.String[] getIgnoredAttributesForRowSplit()
protected abstract java.lang.String[] getIgnoredAttributesForColumnSplit()
protected java.lang.String getHelpPageID()
null.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.