GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Public Member Functions | |
def | __init__ |
def | IsIntermediate |
Checks if data item is intermediate. More... | |
def | SetIntermediate |
Set intermediate flag. More... | |
def | OnDraw |
def | GetLog |
Get logging info. More... | |
def | GetName |
Get list of names. More... | |
def | GetPrompt |
Get prompt. More... | |
def | SetPrompt |
Set prompt. More... | |
def | GetValue |
Get value. More... | |
def | SetValue |
Set value. More... | |
def | GetPropDialog |
Get properties dialog. More... | |
def | SetPropDialog |
Get properties dialog. More... | |
def | Update |
Update action. More... | |
Public Member Functions inherited from model.ModelObject | |
def | __init__ |
def | __del__ |
def | GetId |
Get id. More... | |
def | AddRelation |
Record new relation. More... | |
def | GetRelations |
Get list of relations. More... | |
def | IsEnabled |
Get True if action is enabled, otherwise False. More... | |
def | Enable |
Enable/disable action. More... | |
def | Update |
def | SetBlock |
Add object to the block (loop/condition) More... | |
def | UnSetBlock |
Remove object from the block (loop/consition) More... | |
def | GetBlock |
Get list of related ModelObject(s) which defines block (loop/condition) More... | |
def | GetBlockId |
Get list of related ids which defines block. More... | |
Data Fields | |
parent | |
value | |
prompt | |
intermediate | |
propWin | |
Data Fields inherited from model.ModelObject | |
id | |
rels | |
isEnabled | |
inBlock | |
def model.ModelData.__init__ | ( | self, | |
parent, | |||
x, | |||
y, | |||
value = '' , |
|||
prompt = '' , |
|||
width = None , |
|||
height = None |
|||
) |
def model.ModelData.GetLog | ( | self, | |
string = True |
|||
) |
Get logging info.
Definition at line 1133 of file model.py.
References model.ModelObject.GetRelations(), model.ModelData.prompt, gcmd.GException.value, model.ModelData.value, and frame.VariablePanel.value.
def model.ModelData.GetName | ( | self | ) |
Get list of names.
Definition at line 1143 of file model.py.
References model.ModelObject.GetRelations().
Referenced by dialogs.ItemCheckListCtrl.OnCheckItem(), widgets.SingleSymbolPanel.OnDoubleClick(), and widgets.SingleSymbolPanel.OnLeftDown().
def model.ModelData.GetPrompt | ( | self | ) |
def model.ModelData.GetPropDialog | ( | self | ) |
Get properties dialog.
Definition at line 1184 of file model.py.
References model.ModelAction.propWin, and model.ModelData.propWin.
def model.ModelData.GetValue | ( | self | ) |
Get value.
Definition at line 1162 of file model.py.
References gcmd.GException.value, model.ModelData.value, and frame.VariablePanel.value.
Referenced by statusbar.SbGoTo.OnGoTo(), statusbar.SbGoToGCP.OnGoToGCP(), statusbar.SbRender.OnToggleRender(), and statusbar.SbTextItem.Show().
def model.ModelData.IsIntermediate | ( | self | ) |
Checks if data item is intermediate.
Definition at line 1114 of file model.py.
References model.ModelData.intermediate.
def model.ModelData.OnDraw | ( | self, | |
dc | |||
) |
Definition at line 1122 of file model.py.
References model.ModelData.intermediate.
def model.ModelData.SetIntermediate | ( | self, | |
im | |||
) |
Set intermediate flag.
Definition at line 1118 of file model.py.
References model.ModelData.intermediate.
def model.ModelData.SetPrompt | ( | self, | |
prompt | |||
) |
Set prompt.
prompt |
Definition at line 1155 of file model.py.
References model.ModelData.prompt.
def model.ModelData.SetPropDialog | ( | self, | |
win | |||
) |
Get properties dialog.
Definition at line 1188 of file model.py.
References model.ModelObject.GetRelations(), model.ModelData.prompt, model.ModelAction.propWin, model.ModelData.propWin, gcmd.GException.value, model.ModelData.value, and frame.VariablePanel.value.
def model.ModelData.SetValue | ( | self, | |
value | |||
) |
Set value.
value |
Definition at line 1166 of file model.py.
References model.ModelData._setText(), model.ModelObject.GetRelations(), gcmd.GException.value, model.ModelData.value, and frame.VariablePanel.value.
Referenced by gselect.SubGroupSelect.Insert(), gselect.ColumnSelect.InsertColumns(), gselect.ColumnSelect.InsertTableColumns(), gselect.TableSelect.InsertTables(), statusbar.SbMapScale.OnChangeMapScale(), statusbar.SbGoTo.OnGoTo(), prompt.TextCtrlAutoComplete.OnKeyDown(), gselect.LayerSelect.Reset(), statusbar.SbGoTo.SetCenter(), statusbar.SbDisplayGeometry.Show(), statusbar.SbCoordinates.Show(), statusbar.SbRegionExtent.Show(), statusbar.SbRMSError.Show(), statusbar.SbMapScale.Update(), and gselect.ProjSelect.UpdateItems().
def model.ModelData.Update | ( | self | ) |
Update action.
Definition at line 1244 of file model.py.
References model.ModelAction._setBrush(), model.ModelData._setBrush(), model.ModelAction._setPen(), model.ModelData._setPen(), and model.ModelData._setText().
Referenced by wizard.DatumPage.OnDText(), colorrules.VectorColorTable.OnLayerSelection(), manager.GroupPage.OnMkGroup(), statusbar.SbManager.OnToggleStatus(), and mapwindow.BufferedWindow.TextBounds().
model.ModelData.intermediate |
Definition at line 1096 of file model.py.
Referenced by model.ModelData.IsIntermediate(), model.ModelData.OnDraw(), and model.ModelData.SetIntermediate().
model.ModelData.parent |
Definition at line 1093 of file model.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(), 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().
model.ModelData.prompt |
Definition at line 1095 of file model.py.
Referenced by model.ModelData.GetLog(), model.ModelData.GetPrompt(), model.ModelData.SetPrompt(), and model.ModelData.SetPropDialog().
model.ModelData.propWin |
Definition at line 1097 of file model.py.
Referenced by model.ModelData.GetPropDialog(), and model.ModelData.SetPropDialog().
model.ModelData.value |
Definition at line 1094 of file model.py.
Referenced by python.core.ScriptError.__str__(), gselect.TreeCtrlComboPopup.GetElementList(), model.ModelData.GetLog(), gselect.TreeCtrlComboPopup.GetStringValue(), model.ModelData.GetValue(), gselect.TreeCtrlComboPopup.OnKeyUp(), gselect.TreeCtrlComboPopup.OnLeftDown(), model.ModelData.SetPropDialog(), gselect.TreeCtrlComboPopup.SetStringValue(), and model.ModelData.SetValue().