Part of stoqlib.gui.editors.producteditor View In Hierarchy
Method | __init__ | Undocumented |
Method | get_targets | Returns a list of valid taret objects. |
Method | get_relations | Returns the already existing relations. |
Method | get_columns | Columns to display |
Method | create_model | This method should create the model when adding a new relationship. |
Inherited from BaseRelationshipEditorSlave:
Method | _setup_relations_list | Undocumented |
Method | _setup_widgets | Undocumented |
Method | add | Undocumented |
Method | edit | Undocumented |
Method | remove | Undocumented |
Method | _run_editor | Runs an editor for the relationship (if necessary). |
Method | on_add_button__clicked | Undocumented |
Method | on_target_combo__content_changed | Undocumented |
Method | _on_edit_item__clicked | Undocumented |
Method | _on_remove_item__clicked | Undocumented |
for instance, if suppliers for a product are being edited, then this should return a list fo suppliers.
This may be entries from a maping table or entries from the target table itself, depending on the type of relationship