constellation icon indicating copy to clipboard operation
constellation copied to clipboard

`PluginParametersSwingDialog` buttons are not customizable

Open capricornunicorn123 opened this issue 8 months ago • 0 comments

Prerequisites

  • [ ] Put an X between the brackets on this line if you have done all of the following:

    • Running the latest version of Constellation

    • Attached the Support Package via Help > Support Package

    • Checked the FAQs: https://github.com/constellation-app/constellation/wiki/FAQ

    • Checked that your issue isn’t already filed: https://github.com/constellation-app/constellation/issues

    • Checked that there is not already a module that provides the described functionality: https://github.com/constellation-app/constellation/wiki/Catalogue-of-Repositories

Description

DialogDisplayers (Specifically PluginParametersSwingDialogs) have default button values of "OK and "Cancel". Although generally fitting with all use cases, it would be better if these button labels were suited to the specific use case of the DialogDisplayer.

Steps to Reproduce

  1. Open new graph
  2. Build Sphere graph (note the "OK", "Cancel" buttons)
  3. Select OK.
  4. Right Click on the graph tab and select rename (note the "OK", "Cancel" buttons)

Expected behaviour: Build Graph "OK" button would be better served as "Build" Rename Graph "OK button would be better served as "Rename"

Actual behaviour: All acceptance buttons default to "OK"

verification process: Execute Plugins interactively and note the label of the acceptance button. Some known examples: Experimental > Build > Build Spere graph. File > Export> To Screenshot.

Reproduces how often: 100%

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

capricornunicorn123 avatar Nov 30 '23 11:11 capricornunicorn123