@API(type=EXTENDABLE,
src=PUBLIC)
public abstract class ReviewActionsProvider
extends java.lang.Object
Constructor and Description |
---|
ReviewActionsProvider() |
Modifier and Type | Method and Description |
---|---|
void |
customizeContextualMenuActions(AuthorAccess authorAccess,
AuthorPersistentHighlight[] selectedHighlights,
java.lang.Object popupMenu)
Get the list of actions to show for a review entry.
|
void |
customizeHoverActions(AuthorAccess authorAccess,
AuthorPersistentHighlight authorPersistentHighlight,
java.util.List actions)
Customize the list of actions which are shown when hovering the item.
|
boolean |
performCustomActionOnDelete(AuthorAccess authorAccess,
AuthorPersistentHighlight[] selectedHighlights)
This method is called when the DEL button is pressed in the review panel.
|
public void customizeContextualMenuActions(AuthorAccess authorAccess, AuthorPersistentHighlight[] selectedHighlights, java.lang.Object popupMenu)
authorAccess
- The Author access.selectedHighlights
- The list of selected highlightspopupMenu
- The popup menu with default actions. (implementation of JPopupMenu on Swing or MenuManager on Eclipse).public boolean performCustomActionOnDelete(AuthorAccess authorAccess, AuthorPersistentHighlight[] selectedHighlights)
authorAccess
- The Author access.selectedHighlights
- The list of selected highlightstrue
if the API implementor will perform a custom delete action using for example
methods in the AuthorChangeTrackingController API.public void customizeHoverActions(AuthorAccess authorAccess, AuthorPersistentHighlight authorPersistentHighlight, java.util.List actions)
authorAccess
- The author access.authorPersistentHighlight
- The current highlight.actions
- The list of hover actions which appear by default when hovering a change/comment in the Review panel.
You can add more actions to it, wrap existing actions or remove actions.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.
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.