[squeak-dev] The Trunk: Tools-cao.390.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Dec 13 03:20:48 UTC 2011


David T. Lewis uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-cao.390.mcz

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

Name: Tools-cao.390
Author: cao
Time: 12 December 2011, 8:14:08.116 pm
UUID: 31b48f03-e4d7-4cde-beaa-3f6ca69a704a
Ancestors: Tools-ul.387

Once more with feeling!

These overrides should permit PackagePaneBrowser to work properly given FBS's changes to Browser.

This should close:

http://forum.world.st/Package-Pane-Browser-Broken-tp4178019p4178019.html

=============== Diff against Tools-ul.387 ===============

Item was added:
+ ----- Method: PackagePaneBrowser>>hasSystemCategorySelected (in category 'system category list') -----
+ hasSystemCategorySelected
+ 	^ super selectedSystemCategory notNil.!

Item was added:
+ ----- Method: PackagePaneBrowser>>selectedSystemCategory (in category 'system category list') -----
+ selectedSystemCategory
+ 	"Answer the name of the selected system category or nil."
+ 
+ 	self hasSystemCategorySelected
+ 		ifFalse: [^nil].
+ 	packageListIndex = 0
+ 		ifTrue: [^ super selectedSystemCategory ].
+ 	^ self package , '-' , super selectedSystemCategory!

Item was changed:
  ----- Method: PackagePaneBrowser>>selectedSystemCategoryName (in category 'system category list') -----
  selectedSystemCategoryName
  	"Answer the name of the selected system category or nil."
  
+ 	^ self selectedSystemCategory!
- 	self hasSystemCategorySelected
- 		ifFalse: [^nil].
- 	packageListIndex = 0
- 		ifTrue: [^ self selectedSystemCategory ].
- 	^ self package , '-' , self selectedSystemCategory!

Item was added:
+ ----- Method: PackagePaneBrowser>>systemCategoryListIndex (in category 'system category list') -----
+ systemCategoryListIndex
+ 	"Answer the index of the selected class category."
+ 
+ 	^ self systemCategoryList indexOf: super selectedSystemCategory.!




More information about the Squeak-dev mailing list