Yes it is invoked(I mean initializeWidgets in AbstractPanel) if I do: RewriteTool new.And yes, I needed more functionality for TextModel2014-08-06 11:26 GMT+02:00 Benjamin <[hidden email]>:On 06 Aug 2014, at 11:16, Mark Rizun <[hidden email]> wrote:This should then be initialised :SActually in each:)I have a class AbstractPanel and there is:initializeWidgetsself instantiateModels: #(#templateText #MyTextModel).templateTextdragEnabled;text: self demoText;ast: (RBParser parseRewriteExpression: self demoText);aboutToStyle: true;model: self;menuOptionsSelector: #menuActionsCould you try to put a `self halt` hereto see if you hit it when you initialiseyour main model?
BenP.S.: why did you need to subclass TextModel?Is there something missing you wanted to have?
Free forum by Nabble | Edit this page |