[Pharo-project] Question about the design of the setting browser
March 14, 2011
8:44 p.m.
Hi alain I was reading the settingbrowser code and I have a question: why the settingbrowser inherits from MorphTreeModel. Why it does not inherits from Object or Model and has different widgets that may or not inherits from MorphTreeModel. To me it fits better the composition. Stef
March 15, 2011
7:32 a.m.
Le 14/03/2011 21:44, Stéphane Ducasse a écrit :
Hi alain
I was reading the settingbrowser code and I have a question: why the settingbrowser inherits from MorphTreeModel.
Why it does not inherits from Object or Model and has different widgets that may or not inherits from MorphTreeModel. no particular reason behind To me it fits better the composition. yes, it seems better for re-composition but with the price of more classes.
Alain
Stef
5617
Age (days ago)
5618
Last active (days ago)
1 comments
2 participants
participants (2)
-
Alain Plantec -
Stéphane Ducasse