Oxygen XML Editor 11.2 Author API

ro.sync.ecss.extensions.dita.map.table
Class InsertColumnOperation

java.lang.Object
  extended by ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
      extended by ro.sync.ecss.extensions.commons.table.operations.InsertColumnOperationBase
          extended by ro.sync.ecss.extensions.dita.map.table.InsertColumnOperation
All Implemented Interfaces:
AuthorOperation, Extension, ReltableConstants

public class InsertColumnOperation
extends InsertColumnOperationBase
implements ReltableConstants

Operation used to insert a DITA map reltable column.


Field Summary
 
Fields inherited from class ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
tableHelper
 
Fields inherited from interface ro.sync.ecss.extensions.dita.map.table.ReltableConstants
ATTRIBUTE_NAME_ID, ELEMENT_NAME_ENTRY, ELEMENT_NAME_HEADER, ELEMENT_NAME_HEADER_ENTRY, ELEMENT_NAME_ROW, ELEMENT_NAME_TABLE
 
Fields inherited from interface ro.sync.ecss.extensions.api.AuthorOperation
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
 
Constructor Summary
  InsertColumnOperation()
          Constructor.
protected InsertColumnOperation(AuthorTableHelper documentTypeHelper)
          Constructor.
 
Method Summary
protected  String getCellElementName(AuthorElement rowElement, int newColumnIndex)
          Get the name of the element that will be inserted as a cell into the table.
 
Methods inherited from class ro.sync.ecss.extensions.commons.table.operations.InsertColumnOperationBase
doOperation, getArguments, getDescription, updateColumnCellsSpan
 
Methods inherited from class ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
createEmptyCell, findCellInsertionOffset, getElementAncestor, isElement, isTableElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsertColumnOperation

public InsertColumnOperation()
Constructor.


InsertColumnOperation

protected InsertColumnOperation(AuthorTableHelper documentTypeHelper)
Constructor.

Parameters:
documentTypeHelper - Document type helper, has methods specific to a document type.
Method Detail

getCellElementName

protected String getCellElementName(AuthorElement rowElement,
                                    int newColumnIndex)
Description copied from class: InsertColumnOperationBase
Get the name of the element that will be inserted as a cell into the table.

Specified by:
getCellElementName in class InsertColumnOperationBase
Parameters:
rowElement - The row element where the new cell will be inserted.
newColumnIndex - The new column index. 0 based.
Returns:
The name of cell element.
See Also:
InsertColumnOperationBase.getCellElementName(ro.sync.ecss.extensions.api.node.AuthorElement, int)

Oxygen XML Editor 11.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.