Salome HOME
Merge branch 'Dev_1.2.0' of newgeom:newgeom into Dev_1.2.0
[modules/shaper.git] / src / ModuleBase / ModuleBase_IWorkshop.cpp
index 7ea7fe567f076e39f04e93422c6af9bcb33542e3..6105bf263ae0f27247bb1409b92bd05d3d5bacc8 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 // File:        ModuleBase_ModelWidget.h
 // Created:     25 Apr 2014
 // Author:      Natalia ERMOLAEVA
@@ -5,6 +7,17 @@
 #include "ModuleBase_IWorkshop.h"
 #include "ModuleBase_FilterFactory.h"
 
+ModuleBase_IWorkshop::ModuleBase_IWorkshop(QObject* theParent)
+: QObject(theParent)
+{
+  myValidatorFilter = new ModuleBase_FilterValidated(this);
+}
+
+Handle(ModuleBase_FilterValidated) ModuleBase_IWorkshop::validatorFilter()
+{
+  return myValidatorFilter;
+}
+
 ModuleBase_FilterFactory* ModuleBase_IWorkshop::selectionFilters() const
 {
   static ModuleBase_FilterFactory* aFactory = new ModuleBase_FilterFactory;