Login  Register

Re: Question on Spec

Posted by Mark Rizun on Aug 06, 2014; 9:16am
URL: https://forum.world.st/Question-on-Spec-tp4771958p4771963.html

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

MyTextModel is a subclass of TextModel



2014-08-06 11:13 GMT+02:00 Benjamin <[hidden email]>:
On 06 Aug 2014, at 11:04, Mark Rizun <[hidden email]> wrote:

initializeWidgets
self
instantiateModels: #(#sourcePanel #SourcePanel #resultPanel #ResultPanel #matchPanel #MatchPanel #transformPanel #TransformPanel #acceptButton #ButtonModel).

Sounds correct so far :)

In wich panel is your TextModel?
Can you show me your `initializeWidgets` method for this panel?


Ben