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 <Benjamin.VanRyseghem.Pharo@gmail.com>:
On 06 Aug 2014, at 11:04, Mark Rizun <mrizun@gmail.com> 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