[Thuban-devel] Re: popup menu

Frank Koormann frank.koormann at intevation.de
Tue Apr 20 16:50:04 CEST 2004


* Jan-Oliver Wagner <jan at intevation.de> [040418 22:45]:
> On Sun, Apr 18, 2004 at 03:36:51PM +0200, Frank Koormann wrote:
> > Maybe the best would be to separate the functions currently deeply
> > sunken in Thuban/UI/mainwindow.py from there and document them. The entire 
> > concept is not that clear on the first sight, this seems to me being one of 
> > the reasons why the legend implements it in a different way. 
> 
> so, you would be in favour of putting e.g. the layer sequence
> commands into the LegendTree class?

This is a question regarding the general source structure of Thuban.
Currently a lot of methods are placed in the mainwindow.py - and 
all of this is quite unbalanced: E.g. on one hand the sequence to 
deepcopy a layer is placed in mainwindow. The functionality to join two
tables is implemented in a separate file (strange enough still under 
Thuban/UI). 

So, yes, I support to discuss a better separation. This could mean that
all layer related stuff goes into the legend - since this is the central
element for layer management. But I am still not decided if generating the main 
window's layer menu dynamically from all features a legend module provides 
goes too far or not.

Regards,

   Frank     

-- 
Frank Koormann                             <frank.koormann at intevation.de>
 Professional Service around Free Software       (http://intevation.net/)
 FreeGIS Project                                 (http://freegis.org/)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20040420/f91704a4/attachment.bin


More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)