Oxygen XML Editor 14.2 Author API

ro.sync.ecss.extensions.tei.table
Class InsertRowOperation

java.lang.Object
  extended by ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
      extended by ro.sync.ecss.extensions.commons.table.operations.InsertRowOperationBase
          extended by ro.sync.ecss.extensions.tei.table.InsertRowOperation
All Implemented Interfaces:
AuthorOperation, Extension, TEIConstants

@API(type=INTERNAL,
     src=PUBLIC)
public class InsertRowOperation
extends InsertRowOperationBase
implements TEIConstants

Operation used to insert a table row for TEI documents.


Field Summary
 
Fields inherited from class ro.sync.ecss.extensions.commons.table.operations.AbstractTableOperation
tableHelper
 
Fields inherited from interface ro.sync.ecss.extensions.tei.table.TEIConstants
ATTRIBUTE_NAME_COLS, ATTRIBUTE_NAME_ID, ATTRIBUTE_NAME_ROWS, ATTRIBUTE_NAME_XML_ID, ELEMENT_NAME_CELL, 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
InsertRowOperation()
          Constructor.
 
Method Summary
protected  java.lang.String getCellElementName(AuthorElement tableElement, int columnIndex)
          Get the name of the element that represents a cell.
protected  java.lang.String getRowElementName(AuthorElement tableElement)
          Get the name of the element that represents a row.
protected  boolean useCurrentRowTemplateOnInsert()
           
 
Methods inherited from class ro.sync.ecss.extensions.commons.table.operations.InsertRowOperationBase
createCellXMLFragment, doOperation, getArguments, getDefaultContentForEmptyCells, getDescription, getOperationArguments, getRowXMLFragment, getRowXMLFragment
 
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

InsertRowOperation

public InsertRowOperation()
Constructor.

Method Detail

getCellElementName

protected java.lang.String getCellElementName(AuthorElement tableElement,
                                              int columnIndex)
Description copied from class: InsertRowOperationBase
Get the name of the element that represents a cell.

Specified by:
getCellElementName in class InsertRowOperationBase
Parameters:
tableElement - The table element
columnIndex - The column index.
Returns:
The name of the element that represent a cell in the table.
See Also:
InsertRowOperationBase.getCellElementName(AuthorElement, int)

getRowElementName

protected java.lang.String getRowElementName(AuthorElement tableElement)
Description copied from class: InsertRowOperationBase
Get the name of the element that represents a row.

Specified by:
getRowElementName in class InsertRowOperationBase
Parameters:
tableElement - The table parent element.
Returns:
The name of the element that represent a row in the table.
See Also:
InsertRowOperationBase.getRowElementName(AuthorElement)

useCurrentRowTemplateOnInsert

protected boolean useCurrentRowTemplateOnInsert()
Overrides:
useCurrentRowTemplateOnInsert in class InsertRowOperationBase
Returns:
true if the current row template should be used to create the new row that must be inserted. Default: false
See Also:
InsertRowOperationBase.useCurrentRowTemplateOnInsert()

Oxygen XML Editor 14.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2013. All rights reserved.