I wonder where from these children are accessed? No part of the code should directly access the children of a structure, but instead walk over them using a visitor. Of course, I might have missed something ...
fair enough.Note that subclasses of PRStructure might override #childrenDecorationClass to use a completely different decoration for children.
I think that you forgot the command actions #doExecute etc. see aboveand an access interface defined for children... #addChild: #childAt: #childAt:ifAbsent: #childAt:ifPresent: #childrenIncludes: #removeChild:I don't see why this would help. As far as I see none of my code uses any of this functionality directly.
Fair enough, I thought as much, but when I found PRStructure-#addChild: it indicated to me that you had thought of having a child-accessing interface of sorts, and so I simply completed the set to provide the functionality actually used in the image.It is not the way Pier is designed. Compared to SmallWiki I wanted to factor out all the behavior related to children to a different (pluggable) object