Issue 6971 in pharo: Inspector numberOfFixedFields cleanup

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

Issue 6971 in pharo: Inspector numberOfFixedFields cleanup

pharo
Status: Accepted
Owner: [hidden email]
Labels: Type-Cleanup Milestone-2.0

New issue 6971 by [hidden email]: Inspector numberOfFixedFields  
cleanup
http://code.google.com/p/pharo/issues/detail?id=6971

In most subclass of an inspector we want to add fields to the inspector, so  
we can show the previous fields from superclass and the new ones. The  
fields from superclass are at the number of "2 + object class  
instSize", so in most inspector subclass we had either  
"selectionIndex - 2 <= object class instSize" or  
"selectionIndex <= object class instSize + 2".

I want to have :
Inspector>>numberOfFixedFields
        ^2 + object class instSize
and to use it instead of wrtin this all the time.

-------------------
Slice is in the inbox


_______________________________________________
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 6971 in pharo: Inspector numberOfFixedFields cleanup

pharo
Updates:
        Status: FixReviewNeeded

Comment #1 on issue 6971 by [hidden email]: Inspector  
numberOfFixedFields cleanup
http://code.google.com/p/pharo/issues/detail?id=6971#c1

(No comment was entered for this change.)


_______________________________________________
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 6971 in pharo: Inspector numberOfFixedFields cleanup

pharo
Updates:
        Status: Integrated

Comment #2 on issue 6971 by [hidden email]: Inspector  
numberOfFixedFields cleanup
http://code.google.com/p/pharo/issues/detail?id=6971

in 2.0 398


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