Ticket #1564 (closed feature: moved)
Opened 2012-11-06T10:59:18-06:00
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: | ||
Blocking: |
Description
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 2014-05-01T05:45:30-05:00 by curtis
- Status changed from new to closed
- Resolution set to moved
Migrated to https://github.com/scijava/scijava-common/issues/47