Ticket #1564 (closed feature: moved)

Opened 7 years ago

Support for parameter validation

Reported by: curtis Owned by: curtis
Priority: major Milestone: imagej2-b10-compatibility
Component: Plugin Framework Version:
Severity: non-issue Keywords:
Cc: Blocked By:


Many RIA frameworks make it easy to validate a form's parameter values before executing some business logic. For example, if a string must conform to a certain regex, the UI can present a message to the user (ideally integrated with the form itself) informing them of the invalid value, and asking for a correction, rather than simply failing during execution.

We would like to provide similar functionality for ImageJ commands. One approach would be to have an optional validation callback for each parameter that returns an object describing any validation errors that occurred (error message, type of error, etc.), which the UI-specific input harvester can then present to the user.

Change History

comment:1 Changed 6 years ago by curtis

  • Status changed from new to closed
  • Resolution set to moved
Note: See TracTickets for help on using tickets.