Allow OptionsDisplayer open("tabPath") to work when dialog already open
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Description
It would be great, if the OptionsDisplayer would have a close functionality.
It can be opened via "OptionsDisplayer.getDefault().open();", but not closed.
Could you add a close() method?!
### Use case/motivation
Once the Options dialog has been opened, it can not be opened on a different tab programmatically, therefore it would be good to have a close method in order to close the Options dialog and open the Options dialog on another tab via OptionsDisplayer.getDefault().open("myTabPath");.
### Related issues
_No response_
### Are you willing to submit a pull request?
Yes
Contributor guide
Research direction
Start at the OptionsDisplayer API and the OptionsDisplayer.getDefault().open() entry point mentioned in the issue. Trace how an already-open dialog handles a request for another tab, then verify that the requested close functionality or equivalent behavior allows opening "myTabPath" programmatically while preserving existing options-dialog behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100