|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@API(type=EXTENDABLE, src=PUBLIC) public interface AuthorPersistentHighlightActionsProvider
The provider for contextual actions that are shown on the contextual menu of the
persistent highlight (in the main editor area - not yet supported) and on the associated
callout. You can set such a provider by using the
AuthorPersistentHighlighter.setHighlightsActionsProvider(AuthorPersistentHighlightActionsProvider)
method.
Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
Method Summary | |
---|---|
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). |
Method Detail |
---|
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.
|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |