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=6971In 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