gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] gmEditArea


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] gmEditArea
Date: Fri, 23 May 2003 10:49:53 +0200
User-agent: Mutt/1.3.22.1i

> I suppose you could do it the Delphi way, i.e. have a data aware text ,
> combo box, check box, which connects to a field in the table. 
> And manually go through the gmEditArea and change the instantiations of
> the components. To save time for future changes, why not have a globally
> accessible wxComponent Factory object(s) on the guiBroker , and use it's
> create(TextCtrl, ComboBox, CheckBox)  method to instantiate the gui
> components, then if you'd prefer to put in  object domain model aware
> components instead of 2-tier data-aware components, it would be easy
> just to substitute the factory(ies) in the guiBroker at config time.
> 
> 
> Another way is to design your own java style Model View components,
> where the model is a defined (empty) interface that allows different
> implementations , and the textComponent has an interface which can be
> called by the model. Then put the model implementation instantiations
> as entries into the "Model" broker at config time. 

Well, if you DO it and document it so a dumb-founded doctor
like me can understand and extend it, fine. And no, I don't
need proof-of-concepts. I understand that it works in
principle.

I'm surely open to elegant solutions but I need to see them
put to work.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

[Prev in Thread] Current Thread [Next in Thread]