GRASS Programmer's Manual  6.4.2(2012)
gui_modules.gdialogs.NewVectorDialog Class Reference
Inheritance diagram for gui_modules.gdialogs.NewVectorDialog:
Collaboration diagram for gui_modules.gdialogs.NewVectorDialog:

Public Member Functions

def __init__
 Dialog for creating new vector map.
def OnMapName
 Name for vector map layer given.
def OnTable
def GetName
 Get name of vector map to be created.
def GetKey
 Get key column name.
def IsChecked
 Get dialog properties.

Data Fields

 element
 table
 keycol
 addbox

Detailed Description

Definition at line 219 of file gdialogs.py.


Constructor & Destructor Documentation

def gui_modules.gdialogs.NewVectorDialog.__init__ (   self,
  parent,
  id = wx.ID_ANY,
  title = _('Create new vector map'),
  disableAdd = False,
  disableTable = False,
  style = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER,
  kwargs 
)

Dialog for creating new vector map.

Parameters:
parentparent window
idwindow id
titlewindow title
disableAdddisable 'add layer' checkbox
disableTabledisable 'create table' checkbox
stylewindow style
kwargsother argumentes for ElementDialog
Returns:
dialog instance

Reimplemented from gui_modules.gdialogs.ElementDialog.

Definition at line 220 of file gdialogs.py.


Member Function Documentation

Get key column name.

Definition at line 314 of file gdialogs.py.

Get name of vector map to be created.

Parameters:
fullTrue to get fully qualified name

Definition at line 300 of file gdialogs.py.

References gui_modules.gdialogs.ElementDialog.GetElement(), and gui_modules.render.Layer.GetElement().

Referenced by gui_modules.gmodeler.ItemCheckListCtrl.OnCheckItem(), and gui_modules.gmodeler.ItemListCtrl.Populate().

Get dialog properties.

Parameters:
keywindow key ('add', 'table')
Returns:
True/False
None on error

Definition at line 318 of file gdialogs.py.

Referenced by gui_modules.ghelp.CheckListExtension.GetExtensions(), gui_modules.gmodeler.ItemCheckListCtrl.GetItems(), and gui_modules.gdialogs.LayersList.GetLayers().

Name for vector map layer given.

Definition at line 267 of file gdialogs.py.

References gui_modules.gdialogs.ElementDialog.OnElement(), and gui_modules.gdialogs.LocationDialog.OnElement().


Field Documentation


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines