Package ro.sync.ecss.extensions.api
Class EditPropertiesHandlerAdapter
java.lang.Object
ro.sync.ecss.extensions.api.EditPropertiesHandlerAdapter
- All Implemented Interfaces:
EditPropertiesHandler
,Extension
@API(type=EXTENDABLE,
src=PUBLIC)
public class EditPropertiesHandlerAdapter
extends Object
implements EditPropertiesHandler
Adapter class.
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.
- Since:
- 17.1
-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
EditPropertiesHandlerAdapter
public EditPropertiesHandlerAdapter()
-
-
Method Details
-
getDescription
- Specified by:
getDescription
in interfaceExtension
- Returns:
- The description of the extension.
- See Also:
-
editProperties
Description copied from interface:EditPropertiesHandler
Edit the properties for the given node.- Specified by:
editProperties
in interfaceEditPropertiesHandler
- Parameters:
authorNode
- Author node to edit the properties for.authorAccess
- Author access.- See Also:
-
canEditProperties
Description copied from interface:EditPropertiesHandler
Checks if it can edit the properties for a given node.- Specified by:
canEditProperties
in interfaceEditPropertiesHandler
- 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.- See Also:
-