|
GRASS Programmer's Manual
6.5.svn(2012)-r51648
|
Public Member Functions | |
| def | __init__ |
| Parses GRASS commands when module is imported and used from Layer Manager. | |
| def | GetCmd |
| Get validated command. | |
| def | ParseCommand |
| Parse command. | |
| def | GetCommandInputMapParamKey |
| Get parameter key for input raster/vector map. | |
Data Fields | |
| parent | |
| show | |
| modal | |
| centreOnParent | |
| checkError | |
| grass_task | |
| cmd | |
| mf | |
| def forms.GUI.__init__ | ( | self, | |
parent = None, |
|||
show = True, |
|||
modal = False, |
|||
centreOnParent = False, |
|||
checkError = False |
|||
| ) |
| def forms.GUI.GetCmd | ( | self | ) |
Get validated command.
Definition at line 1810 of file forms.py.
References render.Layer.cmd, gcmd.Command.cmd, gcmd.CommandThread.cmd, dialogs.DecorationDialog.cmd, and forms.GUI.cmd.
Referenced by wxnviz.ImageTexture.Corresponds().
| def forms.GUI.GetCommandInputMapParamKey | ( | self, | |
| cmd | |||
| ) |
Get parameter key for input raster/vector map.
| cmd | module name |
Definition at line 1930 of file forms.py.
References python.core.decode(), and forms.GUI.grass_task.
| def forms.GUI.ParseCommand | ( | self, | |
| cmd, | |||
gmpath = None, |
|||
completed = None |
|||
| ) |
Parse command.
Note: cmd is given as list
If command is given with options, return validated cmd list:
Definition at line 1814 of file forms.py.
References gcmd.GetRealCmd(), forms.GUI.grass_task, and forms.GUI.show.
Definition at line 1802 of file forms.py.
Referenced by forms.GUI.GetCmd(), wxnviz.ImageTexture.GetCmd(), vclean.VectorCleaningFrame.OnCleaningRun(), vclean.VectorCleaningFrame.OnCopy(), vclean.VectorCleaningFrame.OnHelp(), mcalc_builder.MapCalcFrame.OnHelp(), and mcalc_builder.MapCalcFrame.OnMCalcRun().
Definition at line 1801 of file forms.py.
Referenced by forms.GUI.GetCommandInputMapParamKey(), and forms.GUI.ParseCommand().
Definition at line 1795 of file forms.py.
Referenced by wxdigit.VDigitError.Database(), wxdigit.VDigitError.DbExecute(), wxdigit.VDigitError.DbLink(), wxdigit.VDigitError.DeadLine(), wxdigit.VDigitError.Driver(), wxdigit.VDigitError.FeatureType(), colorrules.RulesPanel.LoadRules(), wxdigit.VDigitError.NoMap(), frame.PsMapBufferedWindow.OnLeftUp(), toolbars.VDigitToolbar.OnSelectMap(), gselect.GdalSelect.OnSetDsn(), toolbars.LMNvizToolbar.OnSettings(), toolbars.VDigitToolbar.OnSettings(), toolbars.BaseToolbar.OnTool(), toolbars.VDigitToolbar.OnZBulk(), wxdigit.VDigitError.ReadLine(), goutput.CmdThread.run(), goutput.GMConsole.RunCmd(), toolbars.VDigitToolbar.StopEditing(), colorrules.VectorColorTable.UpdateColorColumn(), mapwindow.BufferedWindow.UpdateMap(), and wxdigit.VDigitError.WriteLine().
Definition at line 1796 of file forms.py.
Referenced by forms.GUI.ParseCommand().