@API(type=INTERNAL, src=PUBLIC) public class Docbook5SchemaAwareEditingHandler extends DocbookSchemaAwareEditingHandler
AuthorSchemaAwareEditingHandlerAdapter.WrapInAncestorsOptions
documentNamespace, INFO_SUFIX, PARA, TITLE
lastHandlerResult
ACTION_ID_BACKSPACE, ACTION_ID_CUT, ACTION_ID_DELETE, ACTION_ID_DND, ACTION_ID_INSERT_FRAGMENT, ACTION_ID_PASTE, ACTION_ID_TYPING, CREATE_FRAGMENT_PURPOSE_COPY, CREATE_FRAGMENT_PURPOSE_CUT, CREATE_FRAGMENT_PURPOSE_DND_COPY, CREATE_FRAGMENT_PURPOSE_DND_MOVE
Constructor and Description |
---|
Docbook5SchemaAwareEditingHandler(java.lang.String documentNamespace) |
Modifier and Type | Method and Description |
---|---|
boolean |
changeElementsToMoveUpDown(java.util.List<AuthorNode> selectedElements)
Determine the elements that should be moved by the Move Up/Down operation.
|
protected java.lang.String |
getInfoElementChildOfSect(java.lang.String sectElementName)
Get the info child element name of to the given sect element name.
|
getAncestorDetectionOptions, handlePasteFragment, handleTyping, handleTypingFallback, isElementWithNameAndNamespace, pushContextElement
canBeReplaced, getLastResult, handleCreateDocumentFragment, handleDelete, handleDeleteElementTags, handleDeleteNodes, handleDeleteSelection, handleJoinElements
public Docbook5SchemaAwareEditingHandler(java.lang.String documentNamespace)
documentNamespace
- protected java.lang.String getInfoElementChildOfSect(java.lang.String sectElementName)
DocbookSchemaAwareEditingHandler
getInfoElementChildOfSect
in class DocbookSchemaAwareEditingHandler
sectElementName
- The sect element name.DocbookSchemaAwareEditingHandler.getInfoElementChildOfSect(java.lang.String)
public boolean changeElementsToMoveUpDown(java.util.List<AuthorNode> selectedElements)
AuthorSchemaAwareEditingHandlerAdapter
title
then the element
that should actually be moved is its parent (e.g. section
for DocBook).changeElementsToMoveUpDown
in class DocbookSchemaAwareEditingHandler
selectedElements
- the selected elements in the author page. This list should be altered
depending on the framework specific structure.
title
then the element
that should actually be present in this list is its parent (e.g. section
for DocBook).true
if the list of elements to be moved was altered by the framework specific handler.AuthorSchemaAwareEditingHandlerAdapter.changeElementsToMoveUpDown(java.util.List)
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.