[Cuis-dev] Add abstract method SystemWindow>>#buildMorphicWindow
Juan Vuletich
juan at jvuletich.org
Tue Apr 7 11:39:53 PDT 2026
Hi Facu,
I don't like adding a send to #subclassResponsibility in the abstract
class in this case. #subclassResponsibility is a strong assertion from
the system that all subclasses should reimplement that method. It is a
message directed to any developer adding a new subclass. And in this
case, that's not true. There are subclasses that don't need that method
at all. It is true, #open:label: will fail. That only means that
#open:label: is not appropriate for them. Adding the call to
#subclassResponsibility would not change this fact.
Hope this makes sense to you.
Thanks,
On 2026-04-02 4:14 PM, Facundo Javier Gelatti via Cuis-dev wrote:
> The #buildMorphicWindow message is sent from SystemWindow class >>
> #open:label:, and the method is on many window classes on the system,
> so I thought it'd be nice to have the abstract method in SystemWindow.
> I attach a (very small) change that adds that method.
>
> I also noticed this method is missing in TranscriptWindow,
> WorkspaceWindow and PreDebugWindow, so the #open:label: message is
> failing on those classes. I'm not sure what we should do about them.
>
> Cheers!
> Facu
>
--
Juan Vuletich
www.cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
More information about the Cuis-dev
mailing list