/[thuban]/branches/WIP-pyshapelib-bramz/Extensions/wms/properties.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Extensions/wms/properties.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2180 by joey, Thu Apr 15 16:14:51 2004 UTC revision 2440 by joey, Thu Dec 9 10:39:43 2004 UTC
# Line 72  class wmsProperties(NonModalNonParentDia Line 72  class wmsProperties(NonModalNonParentDia
72      Representation for the WMS properties dialog      Representation for the WMS properties dialog
73      """      """
74    
75      def __init__(self, parent, name, layer):      def __init__(self, parent, name, layer, *args, **kw):
76          """          """
77          Build the properties dialog          Build the properties dialog
78          """          """
# Line 190  class wmsProperties(NonModalNonParentDia Line 190  class wmsProperties(NonModalNonParentDia
190          Handle the 'Cancel button pressed' event          Handle the 'Cancel button pressed' event
191          """          """
192          self.Close()          self.Close()
   
   
 def OpenWMSProperties(parent, layer):  
     """  
     Open or raise the WMS properties dialog  
     """  
     name = "layer_properties_" + layer.url  
     dialog = parent.get_open_dialog(name)  
   
     if dialog is None:  
         dialog = wmsProperties(parent, name, layer)  
         parent.add_dialog(name, dialog)  
         dialog.Show(True)  
     else:  
         dialog.Raise()  

Legend:
Removed from v.2180  
changed lines
  Added in v.2440

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26