OrsObjectModelObserver

Debugging tool to examine model objects

author:ORS Team
contact:http://theobjects.com
email:info@theobjects.com
organization:Object Research Systems (ORS), Inc.
address:760 St-Paul West, suite 101, Montréal, Québec, Canada, H3C 1M4
copyright:Object Research Systems (ORS), Inc. All rights reserved 2020.
date:Aug 19 2015 13:43
dragonflyVersion:
 3.0
UUID:a4e89592761811e79784448a5b5d70c0

Class Code

class OrsPythonPlugins.OrsObjectModelObserver.OrsObjectModelObserver.OrsObjectModelObserver(varname=None, managed=True)
UIDescriptors = [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]
attachObjects(parentNodeGUID, listChildrenNodeGUID)

This function is to attach a set of objects :return:

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.

closable = True
deleteObjects(listObjectsGUIDToDelete)

This function is to delete the selected objects :return:

detachAllMarkedConnections()

This function is to detach all marked connections :return:

classmethod developerMenu()
getGraphModel(graphModelID=None)
classmethod getMainFormClass()

Gets the class of the main form

Returns:output
getTableFilteringOptionsModel()
getTableModel()
isValidNewPotentialConnection(parentNodeGUID, childNodeGUID)

This function is to test if a new connection can be established between 2 nodes

keepAlive = False
multiple = False
reorganizeGraph()

This function calls for a full reorganization of the graph nodes :return:

savable = False
showInToolbar = True
classmethod startupDefault(openMainForm=True)

Creates an instance of the plugin class and opens the main form (if required) at the default position.

Returns:output (AbstractPlugin) – plugin instance
updateGraphItemsToShowOnView()

This function is to actualize what items should be shown on the graph view :return:

updateGraphModel()

This function is to actualize the graph model :return:

updateModels(loadSavedState=False)
updateTableFilteringOptionsModel()

This function is to actualize the table model of filtering options :return:

updateTableItemsToShowOnView()

This function is to actualize what items should be shown on the table view of objects :return:

updateTableModel()

This function is to actualize the table model of objects :return: