Package ro.sync.ecss.extensions.api
Interface EditPropertiesHandler
- All Superinterfaces:
Extension
- All Known Implementing Classes:
EditPropertiesHandlerAdapter
A custom implementation to handle editing properties for an author node. For example when a user
double clicks on an element tag we will invoke this extension and a specific dialog
can be presented. The user can edit different facets of that element, like attributes.
It is recommended to extend class EditPropertiesHandlerAdapter
in order to be protected from any
API additions that may occur in interface EditPropertiesHandler
.
- Since:
- 17.1
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canEditProperties
(AuthorNode authorNode) Checks if it can edit the properties for a given node.void
editProperties
(AuthorNode authorNode, AuthorAccess authorAccess) Edit the properties for the given node.Methods inherited from interface ro.sync.ecss.extensions.api.Extension
getDescription
-
Method Details
-
editProperties
Edit the properties for the given node.- Parameters:
authorNode
- Author node to edit the properties for.authorAccess
- Author access.
-
canEditProperties
Checks if it can edit the properties for a given node.- Parameters:
authorNode
- Author node to edit the properties for.- Returns:
true
if it can edit the properties of the node andfalse
if the properties of this node can't be edited.
-