/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/selection.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/selection.py

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

trunk/thuban/Thuban/UI/selection.py revision 535 by bh, Fri Mar 14 20:42:18 2003 UTC branches/WIP-pyshapelib-bramz/Thuban/UI/selection.py revision 2734 by bramz, Thu Mar 1 12:42:59 2007 UTC
# Line 53  class Selection(Publisher): Line 53  class Selection(Publisher):
53      def issue_messages(self, issue_layer, issue_shape):      def issue_messages(self, issue_layer, issue_shape):
54          """Internal: Issue SHAPES_SELECTED and LAYER_SELECTED messages          """Internal: Issue SHAPES_SELECTED and LAYER_SELECTED messages
55    
56          If the issue_layer argument is true, ussue a LAYER_SELECTED          If the issue_layer argument is true, issue a LAYER_SELECTED
57          message. If issue_shape is true issue a SHAPES_SELECTED message.          message. If issue_shape is true issue a SHAPES_SELECTED message.
58          """          """
59          if issue_layer:          if issue_layer:
# Line 91  class Selection(Publisher): Line 91  class Selection(Publisher):
91          """          """
92          return self.shapes          return self.shapes
93    
94        def HasSelectedShapes(self):
95            """Return true iff at least one shape is selected."""
96            return len(self.shapes) > 0
97    
98      def SelectLayer(self, layer):      def SelectLayer(self, layer):
99          """Select the given layer.          """Select the given layer.
100    

Legend:
Removed from v.535  
changed lines
  Added in v.2734

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26