On 31 Mar 2014, at 18:40, Sergi Reyner <sergi.reyner@gmail.com> wrote:2014-03-31 22:36 GMT+01:00 Benjamin <benjamin.vanryseghem.pharo@gmail.com>:
On 31 Mar 2014, at 23:34, Sergi Reyner <sergi.reyner@gmail.com> wrote:
�Yes, MNU MAContainerMorph>>asSpecAdapter#asSpecAdapter is implemented on Morph oOBut MAContainerMorph does not inherit from Morph :)Object -> Model -> MADescriptionModel -> MAContainerMorphno matter, this:ProductFamily new asMagritteMorph morph asSpecAdaptershould produce the right result (no image opened now, so it can be slightly different) :)
defaultSpec<spec: #default>^ SpecLayout composednewColumn: [ :column |�columnadd: #familyList;add: #familyEditor ];yourself
initializeWidgetsfamilyList := self newList.familyEditor := ProductFamily new asMagritteMorph morph asSpecAdapter.