[Thuban-devel] Re: RfD: Support for layer specific resources

Bernhard Herzog bh at intevation.de
Thu Aug 19 20:18:04 CEST 2004


Martin Schulze <joey at infodrom.org> writes:

> layer_properties_dialogs should become a global variable, I guess?

Yes.

>> > And for Thuban.UI.classifier:
>> >
>> > add_properties_dialog(Layer, Classifier)
>> > add_properties_dialog(RasterLayer, Classifier)
>
> I'm not sure how I am supposed to implement this since
> classifier.py doesn't import mainwindow and I don't know if it
> would be a good idea to do so.

You could put that code into Thuban.UI.mainwindow which already depends
on Thuban.UI.classifier because it currently refers to the dialogs in
there directly.  That would keep the module dependencies the same as
now.

   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Skencil                                http://sketch.sourceforge.net/
Thuban                                  http://thuban.intevation.org/




More information about the Thuban-devel mailing list

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