NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #543 (closed defect: fixed)

Opened 2011-05-25T10:11:23-05:00

Last modified 2012-03-05T14:46:12-06:00

Add check for final @Parameter field

Reported by: gharris Owned by: curtis
Priority: minor Milestone: biweekly-2011: Jun-06 to Jun-17
Component: Plugin Framework Version:
Severity: major Keywords:
Cc: Blocked By:
Blocking: #1054

Description

If a @Parameter annotated field is final, an input widget is presented and the user gets the impression that the field value has changed... this in not the case.

Need to add a check for Field.getModifiers() includes final, and do not add the widget for such fields.

Change History

comment:1 Changed 2011-05-25T10:36:25-05:00 by gharris

Or, should the ModuleItem.resolved be used?

comment:2 Changed 2011-05-25T13:49:05-05:00 by curtis

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in cecdd1ae4071a7339a7085e369a95c37653b0fad, using resolved as suggested.

comment:3 Changed 2012-02-24T16:52:09-06:00 by curtis

  • Blocking 11 added

comment:4 Changed 2012-03-05T14:46:12-06:00 by curtis

  • Blocking 1054 added; 11 removed