OrsWizardLauncherContext_77f2734aaa4311eab5d2309c235e8fdb¶
Wizard Launcher context
- author:
Dragonfly Team
- contact:
- email:
- organization:
Comet Technologies Canada Inc.
- address:
460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7
- copyright:
Comet Technologies Canada Inc. All rights reserved 2023.
- date:
Jun 09 2020 07:22
- dragonflyVersion:
2020.1.0.797 (D)
- UUID:
77f2734aaa4311eab5d2309c235e8fdb
Class Code¶
- class OrsPythonPlugins.OrsWizardLauncherContext_77f2734aaa4311eab5d2309c235e8fdb.OrsWizardLauncherContext_77f2734aaa4311eab5d2309c235e8fdb.OrsWizardLauncherContext_77f2734aaa4311eab5d2309c235e8fdb(*args, **kwargs)¶
- classmethod getMainFormClass()¶
Gets the class of the main form
- Returns:
output –
- setupContext(openMainForm=True)¶
Performs the tasks to setup the context. This is normally done after the instantiation of the main plugin in context and setting his state.
These are the usual tasks:
instantiate all required plugins;
define context restrictions (actions, states, …);
- open the main window with the mainform of the main plugin in context and all plugin forms
(if
openMainFormisTrue);
initialize the menu (if wanted);
perform any other task to initialize the context (configure views, text presenters, …).
- Parameters:
openMainForm (bool) –
Trueto use the forms;Falseotherwise.