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_MESSAGE
Fields inherited from class ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
CHANGE_TRACKING_BEHAVIOR_ARGUMENT, TABLE_INFO_ARGUMENT_DESCRIPTOR, TABLE_INFO_ARGUMENT_NAME, tableHelper
Fields 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 void
generateColumnSpecifications
(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, joinCells
Methods 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:
generateColumnSpecifications
in classJoinOperationBase
- Parameters:
authorAccess
- Access.tableSpanSupport
- Span support.tableElement
- The table element.- Throws:
AuthorOperationException
- Failed to insert the column specifications into the table.
-