Issue 5778 in pharo: Updating selections in nautilus

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 5778 in pharo: Updating selections in nautilus

pharo
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=5778

Hi 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
Reply | Threaded
Open this post in threaded view
|

Re: Issue 5778 in pharo: Updating selections in nautilus

pharo
Updates:
        Status: Closed

Comment #1 on issue 5778 by [hidden email]: Updating selections  
in nautilus
http://code.google.com/p/pharo/issues/detail?id=5778

should use #updateClassView :)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker