-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
We currently check for equality in the chooseFile
and chooseFiles
methods of AbstractSwingUI
:
if (FileWidget.DIRECTORY_STYLE.equals(style)) { |
if (style.equals(FileListWidget.FILES_AND_DIRECTORIES)) { |
Let's instead use a common utility method to check whether a certain style string matches a given widget style.
See also scijava/scijava-common#333.
Metadata
Metadata
Assignees
Labels
No labels