was: Re: "About LyX" / "Tex Information" don't work without open buffer

On Fri, 18 Jan 2002, Angus Leeming wrote:
> As Allan says, the controllers are a great long vine of derived classes. He
> says things would be better if they were restructured as a flat tree with
> member variables performing all these tasks.

I don't remember saying anything about member variables but that's
only minor.  I'll give you the gist of what I'm thinking of for a
revision of the hierarchy.

Nearly every one of the tiny little classes that implements some tiny
*orthogonal* aspect of GUII is however dependent for whatever strange
reason upon other classes.  This has lead to the great big long vine
we have.  As I said, most of those classes are orthogonal and should
instead be mixed-in as late as possible.  Preferably directly into the
final instance of either the controller or the view.

What I dreamed up ages ago now (while I was scratching out a design
for the StateMachineEngine) was a template-based final instanciation
of most dialogs -- which turned out to be similar to the structures in
use now except the equivalent of the ControlDialog class would have
several more template parameters:  one for each orthogonal aspect of
connections, button-controller (StateMachineEngine) and anything else
that should be mixed-in.

I don't have the sketch with me now but I will endeavor to transfer
the design to computer (probably a Dia file and some text) sometime
soon.  It may have to wait until after the Linux conference though
(Feb. 6-9) as I have been neglecting my paid job and they want to see
some action for their money.

Allan. (ARRae)

P.S.  Oh dear,  I've just peaked at some of my work and discovered all
the Win2k images which get downloaded and installed on student
machines here were wiped out on Friday evening...  Lucky we backup.

Reply via email to