Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide support for IJ2 menu separators #265

Open
karlduderstadt opened this issue Aug 26, 2021 · 1 comment
Open

Provide support for IJ2 menu separators #265

karlduderstadt opened this issue Aug 26, 2021 · 1 comment

Comments

@karlduderstadt
Copy link

The new IJ2 method for specifying command placement within menus can support the creation of separators or dividing lines between menu items. Unfortunately, this feature is not implemented in the IJ1MenuWrapper inner class in the IJ1Helper class responsible for adding IJ2 commands in legacy mode.

If the menu weight parameter is greater than one between two consecutive commands in a menu, a separator will be added in between. This feature is currently implemented in scijava-common and fully realized in scijava-ui-swing when using Modern Mode. It would be wonderful if this feature was also available in legacy mode.

@imagesc-bot
Copy link

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/specify-plugin-order-in-submenus-in-ij2/19321/10

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

No branches or pull requests

2 participants