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.tei.table.JoinOperation
-
- All Implemented Interfaces:
AuthorOperation
,Extension
@API(type=INTERNAL, src=PUBLIC) public class JoinOperation extends JoinOperationBase
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 Constructor Description JoinOperation()
Constructor.JoinOperation(AuthorTableHelper tableHelper)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
generateColumnSpecifications(AuthorAccess authorAccess, AuthorTableCellSpanProvider tableCellSpanProvider, AuthorElement tableElement)
Generates column specifications for the given table and inserts them into the document.-
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 Detail
-
JoinOperation
public JoinOperation()
Constructor.
-
JoinOperation
public JoinOperation(AuthorTableHelper tableHelper)
Constructor.- Parameters:
tableHelper
- The table helper.
-
-
Method Detail
-
generateColumnSpecifications
protected void generateColumnSpecifications(AuthorAccess authorAccess, AuthorTableCellSpanProvider tableCellSpanProvider, AuthorElement tableElement) throws AuthorOperationException
Description copied from class:JoinOperationBase
Generates column specifications for the given table and inserts them into the document.- Specified by:
generateColumnSpecifications
in classJoinOperationBase
- Parameters:
authorAccess
- Author access. Provides access to specific informations and actions for editor, document, workspace, tables, change tracking, utility a.s.o.tableCellSpanProvider
- Table cell span provider.tableElement
- The table element.- Throws:
AuthorOperationException
- Failed to insert the column specifications into the table.- See Also:
JoinOperationBase.generateColumnSpecifications(ro.sync.ecss.extensions.api.AuthorAccess, ro.sync.ecss.extensions.api.AuthorTableCellSpanProvider, ro.sync.ecss.extensions.api.node.AuthorElement)
-
-