Page 1 of 1

CUSTOMIZE AUTHOR REVIEW ACCEPT/REVIEW ACTION

Posted: Fri Jun 24, 2016 4:37 pm
by Vangelis
Dear Support,

Is-it possible to customize the action behind the command accept/reject in the review panel.

We would like add some additional attribute on the xml when action is "accept".

Thanks a lot.

Re: CUSTOMIZE AUTHOR REVIEW ACCEPT/REVIEW ACTION

Posted: Fri Jun 24, 2016 4:57 pm
by Radu
Hi,

In 17.1 we added a little bit of API for controlling the contextual menu for the review panel, it is something like:

Code: Select all

		authorAccess.getReviewController().getAuthorReviewViewController().addReviewActionsProvider(new ReviewActionsProvider() {
@Override
public void customizeContextualMenuActions(
AuthorAccess authorAccess,
AuthorPersistentHighlight[] selectedHighlights,
Object popupMenu) {
//Here you can obtain the JPopupMenu and possibly get to the action and change it with a new action which delegates to the original one...
}
});
but somehow we seem to have missed adding API to control the link actions (Accept/Reject/Remove) which can be directly clicked in the Review panel.
We'll try to add some API for this as well. Hopefully it will be included in Oxygen 18.1 (Autumn this year).

Regards,
Radu

Re: CUSTOMIZE AUTHOR REVIEW ACCEPT/REVIEW ACTION

Posted: Fri Jun 24, 2016 5:17 pm
by Vangelis
Thanks a lot, it will be a big help for us if the accept/reject/remove could be customized in 18.1.

Best regards.

Re: CUSTOMIZE AUTHOR REVIEW ACCEPT/REVIEW ACTION

Posted: Thu Oct 20, 2016 4:25 pm
by Radu
Hi,

We released Oxygen 18.1 and it has a new API "ro.sync.ecss.extensions.api.review.ReviewActionsProvider.customizeHoverActions" which allows you to control the hover inline actions which appear in the review panel.

Regards,
Radu