Skip to content

Support for adding multiple actions for a single plug-in#159

Open
iluxave wants to merge 1 commit intocvhciKIT:masterfrom
iluxave:multi-action-plugins
Open

Support for adding multiple actions for a single plug-in#159
iluxave wants to merge 1 commit intocvhciKIT:masterfrom
iluxave:multi-action-plugins

Conversation

@iluxave
Copy link

@iluxave iluxave commented Apr 3, 2018

I have a plug in, which I sometimes want to run on a current image only, and sometimes on the whole set. This requires two menu items, to make things easy.
This change allows plugin.action() method to return a list or a tuple of actions/menu items to be added to the plugin menu, or a single item (scalar).

…form an action on all images, or current image only)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments