GRASS Programmer's Manual  6.5.svn(2012)-r51648
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
dialogs.ImportDialog Class Reference

Dialog for bulk import of various data (base class) More...

Inheritance diagram for dialogs.ImportDialog:

Public Member Functions

def __init__
def doLayout
 Do layout.
def OnCancel
 Close dialog.
def OnRun
 Import/Link data (each layes as separate vector map)
def OnCmdDialog
 Show command dialog.
def AddLayers
 Add imported/linked layers into layer tree.
def OnAbort
 Abort running import.

Data Fields

 parent
 importType
 options
 commandId
 panel
 layerBox
 list
 optionBox
 overwrite
 add
 btn_cancel
 btn_run
 btn_cmd

Detailed Description

Dialog for bulk import of various data (base class)

Definition at line 1446 of file gui_core/dialogs.py.


Constructor & Destructor Documentation

def dialogs.ImportDialog.__init__ (   self,
  parent,
  itype,
  id = wx.ID_ANY,
  title = _("Multiple import"),
  style = wx.DEFAULT_DIALOG_STYLE | wx.RESIZE_BORDER 
)

Definition at line 1450 of file gui_core/dialogs.py.


Member Function Documentation

def dialogs.ImportDialog.AddLayers (   self,
  returncode,
  cmd = None 
)

Add imported/linked layers into layer tree.

Definition at line 1610 of file gui_core/dialogs.py.

Referenced by dialogs.DxfImportDialog.OnRun().

def dialogs.ImportDialog.OnAbort (   self,
  event 
)

Abort running import.

Todo:
not yet implemented

Definition at line 1644 of file gui_core/dialogs.py.

Referenced by forms.TaskFrame.OnKeyUp().

def dialogs.ImportDialog.OnCmdDialog (   self,
  event 
)

Show command dialog.

Reimplemented in dialogs.DxfImportDialog, and dialogs.GdalImportDialog.

Definition at line 1606 of file gui_core/dialogs.py.

def dialogs.ImportDialog.OnRun (   self,
  event 
)

Import/Link data (each layes as separate vector map)

Reimplemented in dialogs.DxfImportDialog, and dialogs.GdalImportDialog.

Definition at line 1602 of file gui_core/dialogs.py.

Referenced by ghelp.MenuTreeWindow.OnItemActivated(), and forms.TaskFrame.OnKeyUp().


Field Documentation


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