On 15 déc. 2009, at 22:09, Tudor Girba wrote:
Hmm, this looks like a strange bug related to #allowNil. If you add even the simplest #when: not nil condition (e.g., when: [:cw | cw notNil]), it works fine. I cannot figure out what the problem is though.
Meanwhile, a generic condition such as when: [:one :two | {one. two} anySatisfy: #notNil]; will do the trick
It seems like if all values are nil, something crashes in the transmission or elsewhere and not restarted
I will try to create a test case from it.
Cheers, Doru
On 15 Dec 2009, at 18:15, Johan Fabry wrote:
Sotty, I forgot to detail that I already tried that variant. It does not make a difference :-(
On 15 Dec 2009, at 13:54, Simon Denier wrote:
Please try something like: browser sendToOutside: #selCheight from: #cheight->#selection.
but normally your version should work
On 15 déc. 2009, at 15:36, Johan Fabry wrote:
Hi Doru,
below is the code, thanks!
propertiesSelector2 | browser mprops cprops aprops |
cprops := {'Classes LOC'. 'Num Methods'. 'Num Attributes' . 'Num JoinPoints' . 'Num Aspects'}. aprops := {'Aspects LOC' . 'Num Pointcuts' . 'Num Advice' . 'Num JoinPoints'}. mprops := {'Methods LOC' . 'Num JoinPoints' . 'Num Aspects'}. browser := GLMTabulator new. browser column: [: c | c row: #cheight; row: #aheight; row: #mheight]; column: [: c | c row: #cwidth; row: #awidth; row: #mwidth]. browser showOn: #cheight; using: [ browser tree title: 'Classes Height'; display: cprops.]. browser showOn: #cwidth; using: [ browser tree title: 'Classes Width'; display: cprops]. browser showOn: #aheight; using: [ browser tree title: 'Aspects Height'; display: aprops.]. browser showOn: #awidth; using: [ browser tree title: 'Aspects Width'; display: aprops.]. browser showOn: #mheight; using: [ browser tree title: 'Methods Height'; display: mprops.]. browser showOn: #mwidth; using: [ browser tree title: 'Methods Width'; display: mprops.]. browser sendToOutside: #selCheight from: #cheight. browser sendToOutside: #selCwidth from: #cwidth. browser sendToOutside: #selAheight from: #aheight. browser sendToOutside: #selAwidth from: #awidth. browser sendToOutside: #selMheight from: #mheight. browser sendToOutside: #selMwidth from: #mwidth.
^ browser
-- Johan Fabry jfabry@dcc.uchile.cl - http://dcc.uchile.cl/~jfabry PLEIAD Lab - Computer Science Department (DCC) - University of Chile
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Presenting is storytelling."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Simon