@API(type=EXTENDABLE,
src=PUBLIC)
public interface AuthorPersistentHighlightActionsProvider
AuthorPersistentHighlighter.setHighlightsActionsProvider(AuthorPersistentHighlightActionsProvider)
method.Modifier and Type | Method and Description |
---|---|
java.util.List<javax.swing.AbstractAction> |
getActions(AuthorPersistentHighlight highlight)
Gets the available actions for a persistent highlight.
|
javax.swing.AbstractAction |
getDefaultAction(AuthorPersistentHighlight highlight)
Gets the action that will be invoked when the user double clicks a callout representation,
or a persistent highlight in the main editing area (not yet supported).
|
java.util.List<javax.swing.AbstractAction> getActions(AuthorPersistentHighlight highlight)
Action.SMALL_ICON
is used as action image in the menu
and Action.NAME
is used as action name (label).
AuthorCalloutsController.setCalloutsRenderingInformationProvider(
ro.sync.ecss.extensions.api.callouts.CalloutsRenderingInformationProvider)
highlight
- The highlight for which the actions are requested. Never
null
.null
if there is no action available for the context highlight.
The list can contain null
entries for separators.javax.swing.AbstractAction getDefaultAction(AuthorPersistentHighlight highlight)
Is not necessary that this action to
be included in the ones returned by getActions(AuthorPersistentHighlight)
.
highlight
- The highlight for which the default action is requested.
Never null
.null
if there is no action available for the context highlight.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.