Ticket #1952 (new defect)
Opened 2013-07-15T13:35:28-05:00
Last modified 2013-07-24T09:46:58-05:00
Remove "Preview" checkbox parameters
Reported by: | curtis | Owned by: | bdezonia |
---|---|---|---|
Priority: | major | Milestone: | imagej2-b10-compatibility |
Component: | Analysis Plugins | Version: | 2.0.0-beta-7 |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #1968 |
Description
The preview checkbox parameters cause problems for external consumers (e.g., KNIP, as discussed on imagej-devel). In many cases they cannot really implement previews, and there is no explicit way to detect that a given boolean parameter is only there for the purposes of a preview. We discussed labeling them with a different visibility, but the checkboxes are still hacky, and ultimately unnecessary.
Better would be to remove them all, and always do a preview when parameters change. If the preview is too slow, that is a bug which should be addressed on a command-by-command basis. There are many ways of simplifying (or even skipping) a preview computation in cases where there is e.g. too much data to crunch.