Salome HOME
Issue #83: renamed PluginManager to Session
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetFeature.cpp
index e7c510a8385a0cfaea7d3fa94b6e5eb16246289a..6586a491a104783222dc1d23b58a43ffa35636c6 100644 (file)
@@ -71,7 +71,7 @@ bool ModuleBase_WidgetFeature::setValue(ModuleBase_WidgetValue* theValue)
 
 bool ModuleBase_WidgetFeature::setObject(const ObjectPtr& theObject, bool theSendEvent)
 {
-  PluginManagerPtr aMgr = ModelAPI_PluginManager::get();
+  SessionPtr aMgr = ModelAPI_Session::get();
   ModelAPI_ValidatorsFactory* aFactory = aMgr->validators();
   std::list<ModelAPI_Validator*> aValidators;
   std::list<std::list<std::string> > anArguments;