/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/Model/map.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/Model/map.py

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

revision 991 by frank, Thu May 22 16:51:44 2003 UTC revision 1099 by jonathan, Fri May 30 06:28:02 2003 UTC
# Line 117  class Map(TitledObject, Modifiable): Line 117  class Map(TitledObject, Modifiable):
117          """Return true if the map has at least one shape layer"""          """Return true if the map has at least one shape layer"""
118          return len(self.layers) > 0          return len(self.layers) > 0
119    
120      def TopLayer(self, layer):      def MoveLayerToTop(self, layer):
121          """Put the layer on top of the layer stack.          """Put the layer on top of the layer stack.
122    
123          If the layer is already at the top do nothing. If the stacking          If the layer is already at the top do nothing. If the stacking
# Line 157  class Map(TitledObject, Modifiable): Line 157  class Map(TitledObject, Modifiable):
157              self.changed(MAP_LAYERS_CHANGED, self)              self.changed(MAP_LAYERS_CHANGED, self)
158              self.changed(MAP_STACKING_CHANGED, self)              self.changed(MAP_STACKING_CHANGED, self)
159    
160      def BottomLayer(self, layer):      def MoveLayerToBottom(self, layer):
161          """Put the layer at the bottom of the stack.          """Put the layer at the bottom of the stack.
162    
163          If the layer is already at the bottom do nothing. If the          If the layer is already at the bottom do nothing. If the

Legend:
Removed from v.991  
changed lines
  Added in v.1099

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26