Skip to content

Allow showing file list widget instead of file chooser #69

@imagejan

Description

@imagejan
Member

When using a single File[] parameter like:

#@ File[] (style="extensions:tif/tiff/ims") files

.. we always show a file chooser dialog using chooseFiles.
Only when a second unrelated parameter is added, a file list widget is shown in a generated input dialog:

#@ File[] (style="extensions:tif/tiff/ims") files
#@ String (required=false) ignoreThis

There should be a possiblity to get an input dialog with the file list widget, without the need to add secondary parameters.

(I thought I had opened a ticket about this long ago, but I couldn't find it, so here it is.)

Activity

imagesc-bot

imagesc-bot commented on Apr 11, 2022

@imagesc-bot

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/drag-and-drop-file-list/65646/3

ctrueden

ctrueden commented on Apr 11, 2022

@ctrueden
Member

Yeah, something like autofill=false, but for the FilePreprocessor and FileListPreprocessor to know they shouldn't do this shortcut of popping the file chooser dialog directly. I also remember you mentioning this before, @imagejan, but don't have time to dig for existing issues right now, sorry.

imagejan

imagejan commented on Apr 12, 2022

@imagejan
MemberAuthor

I found the previous mentions here:

scijava/batch-processor#20
scijava/scijava-common#420

So now we have an open issue in each of the relevant repositories 🤷

Edit:
And there's scijava/scijava-common#423 already 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @ctrueden@imagejan@imagesc-bot

        Issue actions

          Allow showing file list widget instead of file chooser · Issue #69 · scijava/scijava-ui-swing