@API(type=INTERNAL, src=PUBLIC) public class RelTableShowPropertiesOperation extends ShowTablePropertiesBaseOperation
authorAccess, tableHelper
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
Constructor and Description |
---|
RelTableShowPropertiesOperation()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
computeFragmentMoveInsideHeader(java.util.List<AuthorDocumentFragment> fragments,
java.util.List<javax.swing.text.Position> offsets,
TabInfo tabInfo,
java.util.List<AuthorElement> nodesToModify,
AuthorElement currentNode)
Computes the fragment and position, inside header element, for the given node.
|
protected boolean |
computeFragmentsToMoveInsideBody(java.util.List<AuthorDocumentFragment> fragments,
java.util.List<javax.swing.text.Position> offsets,
TabInfo tabInfo,
java.util.List<AuthorElement> nodesToModify,
AuthorElement currentNode)
Computes the fragment and position, inside body element, for the given node.
|
protected boolean |
computeFragmentsToMoveInsideFooter(java.util.List<AuthorDocumentFragment> fragments,
java.util.List<javax.swing.text.Position> offsets,
TabInfo tabInfo,
java.util.List<AuthorElement> nodesToModify,
AuthorElement currentNode)
Computes the fragment and position, inside footer element, for the given node.
|
protected java.util.List<TabInfo> |
getCategoriesAndProperties(java.util.List<java.lang.Integer[]> selections)
Obtain the categories from the table properties dialog.
|
protected java.lang.String |
getHelpPageID()
Get the ID of the help page which will be called by the end user.
|
protected java.util.List<TableProperty> |
getTableAttribute()
Obtain the table attributes.
|
checkRowSpans, doOperation, getArguments, getAttrProperty, getCommonValue, getDescription, getElementsWithModifiedAttributes, getFragmentsAndOffsetsToInsert, getSelectedTab, getTableInformation, showTableProperties
public RelTableShowPropertiesOperation()
protected java.util.List<TabInfo> getCategoriesAndProperties(java.util.List<java.lang.Integer[]> selections)
ShowTablePropertiesBaseOperation
getCategoriesAndProperties
in class ShowTablePropertiesBaseOperation
selections
- The currently selected nodes or the node at caret position.ShowTablePropertiesBaseOperation.getCategoriesAndProperties(java.util.List)
protected boolean computeFragmentsToMoveInsideFooter(java.util.List<AuthorDocumentFragment> fragments, java.util.List<javax.swing.text.Position> offsets, TabInfo tabInfo, java.util.List<AuthorElement> nodesToModify, AuthorElement currentNode) throws AuthorOperationException
ShowTablePropertiesBaseOperation
computeFragmentsToMoveInsideFooter
in class ShowTablePropertiesBaseOperation
fragments
- A list with already computed fragments. The new fragment
will be added to this list.offsets
- A list with positions where the given fragments will be inserted.tabInfo
- The current edited tab info.nodesToModify
- A list containing all the nodes that will be deleted.currentNode
- The node to be checked if it should be moved.true
if the parent of the given node parent should be also deleted.AuthorOperationException
- If the new parent fragment could not be inserted.ShowTablePropertiesBaseOperation.computeFragmentsToMoveInsideFooter(java.util.List, java.util.List, ro.sync.ecss.extensions.commons.table.properties.TabInfo, java.util.List, ro.sync.ecss.extensions.api.node.AuthorElement)
protected boolean computeFragmentMoveInsideHeader(java.util.List<AuthorDocumentFragment> fragments, java.util.List<javax.swing.text.Position> offsets, TabInfo tabInfo, java.util.List<AuthorElement> nodesToModify, AuthorElement currentNode) throws AuthorOperationException
ShowTablePropertiesBaseOperation
computeFragmentMoveInsideHeader
in class ShowTablePropertiesBaseOperation
fragments
- A list with already computed fragments. The new fragment
will be added to this list.offsets
- A list with positions where the given fragments will be inserted.tabInfo
- The current edited tab info.nodesToModify
- A list containing all the nodes that will be deleted.currentNode
- The node to be checked if it should be moved.true
if the parent of the given node parent should be also deleted.AuthorOperationException
- If the new parent fragment could not be inserted.ShowTablePropertiesBaseOperation.computeFragmentMoveInsideHeader(java.util.List, java.util.List, ro.sync.ecss.extensions.commons.table.properties.TabInfo, java.util.List, ro.sync.ecss.extensions.api.node.AuthorElement)
protected boolean computeFragmentsToMoveInsideBody(java.util.List<AuthorDocumentFragment> fragments, java.util.List<javax.swing.text.Position> offsets, TabInfo tabInfo, java.util.List<AuthorElement> nodesToModify, AuthorElement currentNode) throws AuthorOperationException
ShowTablePropertiesBaseOperation
computeFragmentsToMoveInsideBody
in class ShowTablePropertiesBaseOperation
fragments
- A list with already computed fragments. The new fragment
will be added to this list.offsets
- A list with positions where the given fragments will be inserted.tabInfo
- The current edited tab info.nodesToModify
- A list containing all the nodes that will be deleted.currentNode
- The node to be checked if it should be moved.true
if the parent of the given node parent should be also deleted.AuthorOperationException
- If the new parent fragment could not be inserted.ShowTablePropertiesBaseOperation.computeFragmentsToMoveInsideBody(java.util.List, java.util.List, ro.sync.ecss.extensions.commons.table.properties.TabInfo, java.util.List, ro.sync.ecss.extensions.api.node.AuthorElement)
protected java.util.List<TableProperty> getTableAttribute()
ShowTablePropertiesBaseOperation
getTableAttribute
in class ShowTablePropertiesBaseOperation
TableProperty
objects containing the table attributes
qualified name, render string and possible values.ShowTablePropertiesBaseOperation.getTableAttribute()
protected java.lang.String getHelpPageID()
ShowTablePropertiesBaseOperation
getHelpPageID
in class ShowTablePropertiesBaseOperation
null
.ShowTablePropertiesBaseOperation.getHelpPageID()
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.