@API(type=INTERNAL,
src=PUBLIC)
public abstract class DeleteRowOperationBase
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 |
|---|
DeleteRowOperationBase(AuthorTableHelper documentTypeHelper)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract SplitCellAboveBelowOperationBase |
createSplitCellOperation()
Create the split cell operation.
|
void |
doOperation(AuthorAccess authorAccess,
ArgumentsMap args)
Delete the table row at the caret position.
|
ArgumentDescriptor[] |
getArguments()
No arguments for this operation.
|
java.lang.String |
getDescription() |
boolean |
performDeleteRows(AuthorAccess authorAccess,
int startRowOffset,
int endRowOffset)
Delete table row.
|
createEmptyCell, findCellInsertionOffset, getElementAncestor, isElement, isTableElementpublic DeleteRowOperationBase(AuthorTableHelper documentTypeHelper)
documentTypeHelper - The table helper specific to a document type.
An implementation of AuthorTableHelper.public boolean performDeleteRows(AuthorAccess authorAccess, int startRowOffset, int endRowOffset) throws AuthorOperationException
0authorAccess - The access to Author operations.startRowOffset - The start row offset.endRowOffset - The end row offset.true if a row is deletedjava.lang.IllegalArgumentExceptionAuthorOperationExceptionpublic final void doOperation(AuthorAccess authorAccess, ArgumentsMap args) throws java.lang.IllegalArgumentException, AuthorOperationException
authorAccess - 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.AuthorOperation.doOperation(ro.sync.ecss.extensions.api.AuthorAccess, ro.sync.ecss.extensions.api.ArgumentsMap)public ArgumentDescriptor[] getArguments()
ArgumentDescriptor representing
the arguments this operation uses.AuthorOperation.getArguments()public java.lang.String getDescription()
Extension.getDescription()protected abstract SplitCellAboveBelowOperationBase createSplitCellOperation()
© Copyright SyncRO Soft SRL 2002 - 2015. All rights reserved.