619 |
dialog.Raise() |
dialog.Raise() |
620 |
|
|
621 |
def LayerJoinTable(self): |
def LayerJoinTable(self): |
622 |
print "LayerJoinTable: Not implemented." |
layer = self.canvas.SelectedLayer() |
623 |
|
if layer is not None: |
624 |
|
dlg = JoinDialog(self, _("Join Layer with Table"), |
625 |
|
self.application.session, |
626 |
|
layer = layer) |
627 |
|
dlg.ShowModal() |
628 |
|
|
629 |
def LayerUnjoinTable(self): |
def LayerUnjoinTable(self): |
630 |
print "LayerUnjoinTable: Not implemented." |
print "LayerUnjoinTable: Not implemented." |
936 |
|
|
937 |
# Table menu |
# Table menu |
938 |
_method_command("table_open", _("&Open..."), "TableOpen") |
_method_command("table_open", _("&Open..."), "TableOpen") |
939 |
_method_command("table_close", _("&Close"), "TableClose") |
_method_command("table_close", _("&Close"), "TableClose", |
940 |
|
sensitive = lambda context: bool(context.session.UnreferencedTables())) |
941 |
_method_command("table_show", _("&Show"), "TableShow") |
_method_command("table_show", _("&Show"), "TableShow") |
942 |
_method_command("table_join", _("&Join..."), "TableJoin") |
_method_command("table_join", _("&Join..."), "TableJoin") |
943 |
|
|