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

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

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

revision 1072 by bh, Tue May 27 16:47:48 2003 UTC revision 1542 by bh, Fri Aug 1 16:13:49 2003 UTC
# Line 5  Line 5 
5  # This program is free software under the GPL (>=v2)  # This program is free software under the GPL (>=v2)
6  # Read the file COPYING coming with Thuban for details.  # Read the file COPYING coming with Thuban for details.
7    
8    """The layer and table join dialog"""
9    
10    __version__ = "$Revision$"
11    # $Source$
12    # $Id$
13    
14    
15  import sys  import sys
16  from wxPython.wx import *  from wxPython.wx import *
17    
# Line 64  class JoinDialog(wxDialog): Line 71  class JoinDialog(wxDialog):
71    
72          for t in session.Tables():          for t in session.Tables():
73              if self.choice_left_table is not None:              if self.choice_left_table is not None:
74                  self.choice_left_table.Append(t.transient_table().Title(), t)                  self.choice_left_table.Append(t.Title(), t)
75    
76              # If there is no choice_left_table then self.left_table will              # If there is no choice_left_table then self.left_table will
77              # be the keft table so we can simply leave it out on the              # be the keft table so we can simply leave it out on the
78              # right side.              # right side.
79              if t is not self.left_table:              if t is not self.left_table:
80                  self.choice_right_table.Append(t.transient_table().Title(), t)                  self.choice_right_table.Append(t.Title(), t)
81    
82          if self.choice_left_table is None:          if self.choice_left_table is None:
83              for col in self.left_table.Columns():              for col in self.left_table.Columns():

Legend:
Removed from v.1072  
changed lines
  Added in v.1542

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26