Skip to content

ObjectWidget should have "None" option for non-required inputs #391

@imagejan

Description

@imagejan

When writing something like:

#@ Img input1
#@ Img (required=false) input2

println input2

... we should have a "None" option for input2, otherwise the required=false doesn't make sense as the UI in fact makes it "required". Changes are likely required to go into AbstractInputHarvester, as well as maybe into scijava-ui-swing.

See also ilastik/ilastik4ij#7 (comment).

/cc @k-dominik

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