Ticket #26 (closed defect: fixed)
UI issues
Reported by: | smidl | Owned by: | mido |
---|---|---|---|
Priority: | major | Milestone: | Design issues |
Component: | bdm core | Version: | |
Keywords: | Cc: |
Description
UI is an additional object the purpose of which is to serve as constructor for a computational object.
It may have advantages:
- one UI can represent several objects - see UIpmsm
- the computational objects are not cluttered
- UI is able to construct offspring in place of parent classes
However, it also has disadvantages:
- UI do not follow inheritance structure of the computational classes
- implementation is somewhat separated from the class (maintenance issue)
- computational class can not be "saved" and "loaded" using this mechanism
Possible remedy:
- each computational object (bmdroot ) has methods _load_ and _save_ with Settings as arguments.
- object UI will remain only as a placeholder for loading from files. Perhaps the only necessary part will be UIREGISTER()
Change History
Note: See
TracTickets for help on using
tickets.