[Pkg] The Trunk: EToys-nice.53.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jan 5 13:38:38 UTC 2010


Nicolas Cellier uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-nice.53.mcz

==================== Summary ====================

Name: EToys-nice.53
Author: nice
Time: 5 January 2010, 2:38:20 am
UUID: 0dc6e101-3b50-4a9f-976f-69574441e5c3
Ancestors: EToys-ar.52

use withAllSubclasses rather than class allSubInstances

=============== Diff against EToys-ar.52 ===============

Item was changed:
  ----- Method: Player class>>playersWithUnnecessarySubclasses (in category 'housekeeping') -----
  playersWithUnnecessarySubclasses
  	"Return a list of all players whose scripts dictionaries contain entries with nil selectors"
  	"Player playersWithUnnecessarySubclasses size"
+ 	^ self withAllSubclasses select:
- 	^ self class allSubInstances select:
  		[:p | p class isSystemDefined not and: [p scripts size == 0 and: [p instVarNames size == 0]]] !

Item was changed:
  ----- Method: EToyVocabulary class>>morphClassesDeclaringViewerAdditions (in category 'accessing') -----
  morphClassesDeclaringViewerAdditions
  	"Answer a list of actual morph classes that either implement #additionsToViewerCategories,
  	or that have methods that match #additionToViewerCategory* ."
  
+ 	^(Morph withAllSubclasses select: [ :ea | ea hasAdditionsToViewerCategories ])!
- 	^(Morph class allSubInstances select: [ :ea | ea hasAdditionsToViewerCategories ])
- !



More information about the Packages mailing list