Thomas, no I don't have super call, because in subclasses I don't have initializeWidget method
2014-08-06 11:30 GMT+02:00 Mark Rizun <mri...@gmail.com>: > Yes it is invoked(I mean initializeWidgets in AbstractPanel) if I do: > RewriteTool new. > And yes, I needed more functionality for TextModel > > > 2014-08-06 11:26 GMT+02:00 Benjamin <benjamin.vanryseghem.ph...@gmail.com> > : > > On 06 Aug 2014, at 11:16, Mark Rizun <mri...@gmail.com> wrote: >> >> Actually in each:) >> I have a class AbstractPanel and there is: >> >> initializeWidgets >> self instantiateModels: #(#templateText #MyTextModel). >> templateText >> dragEnabled; >> text: self demoText; >> ast: (RBParser parseRewriteExpression: self demoText); >> aboutToStyle: true; >> model: self; >> menuOptionsSelector: #menuActions >> >> >> This should then be initialised :S >> Could you try to put a `self halt` here >> to see if you hit it when you initialise >> your main model? >> >> >> Ben >> >> P.S.: why did you need to subclass TextModel? >> Is there something missing you wanted to have? >> >> >