For me it seems weird thet applyScript (refresh) destroys the view and
creates it again. Wouldn't it make more sense to expose the view on model
and then instead of refresh use cleanAll (RTView>>cleanAll)?
Or maybe we should just make a new Model/Adapter for our needs and leave
the Roassal's alone. :)
Peter
On Sat, Feb 28, 2015 at 7:23 PM, Johan Fabry <jfabry(a)dcc.uchile.cl> wrote:
Yes, I use it for LRP.
I instantiate a RoassalModel and then set the script, as below. Sometimes
I redraw the entire visualization by sending the refresh message to the
RoassalModel instance. I don’t do anything else, really (no idea what event
and lastEvent is about).
treeview := self instantiate: RoassalModel.
treeview script: [:view :canvas | self buildTreeOnView: view ].
On Feb 28, 2015, at 14:05, Peter Uhnák <i.uhnak(a)gmail.com> wrote:
Hi,
apparently we broke MorphicRoassalAdapter when cleaning Spec, I attached a
fix.
However my question is - does anybody (except us) actually use the
Roassal2Spec package? Because otherwise we could clean it a bit. For
example I'm not sure of the use case of script:/lastEvent:.
Peter
<Roassal2Spec-PeterUhnak.6.mcz>
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
---> Save our in-boxes!
http://emailcharter.org <---
Johan Fabry -
http://pleiad.cl/~jfabry
PLEIAD lab - Computer Science Department (DCC) - University of Chile
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev