Comment #26 on issue 4904 by
[hidden email]: MorphTreeMorph
improvements
http://code.google.com/p/pharo/issues/detail?id=4904It is working .. in the image but I release the code I got a DNU
MorphTreeModel setTraitComposition: {}.
telling to me that Array does not understand assertValidUser:
setTraitComposition: aTraitComposition
| oldComposition |
(self hasTraitComposition not and: [aTraitComposition isEmpty]) ifTrue:
[^self].
aTraitComposition assertValidUser: self.
oldComposition := self traitComposition.
self traitComposition: aTraitComposition.
self applyChangesOfNewTraitCompositionReplacing: oldComposition.
oldComposition traits do: [:each | each removeUser: self].
aTraitComposition traits do: [:each | each addUser: self]
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker