GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Data - action relation. More...
Public Member Functions | |
def | __init__ |
def | __del__ |
def | GetFrom |
Get id of 'from' shape. More... | |
def | GetTo |
Get id of 'to' shape. More... | |
def | GetData |
Get related ModelData instance. More... | |
def | GetName |
Get parameter name. More... | |
def | ResetShapes |
Reset related objects. More... | |
def | SetControlPoints |
Set control points. More... | |
def | GetControlPoints |
Get list of control points. More... | |
def | OnDraw |
Draw relation. More... | |
def | SetName |
Data Fields | |
fromShape | |
toShape | |
param | |
parent | |
def model.ModelRelation.__init__ | ( | self, | |
parent, | |||
fromShape, | |||
toShape, | |||
param = '' |
|||
) |
def model.ModelRelation.GetControlPoints | ( | self | ) |
Get list of control points.
Definition at line 1304 of file model.py.
References model.ModelRelation._points.
def model.ModelRelation.GetData | ( | self | ) |
Get related ModelData instance.
Definition at line 1277 of file model.py.
References model.ModelRelation.fromShape, and model.ModelRelation.toShape.
def model.ModelRelation.GetFrom | ( | self | ) |
Get id of 'from' shape.
Definition at line 1269 of file model.py.
References model.ModelRelation.fromShape.
def model.ModelRelation.GetName | ( | self | ) |
Get parameter name.
Definition at line 1290 of file model.py.
References model.ModelRelation.param.
Referenced by dialogs.ItemCheckListCtrl.OnCheckItem(), widgets.SingleSymbolPanel.OnDoubleClick(), and widgets.SingleSymbolPanel.OnLeftDown().
def model.ModelRelation.GetTo | ( | self | ) |
Get id of 'to' shape.
Definition at line 1273 of file model.py.
References model.ModelRelation.toShape.
def model.ModelRelation.OnDraw | ( | self, | |
dc | |||
) |
Draw relation.
Definition at line 1315 of file model.py.
References model.ModelAction._setPen(), model.ModelData._setPen(), and model.ModelRelation._setPen().
def model.ModelRelation.ResetShapes | ( | self | ) |
def model.ModelRelation.SetControlPoints | ( | self, | |
points | |||
) |
Set control points.
Definition at line 1300 of file model.py.
References model.ModelRelation._points.
def model.ModelRelation.SetName | ( | self, | |
param | |||
) |
Definition at line 1320 of file model.py.
References model.ModelRelation.param.
Referenced by goutput.GMConsole.__init__(), widgets.SingleSymbolPanel.__init__(), gselect.DriverSelect.__init__(), gselect.DatabaseSelect.__init__(), gselect.TableSelect.__init__(), gselect.LocationSelect.__init__(), gselect.SubGroupSelect.__init__(), gselect.FormatSelect.__init__(), gselect.ProjSelect.__init__(), and gselect.ElementSelect.__init__().
model.ModelRelation.fromShape |
Definition at line 1253 of file model.py.
Referenced by model.ModelRelation.GetData(), and model.ModelRelation.GetFrom().
model.ModelRelation.param |
Definition at line 1255 of file model.py.
Referenced by model.ModelRelation.GetName(), gselect.ColumnSelect.InsertColumns(), gselect.ColumnSelect.InsertTableColumns(), and model.ModelRelation.SetName().
model.ModelRelation.parent |
Definition at line 1256 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.ModelRelation.toShape |
Definition at line 1254 of file model.py.
Referenced by model.ModelRelation.GetData(), and model.ModelRelation.GetTo().