Status: Accepted
Owner:
[hidden email]
CC:
[hidden email]
Labels: Type-Nautilus Difficulty-Easy
New issue 5778 by
[hidden email]: Updating selections in nautilus
http://code.google.com/p/pharo/issues/detail?id=5778Hi Ben,
I was creating a plugin in Nautilus, and I wanted to update the method
selection with a method that is not from the selected class, so I'm doing
something like:
model ui selectedClass: method realClass.
model ui selectedCategory: method category.
model ui selectedMethod: method method.
That nearly works, but the class lists selections do not get updated. so I
tried doing:
model ui selectedClass: method realClass.
model ui selectedCategory: method category.
model ui selectedMethod: method method.
model ui update.
And all the lists selection updated but the class one. I had to add this
to make it work:
model ui changed: #getList2.
shouldn't #update be in charge of that?
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker