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

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

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

revision 1068 by bh, Tue May 27 15:02:37 2003 UTC revision 1268 by bh, Fri Jun 20 16:10:12 2003 UTC
# Line 237  class Session(TitledObject, Modifiable): Line 237  class Session(TitledObject, Modifiable):
237          else:          else:
238              transient_table = table              transient_table = table
239          self.tables.append(transient_table)          self.tables.append(transient_table)
240            self.changed()
241          return transient_table          return transient_table
242    
243      def RemoveTable(self, table):      def RemoveTable(self, table):
# Line 255  class Session(TitledObject, Modifiable): Line 256  class Session(TitledObject, Modifiable):
256          self.tables = tables          self.tables = tables
257          self.changed(TABLE_REMOVED, table)          self.changed(TABLE_REMOVED, table)
258    
259        def DataContainers(self):
260            """Return all data containers, i.e. shapestores and tables"""
261            return self.tables + self.ShapeStores()
262    
263      def OpenTableFile(self, filename):      def OpenTableFile(self, filename):
264          """Open the table file filename and return the table object.          """Open the table file filename and return the table object.
265    

Legend:
Removed from v.1068  
changed lines
  Added in v.1268

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26