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