GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Manage layers (add, delete, modify) More...
Public Member Functions | |
def | __init__ |
def | OnDriverChanged |
Driver selection changed, update list of tables. More... | |
def | OnDatabaseChanged |
Database selection changed, update list of tables. More... | |
def | OnTableChanged |
Table name changed, update list of columns. More... | |
def | OnSetDefault |
Set default values. More... | |
def | OnCreateTable |
Create new table (name and key column given) More... | |
def | OnAddLayer |
Add new layer to vector map. More... | |
def | OnDeleteLayer |
Delete layer. More... | |
def | OnChangeLayer |
Layer number of layer to be deleted is changed. More... | |
def | OnModifyLayer |
Modify layer connection settings. More... | |
Manage layers (add, delete, modify)
Definition at line 2358 of file dbmgr/manager.py.
def manager.LayerBook.__init__ | ( | self, | |
parent, | |||
id, | |||
parentDialog, | |||
style = wx.BK_DEFAULT |
|||
) |
Definition at line 2362 of file dbmgr/manager.py.
def manager.LayerBook.OnAddLayer | ( | self, | |
event | |||
) |
Add new layer to vector map.
Definition at line 2927 of file dbmgr/manager.py.
References manager.LayerBook.addLayerWidgets, widgets.GetValue(), dialogs.DisplayAttributesDialog.mapDBInfo, manager.VirtualAttributeList.mapDBInfo, manager.AttributeManager.mapDBInfo, manager.LayerBook.mapDBInfo, manager.LayerBook.modifyLayerWidgets, and gcmd.RunCommand().
def manager.LayerBook.OnChangeLayer | ( | self, | |
event | |||
) |
Layer number of layer to be deleted is changed.
Definition at line 3026 of file dbmgr/manager.py.
References manager.LayerBook._getColumns(), manager.LayerBook.modifyLayerWidgets, manager.LayerBook.modifyPanel, and widgets.SetValue().
def manager.LayerBook.OnCreateTable | ( | self, | |
event | |||
) |
Create new table (name and key column given)
Definition at line 2886 of file dbmgr/manager.py.
References manager.LayerBook._getColumns(), manager.LayerBook._getTables(), manager.LayerBook.addLayerWidgets, widgets.GetValue(), gcmd.RunCommand(), and manager.LayerBook.tableWidgets.
def manager.LayerBook.OnDatabaseChanged | ( | self, | |
event | |||
) |
Database selection changed, update list of tables.
Definition at line 2845 of file dbmgr/manager.py.
def manager.LayerBook.OnDeleteLayer | ( | self, | |
event | |||
) |
Delete layer.
Definition at line 2980 of file dbmgr/manager.py.
References manager.LayerBook._getTables(), manager.LayerBook.addLayerWidgets, widgets.GetValue(), dialogs.DisplayAttributesDialog.mapDBInfo, manager.VirtualAttributeList.mapDBInfo, manager.AttributeManager.mapDBInfo, manager.LayerBook.mapDBInfo, manager.LayerBook.modifyLayerWidgets, and gcmd.RunCommand().
def manager.LayerBook.OnDriverChanged | ( | self, | |
event | |||
) |
Driver selection changed, update list of tables.
Definition at line 2828 of file dbmgr/manager.py.
References manager.LayerBook._getTables(), manager.LayerBook.addLayerWidgets, and widgets.GetValue().
def manager.LayerBook.OnModifyLayer | ( | self, | |
event | |||
) |
Modify layer connection settings.
Definition at line 3052 of file dbmgr/manager.py.
References widgets.GetValue(), dialogs.DisplayAttributesDialog.mapDBInfo, manager.VirtualAttributeList.mapDBInfo, manager.AttributeManager.mapDBInfo, manager.LayerBook.mapDBInfo, manager.LayerBook.modifyLayerWidgets, and gcmd.RunCommand().
def manager.LayerBook.OnSetDefault | ( | self, | |
event | |||
) |
Set default values.
Definition at line 2862 of file dbmgr/manager.py.
References manager.LayerBook._getColumns(), manager.LayerBook._getTables(), manager.LayerBook.addLayerWidgets, and manager.LayerBook.defaultConnect.
def manager.LayerBook.OnTableChanged | ( | self, | |
event | |||
) |
Table name changed, update list of columns.
Definition at line 2849 of file dbmgr/manager.py.
References manager.LayerBook._getColumns(), manager.LayerBook.addLayerWidgets, and widgets.GetValue().
manager.LayerBook.addLayerWidgets |
Definition at line 2432 of file dbmgr/manager.py.
Referenced by manager.LayerBook.OnAddLayer(), manager.LayerBook.OnCreateTable(), manager.LayerBook.OnDeleteLayer(), manager.LayerBook.OnDriverChanged(), manager.LayerBook.OnSetDefault(), and manager.LayerBook.OnTableChanged().
manager.LayerBook.addPanel |
Definition at line 2415 of file dbmgr/manager.py.
manager.LayerBook.defaultColumns |
Definition at line 2403 of file dbmgr/manager.py.
manager.LayerBook.defaultConnect |
Definition at line 2384 of file dbmgr/manager.py.
Referenced by manager.LayerBook.OnSetDefault().
manager.LayerBook.defaultTables |
Definition at line 2400 of file dbmgr/manager.py.
manager.LayerBook.deleteLayer |
Definition at line 2615 of file dbmgr/manager.py.
manager.LayerBook.deletePanel |
Definition at line 2609 of file dbmgr/manager.py.
manager.LayerBook.deleteTable |
Definition at line 2626 of file dbmgr/manager.py.
manager.LayerBook.listOfDrivers |
Definition at line 2377 of file dbmgr/manager.py.
manager.LayerBook.mapDBInfo |
Definition at line 2367 of file dbmgr/manager.py.
Referenced by manager.LayerBook.OnAddLayer(), manager.LayerBook.OnDeleteLayer(), and manager.LayerBook.OnModifyLayer().
manager.LayerBook.modifyLayerWidgets |
Definition at line 2683 of file dbmgr/manager.py.
Referenced by manager.LayerBook.OnAddLayer(), manager.LayerBook.OnChangeLayer(), manager.LayerBook.OnDeleteLayer(), and manager.LayerBook.OnModifyLayer().
manager.LayerBook.modifyPanel |
Definition at line 2677 of file dbmgr/manager.py.
Referenced by manager.LayerBook.OnChangeLayer().
manager.LayerBook.parent |
Definition at line 2365 of file dbmgr/manager.py.
Referenced by model.ModelLoop.__init__(), wxdigit.VDigitError.Database(), wxdigit.VDigitError.DbExecute(), wxdigit.VDigitError.DbLink(), wxdigit.VDigitError.DeadLine(), wxdigit.VDigitError.Driver(), wxdigit.VDigitError.FeatureType(), colorrules.RulesPanel.LoadRules(), wxdigit.VDigitError.NoMap(), forms.TaskFrame.OnCancel(), forms.TaskFrame.OnDone(), frame.ModelFrame.OnHelp(), mapwindow.GLWindow.OnLeftUp(), mapwindow.BufferedWindow.OnLeftUp(), frame.PsMapBufferedWindow.OnLeftUp(), dialogs.DecorationDialog.OnOptions(), goutput.GMConsole.OnOutputSave(), forms.TaskFrame.OnRun(), toolbars.VDigitToolbar.OnSelectMap(), gselect.GdalSelect.OnSetDsn(), toolbars.LMNvizToolbar.OnSettings(), toolbars.VDigitToolbar.OnSettings(), toolbars.BaseToolbar.OnTool(), forms.CmdPanel.OnUpdateSelection(), toolbars.VDigitToolbar.OnZBulk(), wxdigit.VDigitError.ReadLine(), goutput.CmdThread.run(), forms.UpdateQThread.run(), goutput.GMConsole.RunCmd(), toolbars.VDigitToolbar.StopEditing(), colorrules.VectorColorTable.UpdateColorColumn(), mapwindow.BufferedWindow.UpdateMap(), and wxdigit.VDigitError.WriteLine().
manager.LayerBook.parentDialog |
Definition at line 2366 of file dbmgr/manager.py.
manager.LayerBook.tableWidgets |
Definition at line 2488 of file dbmgr/manager.py.
Referenced by manager.LayerBook.OnCreateTable().