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

Add FileWidget.FILE_AND_DIRECTORY_STYLE #480

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

tischi
Copy link
Contributor

@tischi tischi commented Jun 27, 2024

No description provided.

@NicoKiaru
Copy link
Contributor

Quick note to mention that the documentation in imagej.net needs to be updated once the PR is merged:

https://imagej.net/scripting/parameters

@NicoKiaru
Copy link
Contributor

Also, instead of "both", maybe something like "file_or_directory", since "both" isn't very clear out of context.
Last, how does this behave with a file array parameter ?

@tischi
Copy link
Contributor Author

tischi commented Jun 28, 2024

I am using "both" because that's what is already used for the FileListWidget.

@NicoKiaru
Copy link
Contributor

Ah great! Then the FileArray widget is already working. Good to know!

Copy link
Member

@imagejan imagejan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tischi!

Looks good to me, I just added suggestion to remove one of the TODO comments.

src/main/java/org/scijava/ui/UserInterface.java Outdated Show resolved Hide resolved
@tischi
Copy link
Contributor Author

tischi commented Jul 1, 2024

Thanks @imagejan, these TODO were not added by me, but what you did LGTM.

Do I need to accept/commit your changes or can you do it?

@ctrueden ctrueden merged commit 9a9fb72 into scijava:master Jul 10, 2024
3 checks passed
@ctrueden
Copy link
Member

Thanks, all!

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.

4 participants