GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Public Member Functions | |
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 | |
id | |
rels | |
isEnabled | |
inBlock | |
def model.ModelObject.AddRelation | ( | self, | |
rel | |||
) |
def model.ModelObject.Enable | ( | self, | |
enabled = True |
|||
) |
Enable/disable action.
Definition at line 799 of file model.py.
References model.ModelObject.isEnabled, manager.VirtualAttributeList.Update(), model.Model.Update(), model.ModelObject.Update(), frame.VariablePanel.Update(), frame.ItemPanel.Update(), manager.TableListCtrl.Update(), and manager.LayerListCtrl.Update().
def model.ModelObject.GetBlock | ( | self | ) |
Get list of related ModelObject(s) which defines block (loop/condition)
Definition at line 825 of file model.py.
References model.ModelObject.inBlock.
def model.ModelObject.GetBlockId | ( | self | ) |
Get list of related ids which defines block.
Definition at line 833 of file model.py.
References model.ModelObject.inBlock.
def model.ModelObject.GetId | ( | self | ) |
Get id.
Definition at line 767 of file model.py.
Referenced by tools.NvizToolWindow.UpdateScrolling().
def model.ModelObject.GetRelations | ( | self, | |
fdir = None |
|||
) |
Get list of relations.
fdir | True for 'from' |
Definition at line 776 of file model.py.
References model.ModelObject.rels.
Referenced by model.ModelAction.FindData(), model.ModelData.GetLog(), model.ModelData.GetName(), model.ModelData.SetPropDialog(), and model.ModelData.SetValue().
def model.ModelObject.IsEnabled | ( | self | ) |
Get True if action is enabled, otherwise False.
Definition at line 795 of file model.py.
References model.ModelObject.isEnabled.
def model.ModelObject.SetBlock | ( | self, | |
item | |||
) |
Add object to the block (loop/condition)
item | reference to ModelLoop or ModelCondition which defines loops/condition |
def model.ModelObject.UnSetBlock | ( | self, | |
item | |||
) |
Remove object from the block (loop/consition)
item | reference to ModelLoop or ModelCondition which defines loops/codition |
Definition at line 816 of file model.py.
References model.ModelObject.inBlock.
def model.ModelObject.Update | ( | self | ) |
Definition at line 804 of file model.py.
Referenced by model.ModelObject.Enable(), wizard.DatumPage.OnDText(), colorrules.VectorColorTable.OnLayerSelection(), manager.GroupPage.OnMkGroup(), statusbar.SbManager.OnToggleStatus(), and mapwindow.BufferedWindow.TextBounds().
model.ModelObject.id |
Definition at line 758 of file model.py.
Referenced by model.ModelLoop.__init__(), dialogs.MapFramePanel.getId(), dialogs.RasterPanel.getId(), dialogs.VectorPanel.getId(), wxnviz.Texture.GetId(), dialogs.MapDialog.OnApply(), dialogs.RasterDialog.OnApply(), dialogs.MainVectorDialog.OnApply(), model.ModelItem.SetText(), dialogs.RasterPanel.update(), dialogs.VectorPanel.update(), dialogs.MapinfoDialog.update(), dialogs.ScalebarDialog.update(), dialogs.TextDialog.update(), dialogs.ImageDialog.update(), and dialogs.PointDialog.update().
model.ModelObject.inBlock |
Definition at line 762 of file model.py.
Referenced by model.ModelObject.GetBlock(), model.ModelObject.GetBlockId(), and model.ModelObject.UnSetBlock().
model.ModelObject.isEnabled |
Definition at line 761 of file model.py.
Referenced by model.ModelLoop.__init__(), model.ModelObject.Enable(), and model.ModelObject.IsEnabled().
model.ModelObject.rels |
Definition at line 759 of file model.py.
Referenced by model.ModelObject.GetRelations().