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

Use scijavas new custom labels feature for the config enums #55

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

stefanhahmann
Copy link
Collaborator

@stefanhahmann stefanhahmann commented Nov 9, 2023

This PR makes use of the possibility that enum classes can now be directly used as parameters in SciJava Command views without the need for any getByName() methods in the enum classes.

Currently this comes with the disadvantage that such parameters will not be persisted as usual, i.e. when the Command View is shown repeatedly, it will always show the default parameters value and not the parameter values that had last been selected by the user.

For persistence of enum parameters, there exists an issue here: scijava/scijava-common#471

@stefanhahmann stefanhahmann force-pushed the enum-custom-labels branch 9 times, most recently from f45f11b to 27debca Compare November 15, 2023 12:12
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

62.5% 62.5% Coverage
0.0% 0.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@stefanhahmann stefanhahmann self-assigned this Feb 23, 2024
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