FogBugz (Case [Issue]20551) Spec - Improve way how Spec presenters are linked with domain models

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FogBugz (Case [Issue]20551) Spec - Improve way how Spec presenters are linked with domain models

Pharo Issue Tracker
FogBugz Notification
avatar
Pavel Krivanek resolved Case 20551: Improve way how Spec presenters are linked with domain models and assigned it to Pavel Krivanek:
Bug in Project:  Spec: 1. Pharo Image  •  You are subscribed to this case
https://github.com/pharo-project/pharo/pull/374/

general changes
- Object and NewValueHolder implement isValueHolder
- Object Model implements isSpecCompatibleModel
- Model implements valueChanged to be compatible with NewValueHolder

Spec changes:
- the owner can be known before initializeWidgets
- the presenters can be initialized with #on: which specifies linked model. By default it is ignored and does only standard initialization. Subclasses should know how to store the model
- Introduce ComposablePresenterWithModel that stores the model in a value holder and subscribes to its announcer. If the model is subclass of Model or already a ValueHolder, they are used directly (with the new subscription)
- tests
Priority Priority: 3 – Must Fix Status Status: Resolved (Fix Review Needed)
Assigned To Assigned to: Pavel Krivanek Milestone Milestone: Pharo7.0

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want FogBugz notifications anymore? Update your preferences.

FogBugz

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker