Salome HOME
Fix for the issue #2753 : error when dump/load script
[modules/shaper.git] / src / ModuleBase / ModuleBase_IWidgetCreator.h
index eac9882635f416b2e0dd52c89c67c5e1277bcd6d..ec1d56e291cf5c797667700a65c3105b337ebef4 100755 (executable)
@@ -1,4 +1,22 @@
-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or
+// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+//
 
 #ifndef ModuleBase_IWidgetCreator_H
 #define ModuleBase_IWidgetCreator_H
@@ -39,11 +57,11 @@ public:
 
   /// Returns a container of possible page types, which this creator can process
   /// The default implementation is empty
-  /// \param a list of type names
+  /// \param theTypes a list of type names
   virtual void pageTypes(std::set<std::string>& theTypes) {}
 
   /// Returns a container of possible widget types, which this creator can process
-  /// \param a list of type names
+  /// \param theTypes a list of type names
   virtual void widgetTypes(std::set<std::string>& theTypes) {}
 
   /// Create panel control by its type.
@@ -60,7 +78,7 @@ public:
   /// The default implementation is empty
   /// \param theType a type
   /// \param theParent a parent widget
-  /// \param theData a low-level API for reading xml definitions of widgets
+  /// \param theWidgetApi a low-level API for reading xml definitions of widgets
   virtual ModuleBase_PageBase* createPageByType(const std::string& theType,
                                                 QWidget* theParent,
                                                 Config_WidgetAPI* theWidgetApi);
@@ -69,7 +87,8 @@ public:
   /// The default implementation is empty
   /// \param theType a type
   /// \param theParent a parent widget
-  /// \param theData a low-level API for reading xml definitions of widgets
+  /// \param theWidgetApi a low-level API for reading xml definitions of widgets
+  /// \param theWorkshop a workshop class instance
   virtual ModuleBase_ModelWidget* createWidgetByType(const std::string& theType,
                                                      QWidget* theParent,
                                                      Config_WidgetAPI* theWidgetApi,