GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
manager.LayerBook Class Reference

Manage layers (add, delete, modify) More...

Inheritance diagram for manager.LayerBook:
Collaboration diagram for manager.LayerBook:

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...
 

Data Fields

 parent
 
 parentDialog
 
 mapDBInfo
 
 listOfDrivers
 
 defaultConnect
 
 defaultTables
 
 defaultColumns
 
 addPanel
 
 addLayerWidgets
 
 tableWidgets
 
 deletePanel
 
 deleteLayer
 
 deleteTable
 
 modifyPanel
 
 modifyLayerWidgets
 

Detailed Description

Manage layers (add, delete, modify)

Definition at line 2358 of file dbmgr/manager.py.

Constructor & Destructor Documentation

def manager.LayerBook.__init__ (   self,
  parent,
  id,
  parentDialog,
  style = wx.BK_DEFAULT 
)

Definition at line 2362 of file dbmgr/manager.py.

Member Function Documentation

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 
)
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.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 
)
def manager.LayerBook.OnSetDefault (   self,
  event 
)
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().

Field Documentation

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
manager.LayerBook.modifyPanel

Definition at line 2677 of file dbmgr/manager.py.

Referenced by manager.LayerBook.OnChangeLayer().

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().


The documentation for this class was generated from the following file: