Ok!
*distributionMapIn:* a *with:* aNumber
"in this point the method is executed"
^a mondrian
painting: [ :view :model |* self halt*.
view shape rectangle withoutBorder.
view nodes: (model allModelNamespaces asSet sortedAs: [ :x :y | x
numberOfClasses > y numberOfClasses ]) forEach: [ :each |
view shape label.
view node: each name.
view node: each forIt: [
view interaction menu: #mooseMenu.
view shape rectangle size: 12;
if: [ :c | c numberOfMethods = 0 ] fillColor: Color green;
if: [ :c | c numberOf Methods >= 1 and: [ c numberOfBugs < 3 ] ]
fillColor: Color orange;
if: [ :c | c numberOfMethods >= 3 ] fillColor: Color red.
view nodes: ((each classes select: [ :class | class numberOf Methods >=
aNumber]) sortedAs: #numberOfMethods).
view gridLayout gapSize: 2 ].
view verticalLineLayout ].
view gridLayout ].
the first method parameter is a GLMTabulator, The block started by the
method "halt" is not executed, I no wonder why!
On 19 December 2011 10:15, Tudor Girba <tudor(a)tudorgirba.com> wrote:
Hi,
I am sorry, but I cannot understand what the issue is. Could you
provide some runnable code?
Cheers,
Doru
2011/12/19 Júlio Martins <jleandro.martins(a)gmail.com>om>:
Hi people!
I was with problems figure out the question "how to update the
distribution
map from a secundary wizard? So searching for the
solution i found a
another
problem: when a mondrian receive a message to
GLMTabulator and send a
message to method "painting:[:a :b| ... ]" , the execution flow doesn't
enter on block, where is all commands to build my new distribution map
view.
The code is like this sample:
GLMTabulator new mondrian
painting:[:a :b|
....
"here the flow doesn't enter, why?"
]
Before this block, the flow is normal and works, but have no commands to
execute
i need help of you.
________________________________
View this message in context: Glamour-Merilin-Mondrian
Sent from the Moose mailing list archive at
Nabble.com.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
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