Re: [Pharo-project] How to port this code to 1.3
On Oct 31, 2011, at 3:48 AM, Sean P. DeNigris wrote:
Old code: Smalltalk isMorphic ifTrue: [self buildMorphicViewOn: aSyntaxError. CurrentProjectRefactoring newProcessIfUI: Processor activeProcess. ^ Processor activeProcess suspend].
I started with: self buildViewOn: aSyntaxError. "Using Polymorph?" UIManager default spawnNewProcessIfThisIsUI: Processor activeProcess. ^ Processor activeProcess suspend.
But #spawnNewProcessIfThisIsUI: is only defined for MorphicUIManager, which delegates to Project (I didn't know Project was even still in the image). It seems the UIManager hierarchy needs to be cleaned, but I don't understand it well enough. Some questions: * why does Project still exist? It doesn't seem very useful...
It is supposed to be removed. There is even a tracker entry: http://code.google.com/p/pharo/issues/detail?id=1817 Marcus -- Marcus Denker -- http://marcusdenker.de
Marcus Denker-4 wrote:
It is supposed to be removed. There is even a tracker entry: http://code.google.com/p/pharo/issues/detail?id=1817
Thanks, that issue addresses everything I mentioned. I'll wait until the dust settles before porting this snippet. Sean -- View this message in context: http://forum.world.st/How-to-port-this-code-to-1-3-tp3954648p3956358.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
participants (2)
-
Marcus Denker -
Sean P. DeNigris