2011/12/9 Serge Stinckwich <serge.stinckwich(a)gmail.com>om>:
Hi all,
i'm not sure this is a good idea to have to following method on ESDataObject
printOn:aStream
self model printOn:aStream
I built an instance of ESAxis in order to understand how it works:
|axis|
axis := ESAxis new.
axis values: #(1 2 3 4).
And when i inspect : axis values i was really disturbed because it
looks like an array of integer but in fact this is an array of
ESDataObject ...
I propose to remove printOn: method or to rewrite like:
printOn:aStream
aStream
nextPutAll: 'an ';
print: self class;
nextPutAll: '(';
print: self model;
nextPutAll: ')'
Maybe not a great idea, because it breaks the axis drawing ...
--
Serge Stinckwich
UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam
Matsuno Laboratory, Kyoto University, Japan (until 12/2011)
http://www.mechatronics.me.kyoto-u.ac.jp/
Every DSL ends up being Smalltalk
http://doesnotunderstand.org/