Skip to content

Implement an input widget for URIs #85

Description

@ctrueden

Such URIs might be a file path (with implicit file:// prefix), so the Browse button is still useful. But when a non-file URI such as https://... or s3://... is given, it should not mangle it into a java.io.File.

A URIWidget interface in SciJava Common is straightforward; the trickier part is here in scijava-ui-swing, how to get all the same features as the current FileWidget, while minimizing copy-pasting of code. I would like to make an abstract SwingFileEtcWidget or some such, which still takes a generic parameter for data type, but has the common logic for the Browse button for picking files...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions