void
ProcessingController::OnChangeUnderlyingMesh()
{
- // Get the selected objects in the study (SObject). In cas of a
- // We need a studyEditor updated on the active study
- _studyEditor->updateActiveStudy();
-
+ // Get the selected objects in the study (SObject). In case of a
// multiple selection, we consider only the first item. At least one
// item must be selected.
SALOME_StudyEditor::SObjectList* listOfSObject = _studyEditor->getSelectedObjects();
med_engine = salome.lcc.FindOrLoadComponent(containerType,medComponentName)
factory = salome.lcc.FindOrLoadComponent(containerType,factoryComponentName)
# The factory is not the main CORBA component of the SALOME module MED
-# (i.e. the engine associated to the active study), but the CORBA
+# (i.e. the engine associated to the study), but the CORBA
# entry point for MED fields operations (i.e. a CORBA component
- # reachable throught the LifeCycleCORBA). This entry point is used to
+ # reachable through the LifeCycleCORBA). This entry point is used to
# get the other SALOME CORBA components required for MED field
# operations, in particular the dataManager and the calculator
try:
eventListenerIOR = dataManager.getEventListenerIOR()
__eventListener = salome.orb.string_to_object(eventListenerIOR)
- except SALOME.SALOME_Exception, e:
+ except SALOME.SALOME_Exception as e:
medcalc.wrn("The event listener is not running yet")
msg ="When you'll have loaded the MED GUI, "
- msg+="call explicitely \"medcalc.medevents.connectEventListener()\" "
+ msg+="call explicitly \"medcalc.medevents.connectEventListener()\" "
msg+="to connect the GUI event listener"
medcalc.inf(msg)
__eventListener = None