A mixin class that manages a ComponentUIHelper object, and delegates the functions required by the member edit screen to that object. More...
Methods defined here: | |
def | CreateUI |
def | Finalize |
def | IsValid |
def | Load |
def | RequiresProcess |
def | Reset |
def | Save |
def | __init__ |
def | delui |
def | getui |
Data descriptors defined here: | |
def | __dict__ |
dictionary for instance variables (if defined) | |
def | __weakref__ |
list of weak references to the object (if defined) | |
def | ui |
A mixin class that manages a ComponentUIHelper object, and delegates the functions required by the member edit screen to that object.
Your component class should inherit from this object, and initialize the class with the ComponentUIHelper derived class. This allows greater separation between the user interface elements of the component and the business logic.
Usage (in "MyComponent" plugin):
MyComponent/MyComponent.py:
from dialog.subdialog import MemberEditMethods, ComponentUIHelper
class MyComponent(StateAccessor, MemberEditMethods, Component): def init(self): StateAccessor.__init__(self) MemberEditComponent.__init__(self, MemberEditUI) Component.__init__(self)
class MemberEditUI(ComponentUIHelper): column_title = "My Component"
def init(self): ComponentUIHelper.__init__(self)
def componentedit.MemberEditMethods.__init__ | ( | args | ) |
__init__(args)
Reimplemented in StandAloneGadgetScreen.StandAloneGadgetScreen, UnreadableComponentProxy.UnreadableComponentProxy, HashingComponent.HashingComponent, and ComponentSetupScreen.ComponentSetupScreen.
def componentedit.MemberEditMethods.__dict__ | ( | args | ) |
dictionary for instance variables (if defined)
Reimplemented in StandAloneGadgetScreen.StandAloneGadgetScreen, UnreadableComponentProxy.UnreadableComponentProxy, ComponentSetupScreen.ComponentSetupScreen, and HashingComponent.HashingComponent.
def componentedit.MemberEditMethods.__weakref__ | ( | args | ) |
list of weak references to the object (if defined)
Reimplemented in StandAloneGadgetScreen.StandAloneGadgetScreen, UnreadableComponentProxy.UnreadableComponentProxy, ComponentSetupScreen.ComponentSetupScreen, and HashingComponent.HashingComponent.
def componentedit.MemberEditMethods.CreateUI | ( | args | ) |
CreateUI(args)
Reimplemented in UnreadableComponentProxy.UnreadableComponentProxy, StandAloneGadgetScreen.StandAloneGadgetScreen, HashingComponent.HashingComponent, and ComponentSetupScreen.ComponentSetupScreen.
def componentedit.MemberEditMethods.delui | ( | args | ) |
def componentedit.MemberEditMethods.Finalize | ( | args | ) |
Finalize(args)
Reimplemented in UnreadableComponentProxy.UnreadableComponentProxy, StandAloneGadgetScreen.StandAloneGadgetScreen, HashingComponent.HashingComponent, and ComponentSetupScreen.ComponentSetupScreen.
def componentedit.MemberEditMethods.getui | ( | args | ) |
def componentedit.MemberEditMethods.IsValid | ( | args | ) |
Indicate to the calling framework the current state of input from the user.
Reimplemented in UnreadableComponentProxy.UnreadableComponentProxy, StandAloneGadgetScreen.StandAloneGadgetScreen, HashingComponent.HashingComponent, and ComponentSetupScreen.ComponentSetupScreen.
def componentedit.MemberEditMethods.Load | ( | args | ) |
def componentedit.MemberEditMethods.RequiresProcess | ( | args | ) |
RequiresProcess(args)
Reimplemented in UnreadableComponentProxy.UnreadableComponentProxy, StandAloneGadgetScreen.StandAloneGadgetScreen, HashingComponent.HashingComponent, and ComponentSetupScreen.ComponentSetupScreen.
def componentedit.MemberEditMethods.Reset | ( | args | ) |
def componentedit.MemberEditMethods.Save | ( | args | ) |
def componentedit.MemberEditMethods.ui | ( | args | ) |