Oxygen XML Editor 12.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

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, 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[] getIgnoredAttributes()
          Gets the attributes which should be skipped when using the current row as temaplate for insert operation.
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
doOperation, getArguments, getDescription, getOperationArguments
 
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)

getIgnoredAttributes

protected java.lang.String[] getIgnoredAttributes()
Description copied from class: InsertRowOperationBase
Gets the attributes which should be skipped when using the current row as temaplate for insert operation.

Overrides:
getIgnoredAttributes in class InsertRowOperationBase
Returns:
The attributes which should be skipped when using the current row as template for insert operation. By default, there is no such attribute and returned value is null.
See Also:
InsertRowOperationBase.getIgnoredAttributes()

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 12.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.