OrsInstanceObserver_60d27cdab5ba11e79698448a5b5d70c0¶
Plugin used to inspect members of Python variables including object models.
| 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: | Oct 20 2017 13:16 |
| dragonflyVersion: | |
| 3.1.0.307 (D) | |
| UUID: | 60d27cdab5ba11e79698448a5b5d70c0 |
Class Code¶
-
class
OrsPythonPlugins.OrsInstanceObserver_60d27cdab5ba11e79698448a5b5d70c0.OrsInstanceObserver_60d27cdab5ba11e79698448a5b5d70c0.OrsInstanceObserver_60d27cdab5ba11e79698448a5b5d70c0(varname=None)¶ -
UIDescriptors= [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>, <ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]¶
-
classmethod
actionGetIDOfWidgetAtCursor()¶
-
classmethod
actionOpenGUI()¶
-
actionRefreshAllModels()¶
-
addQuickWatchExpression(instanceObserverTag)¶
-
canObserveVariable(instanceVariable)¶
-
cleanup()¶ Deletes the variables managed by the plugin. It is the place to remove callbacks and other references to Python objects that would prevent them to be garbage collected. This method is called during the process of deletion of the plugin. It calls for the cleanup and deletion of the forms.
-
filterDisplayedModules()¶
-
getFilterDisplayedModules()¶
-
getInstanceVariable(instanceObserverTag)¶
-
getInstanceVariableFromID(instanceVariableID)¶
-
getInstanceVariableID(instanceObserverTag)¶
-
classmethod
getMainFormClass()¶ Gets the class of the main form
Returns: output –
-
classmethod
getRestrictedLocationsOfRoots()¶
-
classmethod
getSupportedRoots()¶
-
getTableEvaluatedVariableModel(instanceObserverTag)¶
-
getTableInstanceVariableModel(instanceObserverTag)¶
-
getTableModelObjectModelInstances()¶
-
getTableQuickWatchVariableModel(instanceObserverTag)¶
-
getTreeModelExistingInstances()¶
-
getUpdateTablesOnEachHandleTriggered(instanceObserverTag)¶
-
handleTriggered(eventData)¶ This method is called on every user input (mouse move, mouse click, key press, …) when the current state of the application is one of those declared by the plugin. This method can be used to perform specific tasks even if no action is currently in progress.
Parameters: eventData (OrsEvent.eventdata.InputEventData) – the event data
-
keepAlive= False¶
-
multiple= False¶
-
myContextualMenu(listSelectedObjectsRepr)¶
-
onCloseInstanceObserverForm(instanceObserverTag)¶
-
openInstanceForm(instanceObserverTag=None)¶
-
openInstanceObserverOnSelection(listSelectedObjects)¶
-
removeQuickWatchExpressions(instanceObserverTag, setOfRowsToRemove)¶
-
savable= False¶
-
setFilterDisplayedModules(strFilterDisplayedModules)¶
-
setInstanceVariable(instanceObserverTag, instanceVariableIDOrGUID)¶ Parameters: - instanceObserverTag –
- instanceVariableIDOrGUID (str) – GUID or id (as string)
Return: True if the instance variable is found and is set to the model; False otherwise.
-
setQuickWatchExpression(instanceObserverTag, row, newQuickWatchExpression)¶
-
setUpdateTablesOnEachHandleTriggered(instanceObserverTag, updateTablesOnEachHandleTriggered)¶
-
showInToolbar= True¶
-
startInstanceObserverModel(instanceVariable)¶
-
startInstanceObserverModelFromGUID(objectGUID)¶
-
startInstanceObserverModelFromID(instanceVariableID)¶
-
classmethod
startInstanceObserverOnWidgetAtCursor()¶ Starts an observer form on the widget under cursor. The id of the widget is also put in the clipboard, to be used with other plugins.
-
stateDescriptors= [<ORSServiceClass.OrsPlugin.statedescriptor.StateDescriptor object>]¶
-
classmethod
topLevelMenu()¶
-
updateAllTablesModels()¶
-
updateAllTablesModelsForHandleTriggered()¶
-
updateTableModelObjectModelInstances()¶
-
updateTablesModels(instanceObserverTag)¶
-
updateTreeModelExistingInstances()¶
-