Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#51 closed defect (fixed)

Clean up ParameterEditor class

Reported by: Kevin Milner Owned by: Peter Powers
Priority: minor Milestone: OpenSHA 1.2
Component: commons Version:
Keywords: Cc:

Description

Currently ParameterEditor? is really complicated, and it's difficult to figure out which methods need to be overridden when creating a new editor.

It should be updated (or replaced), probably as an abstract class.

Change History (2)

comment:1 Changed 13 years ago by Kevin Milner

Resolution: fixed
Status: newclosed

New parameter editor added to trunk/src/org/opensha/commons/param/editor/NewParameterEditor.java (merged to trunk in [7389]). So far, only ConstrainedIntegerParameter? has been switched over to use it. It has been implemented as an abstract class that I think is much easier to understand (and less kludgy).

comment:2 Changed 13 years ago by Kevin Milner

Milestone: OpenSHA 1.2
Note: See TracTickets for help on using tickets.