Class HighlightActionsProvider
java.lang.Object
ro.sync.ecss.extensions.api.highlights.HighlightActionsProvider
Provider for the actions available for a highlight.
- Since:
- 17.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ListgetActions(AuthorAccess authorAccess) Get the available actions for a highlight.abstract ObjectGet the icon for the collapsed widget.abstract ObjectGet the icon for the expanded widget.Get the rendering style of the actions.Get the tolltip message displayed when hovering over the widget.
-
Constructor Details
-
HighlightActionsProvider
public HighlightActionsProvider()
-
-
Method Details
-
getActions
Get the available actions for a highlight.- Parameters:
authorAccess- The author access.- Returns:
- the list of actions.
-
getCollapsedWidgetIcon
Get the icon for the collapsed widget. The collapsed widget is shown when hovering over a highlight.- Returns:
- the icon for the collapsed widget.
-
getExpandedWidgetIcon
Get the icon for the expanded widget. The expanded widget is shown when hovering over the collapsed widget. The collapsed widget is shown when hovering over a highlight.- Returns:
- the icon for the expanded widget.
-
getRenderingStyle
Get the rendering style of the actions.- Returns:
- the rendering style of the actions.
-
getWidgetTooltipMessage
Get the tolltip message displayed when hovering over the widget.- Returns:
- The tooltip message displayed on the widget.
-