Class JoinCellAboveBelowOperationBase
java.lang.Object
ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
ro.sync.ecss.extensions.commons.table.operations.JoinCellAboveBelowOperationBase
- All Implemented Interfaces:
- AuthorOperation,- Extension
- Direct Known Subclasses:
- JoinCellAboveBelowOperation,- JoinCellAboveBelowOperation,- JoinCellAboveBelowOperation,- JoinCellAboveBelowOperation,- JoinCellAboveBelowOperation,- JoinCellAboveBelowOperation
@API(type=INTERNAL,
     src=PUBLIC)
public abstract class JoinCellAboveBelowOperationBase
extends AbstractTableOperation
Operation for joining the content of two cells in the same column, from adjacent rows. 
 The operation is possible only for cells that span over the same number of columns.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringPossible value ofJoin directionargument.static final StringPossible value ofJoin directionargument.Fields inherited from class ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperationCHANGE_TRACKING_BEHAVIOR_ARGUMENT, TABLE_INFO_ARGUMENT_DESCRIPTOR, TABLE_INFO_ARGUMENT_NAME, tableHelperFields inherited from interface ro.sync.ecss.extensions.api.AuthorOperationNAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected DeleteRowOperationBaseCreate a delete row operation necessary to delete the row which will now be empty.protected voiddoOperationInternal(AuthorAccess authorAccess, ArgumentsMap args) Perform the actual operation.Methods inherited from class ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperationcreateEmptyCell, doOperation, findCellInsertionOffset, getElementAncestor, isElement, isTableElement
- 
Field Details- 
JOIN_ABOVEPossible value ofJoin directionargument.- See Also:
 
- 
JOIN_BELOWPossible value ofJoin directionargument.- See Also:
 
 
- 
- 
Constructor Details- 
JoinCellAboveBelowOperationBaseConstructor.- Parameters:
- tableHelper- The document type specific table helper.
 
 
- 
- 
Method Details- 
doOperationInternalprotected void doOperationInternal(AuthorAccess authorAccess, ArgumentsMap args) throws AuthorOperationException Description copied from class:AbstractTableOperationPerform the actual operation.- Specified by:
- doOperationInternalin class- AbstractTableOperation
- Parameters:
- 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.
- Throws:
- AuthorOperationException- Thrown when the operation fails.
- See Also:
 
- 
createDeleteRowOperationCreate a delete row operation necessary to delete the row which will now be empty. Can be overwritten by custom code.- Returns:
- a delete row operation necessary to delete the row which will now be empty.
 
- 
getArguments- Returns:
- An array of ArgumentDescriptorrepresenting the arguments this operation uses.
- See Also:
 
- 
getDescription- Returns:
- The description of the extension.
- See Also:
 
 
-