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 TypeMethodDescriptionbooleancanEditProperties(AuthorNode authorNode) Checks if it can edit the properties for a given node.voideditProperties(AuthorNode authorNode, AuthorAccess authorAccess) Edit the properties for the given node.
-
Constructor Details
-
EditPropertiesHandlerAdapter
public EditPropertiesHandlerAdapter()
-
-
Method Details
-
getDescription
- Specified by:
getDescriptionin interfaceExtension- Returns:
- The description of the extension.
- See Also:
-
editProperties
Description copied from interface:EditPropertiesHandlerEdit the properties for the given node.- Specified by:
editPropertiesin interfaceEditPropertiesHandler- Parameters:
authorNode- Author node to edit the properties for.authorAccess- Author access.- See Also:
-
canEditProperties
Description copied from interface:EditPropertiesHandlerChecks if it can edit the properties for a given node.- Specified by:
canEditPropertiesin interfaceEditPropertiesHandler- Parameters:
authorNode- Author node to edit the properties for.- Returns:
trueif it can edit the properties of the node andfalseif the properties of this node can't be edited.- See Also:
-