Skip to content

Improve ModuleBatchProcessor UI #20

Description

@imagejan

When there's only one batchable parameter, ModuleBatchProcessor displays a multi-file chooser dialog via uiService.chooseFiles().

The (IMHO much nicer) [Swing]FileListWidget is only shown (together with a choice dropdown) when there are multiple parameters that could be iterated in batch.

We should instead default to always display the widget, even if only a single "batchable" input is present. We could probably annotate inputFileList with (autofill=false), provided we accurately handle this annotation, see scijava/scijava-common#420.

@Parameter(label = "Input files")
private File[] inputFileList;

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

      Issue actions