Class JoinOperation
java.lang.Object
ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
ro.sync.ecss.extensions.commons.table.operations.JoinOperationBase
ro.sync.ecss.extensions.commons.table.operations.cals.JoinOperation
- All Implemented Interfaces:
AuthorOperation,Extension
- Direct Known Subclasses:
JoinOperation
Operation for joining the content of selected cells.
-
Field Summary
Fields inherited from class ro.sync.ecss.extensions.commons.table.operations.JoinOperationBase
CURSOR_OUTSIDE_THE_TABLE_ERROR_MESSAGE, RECTANGULAR_SELECTIONS_ERROR_MESSAGE, SELECT_AT_LEAST_TWO_ADJACENT_CELLS_ERROR_MESSAGEFields inherited from class ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
CHANGE_TRACKING_BEHAVIOR_ARGUMENT, TABLE_INFO_ARGUMENT_DESCRIPTOR, TABLE_INFO_ARGUMENT_NAME, tableHelperFields inherited from interface ro.sync.ecss.extensions.api.AuthorOperation
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidgenerateColumnSpecifications(AuthorAccess authorAccess, AuthorTableCellSpanProvider tableSpanSupport, AuthorElement tableElement) Generates column specifications for the given table and inserts them into it.Methods inherited from class ro.sync.ecss.extensions.commons.table.operations.JoinOperationBase
doOperationInternal, getArguments, getDescription, joinCellsMethods inherited from class ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
createEmptyCell, doOperation, findCellInsertionOffset, getElementAncestor, isElement, isTableElement
-
Constructor Details
-
JoinOperation
Constructor.- Parameters:
tableHelper- The table helper
-
JoinOperation
public JoinOperation()Constructor.
-
-
Method Details
-
generateColumnSpecifications
protected void generateColumnSpecifications(AuthorAccess authorAccess, AuthorTableCellSpanProvider tableSpanSupport, AuthorElement tableElement) throws AuthorOperationException Generates column specifications for the given table and inserts them into it.- Specified by:
generateColumnSpecificationsin classJoinOperationBase- Parameters:
authorAccess- Access.tableSpanSupport- Span support.tableElement- The table element.- Throws:
AuthorOperationException- Failed to insert the column specifications into the table.
-