|
GRASS Programmer's Manual
6.4.2(2012)
|

Public Member Functions | |
| def | __init__ |
| def | __del__ |
| def | GetId |
| Get id. | |
| def | AddRelation |
| Record new relation. | |
| 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 | |
| id | |
| rels | |
| isEnabled | |
| inBlock | |
Definition at line 1614 of file gmodeler.py.
| def gui_modules.gmodeler.ModelObject.__init__ | ( | self, | |
id = -1 |
|||
| ) |
Definition at line 1615 of file gmodeler.py.
| def gui_modules.gmodeler.ModelObject.__del__ | ( | self | ) |
Definition at line 1622 of file gmodeler.py.
| def gui_modules.gmodeler.ModelObject.AddRelation | ( | self, | |
| rel | |||
| ) |
Record new relation.
Reimplemented in gui_modules.gmodeler.ModelItem.
Definition at line 1629 of file gmodeler.py.
| def gui_modules.gmodeler.ModelObject.Enable | ( | self, | |
enabled = True |
|||
| ) |
Enable/disable action.
Reimplemented in gui_modules.gmodeler.ModelLoop.
Definition at line 1657 of file gmodeler.py.
References gui_modules.gmodeler.ModelObject.isEnabled, gui_modules.dbm.VirtualAttributeList.Update(), gui_modules.gmodeler.Model.Update(), gui_modules.gmodeler.ModelObject.Update(), gui_modules.dbm.TableListCtrl.Update(), and gui_modules.dbm.LayerListCtrl.Update().
| def gui_modules.gmodeler.ModelObject.GetBlock | ( | self | ) |
Get list of related ModelObject(s) which defines block (loop/condition)
Definition at line 1683 of file gmodeler.py.
References gui_modules.gmodeler.ModelObject.inBlock.
| def gui_modules.gmodeler.ModelObject.GetBlockId | ( | self | ) |
Get list of related ids which defines block.
Definition at line 1691 of file gmodeler.py.
References gui_modules.gmodeler.ModelObject.inBlock.
| def gui_modules.gmodeler.ModelObject.GetId | ( | self | ) |
Get id.
Definition at line 1625 of file gmodeler.py.
Referenced by gui_modules.nviz_tools.NvizToolWindow.PostViewEvent().
| def gui_modules.gmodeler.ModelObject.GetRelations | ( | self, | |
fdir = None |
|||
| ) |
Get list of relations.
| fdir | True for 'from' |
Definition at line 1634 of file gmodeler.py.
References gui_modules.gmodeler.ModelObject.rels.
Referenced by gui_modules.gmodeler.ModelAction.FindData(), gui_modules.gmodeler.ModelData.GetLog(), gui_modules.gmodeler.ModelData.GetName(), gui_modules.gmodeler.ModelData.SetPropDialog(), and gui_modules.gmodeler.ModelData.SetValue().
| def gui_modules.gmodeler.ModelObject.IsEnabled | ( | self | ) |
Get True if action is enabled, otherwise False.
Definition at line 1653 of file gmodeler.py.
References gui_modules.gmodeler.ModelObject.isEnabled.
| def gui_modules.gmodeler.ModelObject.SetBlock | ( | self, | |
| item | |||
| ) |
Add object to the block (loop/condition)
| item | reference to ModelLoop or ModelCondition which defines loops/condition |
Definition at line 1665 of file gmodeler.py.
| def gui_modules.gmodeler.ModelObject.UnSetBlock | ( | self, | |
| item | |||
| ) |
Remove object from the block (loop/consition)
| item | reference to ModelLoop or ModelCondition which defines loops/codition |
Definition at line 1674 of file gmodeler.py.
References gui_modules.gmodeler.ModelObject.inBlock.
| def gui_modules.gmodeler.ModelObject.Update | ( | self | ) |
Reimplemented in gui_modules.gmodeler.ModelLoop, and gui_modules.gmodeler.ModelData.
Definition at line 1662 of file gmodeler.py.
Referenced by gui_modules.gmodeler.ModelObject.Enable(), gui_modules.gcpmanager.GroupPage.GetOptData(), gui_modules.location_wizard.DatumPage.OnDText(), gui_modules.colorrules.ColorTable.OnSelectionInput(), gui_modules.nviz_tools.NvizToolWindow.OnViewChangedSpin(), gui_modules.mapdisp_window.BufferedWindow.TextBounds(), gui_modules.nviz_tools.NvizToolWindow.UpdatePage(), and gui_modules.nviz_tools.NvizToolWindow.UpdateSettings().
| gui_modules.gmodeler.ModelObject.id |
Reimplemented in gui_modules.gmodeler.ModelItem, and gui_modules.gmodeler.ModelAction.
Definition at line 1616 of file gmodeler.py.
Referenced by gui_modules.gmodeler.ModelLoop.__init__(), 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.gmodeler.ModelItem.SetText(), 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.ModelObject.inBlock |
Definition at line 1620 of file gmodeler.py.
Referenced by gui_modules.gmodeler.ModelObject.GetBlock(), gui_modules.gmodeler.ModelObject.GetBlockId(), and gui_modules.gmodeler.ModelObject.UnSetBlock().
| gui_modules.gmodeler.ModelObject.isEnabled |
Definition at line 1619 of file gmodeler.py.
Referenced by gui_modules.gmodeler.ModelLoop.__init__(), gui_modules.gmodeler.ModelObject.Enable(), and gui_modules.gmodeler.ModelObject.IsEnabled().
| gui_modules.gmodeler.ModelObject.rels |
Reimplemented in gui_modules.gmodeler.ModelItem.
Definition at line 1617 of file gmodeler.py.
Referenced by gui_modules.gmodeler.ModelObject.GetRelations().