organizing ProjcetViewMorphs
Bob Arning
arning at charm.net
Sun Apr 8 16:42:18 UTC 2001
On Sun, 08 Apr 2001 18:07:30 +0200 Karl Ramberg <karl.ramberg at chello.se> wrote:
>My main project is now full of system windows with projectViewMorphs inside.
>I would like to organize them in a geeMail morph or another more
>convienient
>respatory for easy retrievel etc.
>A problem occured:
>I wanted just the project view morph not the system window so
>I pulled it out using the black halo.
>How do I now break all references from the former owner to the project
>view morph ?
Karl,
The simplest thing (done in advance <g>) is to set the preference #projectViewsInWindows OFF. Then, when you create a project, you will get a bare PVM. Given that you already have them in SystemWindows, the simplest course might be:
1. Modify Project>>okToChange so that it simply returns true. Just make the first statement
true ifTrue: [^true].
2. Remove each PVM from its SystemWindow using the black handle.
3. Delete each of the empty SystemWindows.
4. Restore Project>>okToChange to its original state.
Cheers,
Bob
More information about the Squeak-dev
mailing list
|