so at least fix the script :)
Stef
On May 25, 2011, at 6:25 PM, Alexandre Bergel wrote:
the original problem was that I did not get anything. Because the error apparently was trapped.
Yes. Errors are trapped during an interaction. This is the only relatively reliable solution I have found to not get a recursive debugger opening loop.
Alexandre
On May 25, 2011, at 3:34 PM, Tudor Girba wrote:
The issue is that Set allSubclasses does not return a tree. Use Set withAllSubclasses, and you will get a tree.
Doru
On 25 May 2011, at 15:28, Stéphane Ducasse wrote:
apparently the problem is due to the fact that there is a second dot in the script
On May 25, 2011, at 3:25 PM, Stéphane Ducasse wrote:
view shape rectangle size: 20. view interaction action: #inspect. view interaction whenEnteringUpdateNode: [:node | view interaction forwarder. view nodes: (Set allSubclasses). view interaction forwarder. view edgesFrom: #superclass. .
^^^^
view treeLayout ] whenLeavingUpdateNode: [:node | ] withLayoutUpdate: true.
view nodes: (1 to: 3)
I removed it when I copied and pasted the mail.
when I try this example I do not see the tree representing subclasses.
Stef _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"What we can governs what we wish."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev