"getLCC",
"getStudyManager",
"getEngine",
+ "getEngineIOR",
"findOrCreateComponent",
"getObjectID",
]
pass
return __engine__
+###
+# Get PYHELLO engine IOR
+###
+def getEngineIOR():
+ IOR = ""
+ if getORB() and getEngine():
+ IOR = getORB().object_to_string( getEngine() )
+ pass
+ return IOR
+
###
# Find or create PYHELLO component object in a study
###
ctx = _setContext( _getStudyId() )
study = _getStudy()
selcount, selected = _getSelection()
- print selcount, selected
+ if verbose() : print selcount, selected
if selcount == 1:
# one object is selected
if moduleID() in selected:
if verbose() : print "PYHELLOGUI.viewClosed(): %d" % viewID
pass
+# called when study is opened
+# returns engine IOR
+def engineIOR():
+ if verbose() : print "PYHELLOGUI.engineIOR()"
+ return getEngineIOR()
+
################################################
# GUI actions implementation
################################################