OrsWorkingContextObserver

Developer tool to monitor the current 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:Jul 17 2015 17:05
dragonflyVersion:
 3.1.0.286 (D)
UUID:f9a6ff00761e11e79179448a5b5d70c0

Class Code

class OrsPythonPlugins.OrsWorkingContextObserver.OrsWorkingContextObserver.OrsWorkingContextObserver(varName=None, managed=True)
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
aLLChange()
classmethod developerMenu()
getHandleActivation(handleName)

Gets the name of the (action) method of the given state activation

Parameters:state (str) – name of the state
Return:name of the method of the given state activation
Rtype:str
classmethod getMainFormClass()

Gets the class of the main form

Returns:output
handleChanged(oldHandleName, newHandleName)

This method is called when the state of the application is changed.

Parameters:
  • oldState (str) – name of the old (previous) state
  • newState (str) – name of the new (current) state
keepAlive = False
multiple = False
savable = False
setCursor(handleName)

Sets the current cursor

Parameters:state (str) – state associated to the cursor to set
setHandleActivation(handleName, activationName)

Sets the name of the method of the given state activation

Parameters:
  • state (str) – name of the state. This state should be among those defined by the plugin.
  • activation (str) – name of the method of the given state activation
showInToolbar = True
stateDescriptors = [<ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>]