Hi Alex,

The order of parameters for the block given to painting: seems to be different between roassal and roassal2.
I fixed it but now I get another error: "MessageNotUnderstood: RTView>>nodes:"

Cheers,
Andrei


On Wed, Apr 9, 2014 at 10:08 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
Hi!

A student is trying Glamour, and he apparently have found a bug with the integration of Roassal2.

MCHttpRepository
location: 'http://smalltalkhub.com/mc/ajperalt/testPBE2/main'
user: ''
password: ‘'

"PBE2CodeNavigator new open” will produce the bug.

Replacing 
-=-=-=-=-=-=-=-=-=-=-=-=
constructor roassal2
when: [ :packageName | self organizer includesPackageNamed: packageName ];
painting: [ :view :packageName | 
view nodes: (self organizer packageNamed: packageName) definedClasses.
view edgesFrom: #superclass.
view treeLayout ];
title: ‘Hierarchy'
-=-=-=-=-=-=-=-=-=-=-=-=
by 
-=-=-=-=-=-=-=-=-=-=-=-=
constructor roassal
when: [ :packageName | self organizer includesPackageNamed: packageName ];
painting: [ :view :packageName | 
view nodes: (self organizer packageNamed: packageName) definedClasses.
view edgesFrom: #superclass.
view treeLayout ];
title: ‘Hierarchy'
-=-=-=-=-=-=-=-=-=-=-=-=

just replacing #roassal2 by #roassal makes the example work.

Any idea what’s going on?

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev