[Kernow] TransformControllerImpl depends on TabbedView (logic vs/ UI)
Brought to you by:
ajwelch
From: Florent G. <dar...@ya...> - 2007-08-08 17:11:36
|
Hi As I understand now, launching Kernow calls the main() method in Kernow, which instanciates a TransformControllerImpl object, and that is this object that instanciates the GUI and set a few GUI values. I think this is a weird dependence from the logic layer to the graphic layer. And that prevents to use the controller with another GUI class (why not?) Don't you think that it should be better to put the code that is now in the TransformControllerImpl ctor within the main() method in Kernow? Or maybe better, within a main() method in TabbedView, called by Kernow.main() as a convenient way to launch Kernow. Regards, --drkm _____________________________________________________________________________ Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail |