GRASS Programmer's Manual
6.4.2(2012)
|
Public Member Functions | |
def | __init__ |
Abstract class for loops and conditions. | |
def | GetText |
Get loop text. | |
def | GetItems |
Get items (id) | |
def | SetId |
Set loop id. | |
def | SetText |
Set loop text (condition) | |
def | GetLog |
Get log info. | |
def | AddRelation |
Record relation. | |
def | Clear |
Clear object, remove rels. | |
![]() | |
def | __init__ |
def | __del__ |
def | GetId |
Get id. | |
def | GetRelations |
Get list of relations. | |
def | IsEnabled |
Get True if action is enabled, otherwise False. | |
def | Enable |
Enable/disable action. | |
def | Update |
def | SetBlock |
Add object to the block (loop/condition) | |
def | UnSetBlock |
Remove object from the block (loop/consition) | |
def | GetBlock |
Get list of related ModelObject(s) which defines block (loop/condition) | |
def | GetBlockId |
Get list of related ids which defines block. |
Data Fields | |
parent | |
text | |
items | |
id | |
rels | |
![]() | |
id | |
rels | |
isEnabled | |
inBlock |
Definition at line 4144 of file gmodeler.py.
def gui_modules.gmodeler.ModelItem.__init__ | ( | self, | |
parent, | |||
x, | |||
y, | |||
id = -1 , |
|||
width = None , |
|||
height = None , |
|||
text = '' , |
|||
items = [] |
|||
) |
Abstract class for loops and conditions.
Reimplemented in gui_modules.gmodeler.ModelLoop.
Definition at line 4145 of file gmodeler.py.
def gui_modules.gmodeler.ModelItem.AddRelation | ( | self, | |
rel | |||
) |
Record relation.
Reimplemented from gui_modules.gmodeler.ModelObject.
Definition at line 4177 of file gmodeler.py.
def gui_modules.gmodeler.ModelItem.Clear | ( | self | ) |
Clear object, remove rels.
Definition at line 4181 of file gmodeler.py.
def gui_modules.gmodeler.ModelItem.GetItems | ( | self | ) |
Get items (id)
Definition at line 4156 of file gmodeler.py.
References gui_modules.gmodeler.Model.items, gui_modules.gmodeler.WriteModelFile.items, and gui_modules.gmodeler.ModelItem.items.
Referenced by gui_modules.prompt.TextCtrlAutoComplete.OnCommandSelect(), gui_modules.prompt.TextCtrlAutoComplete.OnKeyDown(), and gui_modules.gselect.LayerSelect.Reset().
def gui_modules.gmodeler.ModelItem.GetLog | ( | self | ) |
Get log info.
Definition at line 4170 of file gmodeler.py.
References gui_modules.gmodeler.ModelItem.text.
def gui_modules.gmodeler.ModelItem.GetText | ( | self | ) |
Get loop text.
Definition at line 4152 of file gmodeler.py.
References gui_modules.gmodeler.ModelItem.text.
def gui_modules.gmodeler.ModelItem.SetId | ( | self, | |
id | |||
) |
Set loop id.
Definition at line 4160 of file gmodeler.py.
def gui_modules.gmodeler.ModelItem.SetText | ( | self, | |
cond | |||
) |
Set loop text (condition)
Definition at line 4164 of file gmodeler.py.
References gui_modules.gmodeler.ModelObject.id, and gui_modules.gmodeler.ModelItem.text.
gui_modules.gmodeler.ModelItem.id |
Definition at line 4162 of file gmodeler.py.
Referenced by gui_modules.psmap_dialogs.MapFramePanel.getId(), gui_modules.psmap_dialogs.RasterPanel.getId(), gui_modules.psmap_dialogs.VectorPanel.getId(), gui_modules.psmap_dialogs.MapDialog.OnApply(), gui_modules.psmap_dialogs.RasterDialog.OnApply(), gui_modules.psmap_dialogs.MainVectorDialog.OnApply(), gui_modules.psmap_dialogs.RasterPanel.update(), gui_modules.psmap_dialogs.VectorPanel.update(), gui_modules.psmap_dialogs.MapinfoDialog.update(), gui_modules.psmap_dialogs.ScalebarDialog.update(), and gui_modules.psmap_dialogs.TextDialog.update().
gui_modules.gmodeler.ModelItem.items |
Definition at line 4150 of file gmodeler.py.
Referenced by gui_modules.gmodeler.ModelLoop.Enable(), gui_modules.gmodeler.ModelItem.GetItems(), and gui_modules.gmodeler.ModelCondition.SetItems().
gui_modules.gmodeler.ModelItem.parent |
Definition at line 4148 of file gmodeler.py.
Referenced by gui_modules.gmodeler.ModelLoop.__init__(), gui_modules.wxvdigit.VDigitError.Database(), gui_modules.wxvdigit.VDigitError.DbExecute(), gui_modules.wxvdigit.VDigitError.DbLink(), gui_modules.wxvdigit.VDigitError.DeadLine(), gui_modules.wxvdigit.VDigitError.Driver(), gui_modules.wxvdigit.VDigitError.FeatureType(), gui_modules.wxvdigit.VDigitError.NoMap(), gui_modules.menuform.mainFrame.OnCancel(), gui_modules.menuform.mainFrame.OnDone(), wxgui.GMFrame.OnPsMap(), gui_modules.menuform.mainFrame.OnRun(), gui_modules.toolbars.VDigitToolbar.OnSelectMap(), gui_modules.gselect.GdalSelect.OnSetDsn(), gui_modules.toolbars.VDigitToolbar.OnSettings(), gui_modules.toolbars.NvizToolbar.OnSettings(), gui_modules.toolbars.AbstractToolbar.OnTool(), gui_modules.menuform.cmdPanel.OnUpdateSelection(), gui_modules.toolbars.VDigitToolbar.OnZBulk(), gui_modules.wxvdigit.VDigitError.ReadLine(), gui_modules.goutput.CmdThread.run(), gui_modules.menuform.UpdateQThread.run(), gui_modules.goutput.GMConsole.RunCmd(), gui_modules.toolbars.VDigitToolbar.StopEditing(), gui_modules.mapdisp_window.BufferedWindow.UpdateMap(), and gui_modules.wxvdigit.VDigitError.WriteLine().
gui_modules.gmodeler.ModelItem.rels |
Definition at line 4183 of file gmodeler.py.
gui_modules.gmodeler.ModelItem.text |
Definition at line 4149 of file gmodeler.py.
Referenced by gui_modules.gmodeler.ModelItem.GetLog(), gui_modules.gmodeler.ModelItem.GetText(), and gui_modules.gmodeler.ModelItem.SetText().