GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Public Member Functions | |
def | __init__ |
Abstract class for loops and conditions. More... | |
def | GetText |
Get loop text. More... | |
def | GetItems |
Get items (id) More... | |
def | SetId |
Set loop id. More... | |
def | SetText |
Set loop text (condition) More... | |
def | GetLog |
Get log info. More... | |
def | AddRelation |
Record relation. More... | |
def | Clear |
Clear object, remove rels. 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 | |
text | |
items | |
id | |
rels | |
Data Fields inherited from model.ModelObject | |
id | |
rels | |
isEnabled | |
inBlock | |
def model.ModelItem.__init__ | ( | self, | |
parent, | |||
x, | |||
y, | |||
id = -1 , |
|||
width = None , |
|||
height = None , |
|||
text = '' , |
|||
items = [] |
|||
) |
def model.ModelItem.AddRelation | ( | self, | |
rel | |||
) |
def model.ModelItem.Clear | ( | self | ) |
Clear object, remove rels.
Definition at line 1360 of file model.py.
Referenced by colorrules.RulesPanel.OnClearAll().
def model.ModelItem.GetItems | ( | self | ) |
Get items (id)
Definition at line 1335 of file model.py.
References model.Model.items, and model.ModelItem.items.
Referenced by prompt.TextCtrlAutoComplete.OnCommandSelect(), prompt.TextCtrlAutoComplete.OnKeyDown(), and gselect.LayerSelect.Reset().
def model.ModelItem.GetLog | ( | self | ) |
def model.ModelItem.GetText | ( | self | ) |
def model.ModelItem.SetText | ( | self, | |
cond | |||
) |
Set loop text (condition)
Definition at line 1343 of file model.py.
References render.Overlay.id, model.ModelObject.id, and model.ModelItem.text.
model.ModelItem.id |
Definition at line 1341 of file model.py.
Referenced by dialogs.MapFramePanel.getId(), dialogs.RasterPanel.getId(), dialogs.VectorPanel.getId(), wxnviz.Texture.GetId(), dialogs.MapDialog.OnApply(), dialogs.RasterDialog.OnApply(), dialogs.MainVectorDialog.OnApply(), dialogs.RasterPanel.update(), dialogs.VectorPanel.update(), dialogs.MapinfoDialog.update(), dialogs.ScalebarDialog.update(), dialogs.TextDialog.update(), dialogs.ImageDialog.update(), and dialogs.PointDialog.update().
model.ModelItem.items |
Definition at line 1329 of file model.py.
Referenced by model.ModelLoop.Enable(), model.ModelItem.GetItems(), and model.ModelCondition.SetItems().
model.ModelItem.parent |
Definition at line 1327 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.ModelItem.text |
Definition at line 1328 of file model.py.
Referenced by model.ModelItem.GetLog(), model.ModelItem.GetText(), statusbar.SbTextItem.GetValue(), model.ModelItem.SetText(), and statusbar.SbTextItem.SetValue().