Salome HOME
Implementation of change orientation in Repair in GEOM.
[modules/geom.git] / src / GEOMGUI / GEOMGUI_Selection.cxx
index bc44c2b0bb4677d829f11e7dc6b9c0575df107b3..f4a15ea35f66e2286fe0a2d44eba2fe56600908b 100644 (file)
@@ -1,9 +1,28 @@
+// Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// 
+// 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.
+// 
+// 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
+//
 #include "GEOMGUI_Selection.h"
 
 #include "GeometryGUI.h"
 #include "GEOM_Displayer.h"
 
-#include <SalomeApp_DataOwner.h>
+#include <LightApp_DataOwner.h>
 #include <SalomeApp_Study.h>
 
 #include <OCCViewer_ViewModel.h>
@@ -47,8 +66,8 @@ GEOMGUI_Selection::~GEOMGUI_Selection()
 QtxValue GEOMGUI_Selection::globalParam( const QString& p ) const
 {
   if ( p == "isOCC" ) return QtxValue( activeViewType() == OCCViewer_Viewer::Type() );
-
-  return SalomeApp_Selection::globalParam( p );
+  return LightApp_Selection::globalParam( p );
 }
 
 QtxValue GEOMGUI_Selection::param( const int ind, const QString& p ) const
@@ -61,7 +80,7 @@ QtxValue GEOMGUI_Selection::param( const int ind, const QString& p ) const
   else if ( p == "displaymode" )
     return QtxValue( displayMode( ind ) );
   else
-    return SalomeApp_Selection::param( ind, p );
+    return LightApp_Selection::param( ind, p );
 }
 
 QString GEOMGUI_Selection::typeName( const int index ) const