@API(type=NOT_EXTENDABLE, src=PUBLIC) public class DITAAuthorActionEventHandler extends DefaultAuthorActionEventHandler
AuthorActionEventHandler.AuthorActionEventType
Constructor and Description |
---|
DITAAuthorActionEventHandler() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
areCompatibleLists(AuthorNode node1,
AuthorNode node2)
Check if two given nodes are compatible lists (i.e.
|
protected java.lang.String |
getPreferredXMLElementContent(AuthorAccess authorAccess)
Get the preferred XML element content to be inserted.
|
protected boolean |
isList(AuthorNode node)
Check if the given node is a list.
|
protected boolean |
isMovableListItem(AuthorAccess authorAccess,
AuthorNode candidate)
Checks if this node represents a list item that can be promoted/demoted.
|
canHandleEvent, getDescription, handleEvent, promote, promoteSubListItems
protected boolean isMovableListItem(AuthorAccess authorAccess, AuthorNode candidate)
DefaultAuthorActionEventHandler
isMovableListItem
in class DefaultAuthorActionEventHandler
authorAccess
- The Author access.candidate
- The node that candidates for promotion/demotion.true
if the list item can be promoted/demoted.DefaultAuthorActionEventHandler.isMovableListItem(ro.sync.ecss.extensions.api.AuthorAccess, ro.sync.ecss.extensions.api.node.AuthorNode)
protected boolean isList(AuthorNode node)
DefaultAuthorActionEventHandler
isList
in class DefaultAuthorActionEventHandler
node
- The node.true
if the node is a list.DefaultAuthorActionEventHandler.isList(ro.sync.ecss.extensions.api.node.AuthorNode)
protected java.lang.String getPreferredXMLElementContent(AuthorAccess authorAccess)
DefaultAuthorActionEventHandler
null
.getPreferredXMLElementContent
in class DefaultAuthorActionEventHandler
authorAccess
- The author access.DefaultAuthorActionEventHandler.getPreferredXMLElementContent(ro.sync.ecss.extensions.api.AuthorAccess)
protected boolean areCompatibleLists(AuthorNode node1, AuthorNode node2)
DefaultAuthorActionEventHandler
areCompatibleLists
in class DefaultAuthorActionEventHandler
true
if the two given nodes are compatible lists.DefaultAuthorActionEventHandler.areCompatibleLists(ro.sync.ecss.extensions.api.node.AuthorNode, ro.sync.ecss.extensions.api.node.AuthorNode)
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.