OrsWizardLauncherContext_77f2734aaa4311eab5d2309c235e8fdb

Wizard Launcher context

author:ORS Team
contact:http://theobjects.com
email:info@theobjects.com
organization:Object Research Systems (ORS), Inc.
address:460 Ste-Catherine Ouest, suite 600, Montréal, Québec, Canada, H3B 1A7
copyright:Object Research Systems (ORS), Inc. All rights reserved 2021.
date:Jun 09 2020 07:22
dragonflyVersion:
 2020.1.0.797 (D)
UUID:77f2734aaa4311eab5d2309c235e8fdb

Class Code

class OrsPythonPlugins.OrsWizardLauncherContext_77f2734aaa4311eab5d2309c235e8fdb.OrsWizardLauncherContext_77f2734aaa4311eab5d2309c235e8fdb.OrsWizardLauncherContext_77f2734aaa4311eab5d2309c235e8fdb(varName=None)
PLUGIN_ORSWIZARDLAUNCHER = 'OrsWizardLauncher'
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
canBeGenericallyOpened = False
classmethod getContextName()
classmethod getMainFormClass()

Gets the class of the main form

Returns:output
keepAlive = False
modalContext = False
multiple = False
privateObjects = False
restrictPlugins = True
savable = False
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 openMainForm is True);
  • initialize the menu (if wanted);
  • perform any other task to initialize the context (configure views, text presenters, …).
Parameters:openMainForm (bool) – True to use the forms; False otherwise.