It makes sense yes
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
On Apr 15, 2014, at 3:08 AM, Tudor Girba <tudor(a)tudorgirba.com> wrote:
Hi,
To smoothen the difference between builders and view, I added the following method:
RTView>>view
"This method is meant to be used polymorphically with builders.
Thus, regardless of whether we get a raw view or a builder, we
can uniformly obtain the view"
^ self
This is particularly useful in situations like:
self act: [ :roassal | RTZoomOutMove on: roassal view view ]
icon: GLMUIThemeExtraIcons glamorousZoomOut
entitled: 'Zoom out'
Here roassal is either a view or a builder.
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev