Skip to content

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

Open
stefanhahmann wants to merge 4 commits into
masterfrom
enum-custom-labels
Open

Use scijavas new custom labels feature for the config enums#55
stefanhahmann wants to merge 4 commits into
masterfrom
enum-custom-labels

Conversation

@stefanhahmann
Copy link
Copy Markdown
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
@sonarqubecloud
Copy link
Copy Markdown

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