[Pkg] SystemEditor: SystemEditor-Squeak-mtf.159.mcz

squeak-dev-noreply at lists.squeakfoundation.org squeak-dev-noreply at lists.squeakfoundation.org
Wed Nov 19 21:16:13 UTC 2008


A new version of SystemEditor-Squeak was added to project SystemEditor:
http://www.squeaksource.com/SystemEditor/SystemEditor-Squeak-mtf.159.mcz

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

Name: SystemEditor-Squeak-mtf.159
Author: mtf
Time: 19 November 2008, 2:15:57 pm
UUID: 684f4246-1fa1-4b3f-b756-944f3710a00b
Ancestors: SystemEditor-Squeak-mtf.158

Noted how category and environment get set in edBuild

=============== Diff against SystemEditor-Squeak-mtf.158 ===============

Item was changed:
  ----- Method: ClassEditor>>edBuild (in category 'building') -----
  edBuild
  	| meta |
  	meta := self class edBuild.
  	product := subject ifNil: [meta new]
  				ifNotNil: [meta adoptInstance: subject from: subject class].
  	product
  		superclass: self edSuperclass;
  		setFormat: self format;
  		setName: self name;
  		setInstVarNames: self instVarNames;
  		classPoolFrom: self;
  		instVarNamed: #sharedPools put: self sharedPools;
  		organization: self organization edBuild.
+ 
+ 		"category and environment are not set here.
+ 		category will be lazily computed sometime after 
+ 			SystemEditor >> edRecatogorize runs. (see Class >> category)
+ 		environment can be left nil, since it has a default value"
+ 
+ 	"Create a temporary MethodDictionary to catch code written by
+ 	SyntaxError dialogs. MethodDictionaryEditor will overwrite this.
+ 	See MethodEditor>>compileFor:"
- 	"Create a temporary MethodDictionary to catch code written by SyntaxError dialogs. MethodDictionaryEditor will overwrite this. See MethodEditor>>compileFor:"
  	product methodDictionary: MethodDictionary new.
  	self decoratorsDo: [:ea | ea edBuildInto: product].
  
  	"Class methods should be compiled before instance methods,
  	since #compilerClass may be among the class methods.
  	Class methods should be compiled after installing class and pool variables"
  	product class methodDictionary: (self class methods buildFor: self class).
  	product methodDictionary: (self methods buildFor: self).
  	^product!



More information about the Packages mailing list