/[thuban]/trunk/thuban/Thuban/Model/layer.py
ViewVC logotype

Diff of /trunk/thuban/Thuban/Model/layer.py

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

revision 529 by jonathan, Wed Mar 12 19:55:24 2003 UTC revision 558 by jonathan, Wed Mar 26 11:05:20 2003 UTC
# Line 16  from Thuban import _ Line 16  from Thuban import _
16  import shapelib, shptree  import shapelib, shptree
17    
18  from messages import LAYER_PROJECTION_CHANGED, LAYER_LEGEND_CHANGED, \  from messages import LAYER_PROJECTION_CHANGED, LAYER_LEGEND_CHANGED, \
19       LAYER_VISIBILITY_CHANGED       LAYER_VISIBILITY_CHANGED, LAYER_CHANGED
20    
21  from color import Color  from color import Color
22    
# Line 295  class Layer(BaseLayer): Line 295  class Layer(BaseLayer):
295                  self.__setClassLock = False                  self.__setClassLock = False
296                  raise ValueError                  raise ValueError
297    
298          self.changed(LAYER_LEGEND_CHANGED, self)          self.changed(LAYER_CHANGED, self)
299    
300          self.__setClassLock = False          self.__setClassLock = False
301    
302      def ClassChanged(self):      def ClassChanged(self):
303          """Called from the classification object when it has changed."""          """Called from the classification object when it has changed."""
304          self.changed(LAYER_LEGEND_CHANGED, self)          self.changed(LAYER_CHANGED, self)
305    
306      def TreeInfo(self):      def TreeInfo(self):
307          items = []          items = []

Legend:
Removed from v.529  
changed lines
  Added in v.558

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26