Re: Question on Spec
Posted by
Benjamin Van Ryseghem (Pharo) on
Aug 06, 2014; 9:26am
URL: https://forum.world.st/Question-on-Spec-tp4771958p4771967.html
On 06 Aug 2014, at 11:16, Mark Rizun <
[hidden email]> 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?