[squeak-dev] The Trunk: Protocols-dtl.23.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Feb 27 16:55:00 UTC 2010


David T. Lewis uploaded a new version of Protocols to project The Trunk:
http://source.squeak.org/trunk/Protocols-dtl.23.mcz

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

Name: Protocols-dtl.23
Author: dtl
Time: 27 February 2010, 11:53:57.863 am
UUID: e8ae33b7-0e5b-44f6-82f9-e8d2ef9255a2
Ancestors: Protocols-cmm.22

Add Project>>currentVocabulary and remove MVC/Morphic dependencies from Object>>currentVocabulary.

=============== Diff against Protocols-cmm.22 ===============

Item was changed:
  ----- Method: Object>>currentVocabulary (in category '*Protocols') -----
  currentVocabulary
  	"Answer the currently-prevailing default vocabulary."
  
+ 	^ Project current currentVocabulary
+ !
- 	^ Smalltalk isMorphic ifTrue:
- 			[ActiveWorld currentVocabulary]
- 		ifFalse:
- 			[Vocabulary fullVocabulary]!

Item was added:
+ ----- Method: Project>>currentVocabulary (in category '*Protocols') -----
+ currentVocabulary
+ 	"Answer the currently-prevailing default vocabulary."
+ 
+ 	self subclassResponsibility!

Item was added:
+ ----- Method: MorphicProject>>currentVocabulary (in category '*Protocols') -----
+ currentVocabulary
+ 	"Answer the currently-prevailing default vocabulary."
+ 
+ 	^ ActiveWorld currentVocabulary
+ !

Item was added:
+ ----- Method: MVCProject>>currentVocabulary (in category '*Protocols') -----
+ currentVocabulary
+ 	"Answer the currently-prevailing default vocabulary."
+ 
+ 	^ Vocabulary fullVocabulary!




More information about the Squeak-dev mailing list