[Cuis] Patterns
Juan Vuletich
juan at jvuletich.org
Wed Nov 18 08:00:41 CST 2015
Hi Dan,
On 11/18/2015 12:01 AM, Dan Norton wrote:
> The repo now contains two pairs of classes: coupled and decoupled. As it stands, the
> coupled example comes up the same, whether from the World->New morph... menu or from
> a Browser or Workspace.
>
> The decoupled example does not do this and I don't know what to have in the pattern to
> avoid the following pitfalls:
>
> follow the BrowserWindow class #openBrowser and get MNU: owner
> follow the ColorEditorPanel class #initializedInstance and get wrong color subMorphs
>
> - Dan
This is much nicer, thanks! To make the BrowserWindow style work, all
you have to do is to have #open answer the new instance (instead of the
class). WRT the ColorEditorPanel style, maybe Ken can comment, or a
little debugging is in order :)
Cheers,
Juan Vuletich
More information about the Cuis
mailing list