@API(type=INTERNAL,
src=PUBLIC)
public class Docbook5SchemaAwareEditingHandler
extends DocbookSchemaAwareEditingHandler
AuthorSchemaAwareEditingHandlerAdapter.WrapInAncestorsOptionsdocumentNamespace, INFO_SUFIX, PARA, TITLElastHandlerResultACTION_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, pushContextElementcanBeReplaced, getLastResult, handleCreateDocumentFragment, handleDelete, handleDeleteElementTags, handleDeleteNodes, handleDeleteSelection, handleJoinElementspublic Docbook5SchemaAwareEditingHandler(java.lang.String documentNamespace)
documentNamespace - protected java.lang.String getInfoElementChildOfSect(java.lang.String sectElementName)
DocbookSchemaAwareEditingHandlergetInfoElementChildOfSect in class DocbookSchemaAwareEditingHandlersectElementName - The sect element name.DocbookSchemaAwareEditingHandler.getInfoElementChildOfSect(java.lang.String)public boolean changeElementsToMoveUpDown(java.util.List<AuthorNode> selectedElements)
AuthorSchemaAwareEditingHandlerAdaptertitle then the element
that should actually be moved is its parent (e.g. section for DocBook).changeElementsToMoveUpDown in class DocbookSchemaAwareEditingHandlerselectedElements - 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.