]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Use LightApp_SelectionMgr instead of SalomeApp_SelectionMgr. BR_LightConf_dev
authornds <nds@opencascade.com>
Mon, 19 Sep 2005 06:41:49 +0000 (06:41 +0000)
committernds <nds@opencascade.com>
Mon, 19 Sep 2005 06:41:49 +0000 (06:41 +0000)
37 files changed:
src/GenerationGUI/GenerationGUI_FillingDlg.cxx
src/GenerationGUI/GenerationGUI_PipeDlg.cxx
src/GenerationGUI/GenerationGUI_PrismDlg.cxx
src/GenerationGUI/GenerationGUI_RevolDlg.cxx
src/GroupGUI/GroupGUI.cxx
src/GroupGUI/GroupGUI_GroupDlg.cxx
src/MeasureGUI/MeasureGUI_CenterMassDlg.cxx
src/MeasureGUI/MeasureGUI_PointDlg.cxx
src/MeasureGUI/MeasureGUI_Skeleton.cxx
src/OperationGUI/OperationGUI_ArchimedeDlg.cxx
src/OperationGUI/OperationGUI_ChamferDlg.cxx
src/OperationGUI/OperationGUI_FilletDlg.cxx
src/OperationGUI/OperationGUI_MaterialDlg.cxx
src/OperationGUI/OperationGUI_PartitionDlg.cxx
src/PrimitiveGUI/PrimitiveGUI_BoxDlg.cxx
src/PrimitiveGUI/PrimitiveGUI_ConeDlg.cxx
src/PrimitiveGUI/PrimitiveGUI_CylinderDlg.cxx
src/PrimitiveGUI/PrimitiveGUI_SphereDlg.cxx
src/PrimitiveGUI/PrimitiveGUI_TorusDlg.cxx
src/RepairGUI/RepairGUI_CloseContourDlg.cxx
src/RepairGUI/RepairGUI_DivideEdgeDlg.cxx
src/RepairGUI/RepairGUI_FreeBoundDlg.cxx
src/RepairGUI/RepairGUI_FreeFacesDlg.cxx
src/RepairGUI/RepairGUI_GlueDlg.cxx
src/RepairGUI/RepairGUI_RemoveHolesDlg.cxx
src/RepairGUI/RepairGUI_RemoveIntWiresDlg.cxx
src/RepairGUI/RepairGUI_SewingDlg.cxx
src/RepairGUI/RepairGUI_ShapeProcessDlg.cxx
src/RepairGUI/RepairGUI_SuppressFacesDlg.cxx
src/TransformationGUI/TransformationGUI_MirrorDlg.cxx
src/TransformationGUI/TransformationGUI_MultiRotationDlg.cxx
src/TransformationGUI/TransformationGUI_MultiTranslationDlg.cxx
src/TransformationGUI/TransformationGUI_OffsetDlg.cxx
src/TransformationGUI/TransformationGUI_PositionDlg.cxx
src/TransformationGUI/TransformationGUI_RotationDlg.cxx
src/TransformationGUI/TransformationGUI_ScaleDlg.cxx
src/TransformationGUI/TransformationGUI_TranslationDlg.cxx

index 6987ad088822c5df33d4bf626e757dc31064c4c9..5dde019e0e63818c870813ad99cb3598d6281880 100644 (file)
@@ -31,7 +31,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <GeomFill_SectionGenerator.hxx>
 #include <GeomFill_Line.hxx>
index 9a59cda5e74fb99b684f2a36bee79d5ab1d41419..5cf2f1458a4e82520bbf5898c8fe9fdd2e6b747f 100644 (file)
@@ -31,7 +31,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <qlabel.h>
 
index 7ab104b48b17559cf46685446976c97e0fc9916d..bc3aa51dc45ad4ce5c11cf02573d85c174a98026 100644 (file)
@@ -31,7 +31,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <BRepPrimAPI_MakePrism.hxx>
 #include <BRepAdaptor_Curve.hxx>
index 6856a9f48be1fa43dac950f6e2fc7560e75bb000..14c0d011d64afa7977b48730c50c961bfd0b2ccd 100644 (file)
@@ -31,7 +31,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <gp_Lin.hxx>
 #include <BRepAdaptor_Curve.hxx>
index e7a489013847d74ca140d89e5117dd30c739552e..5bfaf9fcadba7af09d0be1ab8cbf86a00f1189c6 100644 (file)
@@ -36,7 +36,7 @@
 #include "SUIT_MessageBox.h"
 #include "SalomeApp_Application.h"
 #include "SalomeApp_Study.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 GroupGUI* GroupGUI::myGUIObject = 0;
 
@@ -105,7 +105,7 @@ bool GroupGUI::OnGUIEvent( int theCommandID, SUIT_Desktop* parent )
   
       SalomeApp_Application* app = dynamic_cast< SalomeApp_Application* >( SUIT_Session::session()->activeApplication() );
       if ( app ) {
-       SalomeApp_SelectionMgr* aSelMgr = app->selectionMgr();
+       LightApp_SelectionMgr* aSelMgr = app->selectionMgr();
        if ( aSelMgr )
          aSelMgr->selectedObjects( aList );
       }
index 15b7b03d967e35e6a5d390ccb0be139ed341c7d3..6785e8bf19fac810a2c147a6182c2dd23bd660ba 100644 (file)
@@ -32,7 +32,7 @@
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
 #include "SalomeApp_Study.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include "GEOMBase.h"
 
@@ -541,7 +541,7 @@ void GroupGUI_GroupDlg::highlightSubShapes()
     if ( myIdList->isSelected( ii ) )
       anIds.Add( myIdList->item( ii )->text().toInt() );    
 
-  SalomeApp_SelectionMgr* aSelMgr = ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr();
+  LightApp_SelectionMgr* aSelMgr = ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr();
   aSelMgr->clearSelected();
   aSelMgr->AddOrRemoveIndex( aSh->getIO(), anIds, false );
 
index 9c1a927e9f22627222da44e920761929583ae2f6..9191ebd3429e668d35a4a1752d8932c232f4eff3 100644 (file)
@@ -32,7 +32,7 @@
 #include "utilities.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 #include "SalomeApp_Tools.h"
 
 #include <BRep_Tool.hxx>
index d5aab6ed4c6bacb02073cb2d303aec907b64e897..7db3bee11c663dd543cab985d80c07b633d5075a 100644 (file)
@@ -32,7 +32,7 @@
 #include "utilities.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <TColStd_MapOfInteger.hxx>
 #include <TopAbs_ShapeEnum.hxx>
index 4e89cddc86f30f77e6bbb3685cdc0b3b9070aa4f..bbfdb0741488abd6199c8634ce3fa36b48a203ae 100644 (file)
@@ -32,7 +32,7 @@
 #include "GeometryGUI.h"
 
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 #include "SalomeApp_Tools.h"
 #include "SUIT_Session.h"
 #include "SUIT_OverrideCursor.h"
@@ -113,7 +113,7 @@ void MeasureGUI_Skeleton::Init()
   connect( mySelBtn,    SIGNAL( clicked() ),
            this,        SLOT  ( SetEditCurrentArgument() ) );
 
-  SalomeApp_SelectionMgr* aSel = ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr();
+  LightApp_SelectionMgr* aSel = ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr();
   if ( aSel )
     connect( aSel, SIGNAL( currentSelectionChanged() ), 
             this, SLOT  ( SelectionIntoArgument() ) ) ;
@@ -163,7 +163,7 @@ void MeasureGUI_Skeleton::DeactivateActiveDialog()
 {
   setEnabled( false );
   
-  SalomeApp_SelectionMgr* aSel = ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr();
+  LightApp_SelectionMgr* aSel = ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr();
   if ( aSel )
     disconnect( aSel, 0, this, 0 );
   
@@ -185,7 +185,7 @@ void MeasureGUI_Skeleton::ActivateThisDialog()
   
   myGeomGUI->SetActiveDialogBox( ( QDialog* )this );
 
-  SalomeApp_SelectionMgr* aSel = ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr();
+  LightApp_SelectionMgr* aSel = ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr();
   if ( aSel )
     connect( aSel, SIGNAL( currentSelectionChanged() ), 
             this, SLOT  ( SelectionIntoArgument() ) ) ;
@@ -245,7 +245,7 @@ void MeasureGUI_Skeleton::processObject()
 //=================================================================================
 void MeasureGUI_Skeleton::closeEvent( QCloseEvent* e )
 {
-  SalomeApp_SelectionMgr* aSel = ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr();
+  LightApp_SelectionMgr* aSel = ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr();
   if ( aSel )
     disconnect( aSel, 0, this, 0 );
   QDialog::closeEvent( e );
index 2efc7b0f081a0c9b67780690f4f38486a7b0995d..0d024e7f36e7a4cadb497e88709aa3cae7599b22 100644 (file)
@@ -32,7 +32,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <qlabel.h>
 
index 38486902b6c4c7238aa393b9d0d8b0ae1e59d81c..79678b359ec0c39155681a521a1c8190a4cc2979 100644 (file)
@@ -33,7 +33,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 #include "OCCViewer_ViewModel.h"
 
 #include <TColStd_MapOfInteger.hxx>
index 3516a9280560d305c0b4e22280a811e3300453eb..583aad057650338ec8ad25e26021d7fc6a4582bf 100644 (file)
@@ -33,7 +33,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 #include "OCCViewer_ViewModel.h"
 
 #include "qlabel.h"
index e63383883021af07f92de92c89ade559f0313885..b3055d38d48a017da19b3fd662e38135e84b716f 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include "utilities.h"
 
index bedc631806594561823729d45198cfd1cd8802f9..9315616f4535d58c74371f206d897f015f47d058 100644 (file)
@@ -34,7 +34,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <qcheckbox.h>
 #include <qcombobox.h>
index 6ad4bbc87b68d5ed1fd5a8075c984904dc34466f..ea44ad1bc27404e1f0bf74fce46d876736522394 100644 (file)
@@ -31,7 +31,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <qlabel.h>
 
index 3339c7afe6e0e7b84a90e138491c6a02dc50c384..45db91182ccd5e630dce1bf9bb14d16561dea0e3 100644 (file)
@@ -31,7 +31,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <qlabel.h>
 
index cf4e3d02005ca59fee02174423d66424f23f3f21..19aaff74d751166fb22b079d92cb38eeb3453497 100644 (file)
@@ -31,7 +31,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <qlabel.h>
 
index 6ffba6e31e8bf2307d5d1421d26049a696e9b427..49bca1dc29108886072c59c8ec622d78c3e1011e 100644 (file)
@@ -31,7 +31,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <qlabel.h>
 
index 287ce0d28c2b99a8481eeda0efc6cd210c786575..05e6c7b6c4aeef236c24e38b586fe05b5f01e859 100644 (file)
@@ -31,7 +31,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <qlabel.h>
 
index ac98b0de8d06847dc3f09db891f77f0b39050098..e5bb3a708a9ef34b48e7af6522368ef7acf01fd3 100644 (file)
@@ -29,7 +29,7 @@
 #include "RepairGUI_CloseContourDlg.h"
 
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 #include "SUIT_Session.h"
 #include "SALOME_ListIteratorOfListIO.hxx"
 
index 04884566b62a564dc791cefdd136bd39cbb2e0c2..9b397b2571023e83fba727964246cb66631d0293 100644 (file)
@@ -29,7 +29,7 @@
 #include "RepairGUI_DivideEdgeDlg.h"
 
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 #include "SUIT_Session.h"
 #include "SALOME_ListIteratorOfListIO.hxx"
 
index add5736ac87fb38ba162ab2c9802aea9a7a48894..896c0f0d4a2fac3918c63aa5de7fb818857da1ee 100644 (file)
@@ -33,7 +33,7 @@
 #include "GEOMImpl_Types.hxx"
 
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 #include "SUIT_Session.h"
 
 #include <TColStd_MapOfInteger.hxx>
index 04c2b19b0d26b42f421bea34a379de2772ef5163..3143b7feca8b769880780a6b2f3b8e38f132aa47 100644 (file)
@@ -29,7 +29,7 @@
 #include "RepairGUI_FreeFacesDlg.h"
 
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 #include "SalomeApp_Tools.h"
 
 #include "SUIT_Session.h"
index 9988bb38d944f067e4223c6692c0babe707f780c..789a0a70468ce33756c6e51e04fc4a43868bb026 100644 (file)
@@ -32,7 +32,7 @@
 
 #include "QtxDblSpinBox.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 #include "SalomeApp_Study.h"
 #include "SalomeApp_Tools.h"
 
index 4e8ecc34ef14c499b39af6fff40d2ebcee0b567f..6dc3188eb0eb3e5b43216a794ab7bd8d0a3bba6e 100644 (file)
@@ -29,7 +29,7 @@
 #include "RepairGUI_RemoveHolesDlg.h"
 
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 #include "SUIT_MessageBox.h"
 #include "SUIT_Session.h"
 
index db6fd60356c0a2e2b3d8f1fcccbe4bcfdcb4aec6..91822ded94d17c1325e22a44842fb139682653a4 100644 (file)
@@ -29,7 +29,7 @@
 #include "RepairGUI_RemoveIntWiresDlg.h"
 
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 #include "SUIT_Session.h"
 #include "SALOME_ListIteratorOfListIO.hxx"
 
index 2bd0ee30a743d47e3c8946110ca769327eb94186..05ed7750954bd0a3ca6c18ff6b033d7818e9a7f4 100644 (file)
@@ -29,7 +29,7 @@
 #include "RepairGUI_SewingDlg.h"
 
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 #include "SUIT_Session.h"
 #include "SUIT_MessageBox.h"
 #include "SALOME_ListIteratorOfListIO.hxx"
index cb30f82dcf714f5f717da09c8561fb21b75183cd..7c9005a1a8eeaec081e594e7b35fd8922663a1d0 100755 (executable)
@@ -31,7 +31,7 @@
 #include "GEOMImpl_Types.hxx"
 
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 #include "SUIT_Session.h"
 #include "SALOME_ListIteratorOfListIO.hxx"
 #include "SALOME_ListIO.hxx"
index ee38297a102296ec7c7dcc578567b14dae12e918..4d996d2a143a170a6ba26c750749d1460ed8c53d 100644 (file)
@@ -29,7 +29,7 @@
 #include "RepairGUI_SuppressFacesDlg.h"
 
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 #include "SUIT_Session.h"
 #include "SALOME_ListIteratorOfListIO.hxx"
 
index d255e8f0b5600b544c7ac6f97a89919fe79181cc..8f09b83f83f4c3a72aaa000416e571a2383a0454 100644 (file)
@@ -31,7 +31,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <qcheckbox.h>
 #include <qlabel.h>
index aa50241418f1f1a61b008b5fe50e5d24c62751b0..88b262a447730dc79d865a00e0f9bd6b0dca4cd5 100644 (file)
@@ -31,7 +31,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <qcheckbox.h>
 #include <qlabel.h>
index 61671b81878d5d8ed1a2379696cae0b765b0e037..255df8858f2060a340a3fd51bef722157691df53 100644 (file)
@@ -31,7 +31,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <qlabel.h>
 
index 3b4d896b5fbb3eea23546997b933e03267aa9272..805bc8a72821d631f148588e476e1c8b1eb80267 100644 (file)
@@ -31,7 +31,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <qlabel.h>
 #include <qcheckbox.h>
index dc8a9b583b800146b48fd1d32b48c4595a0712b6..e16e3bbd37bc3f982da347f12d255585a6aeca75 100644 (file)
@@ -31,7 +31,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <qlabel.h>
 #include <qcheckbox.h>
index 03f9cd8d13ece9dfd08c4af5620581d2e95f220d..7b1abd28b385c021363925c292fe90eae36a7581 100644 (file)
@@ -31,7 +31,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <qcheckbox.h>
 #include <qlabel.h>
index 1690ae6d3febd4f092cabd74acebcb775f9e529e..a215ba028c2e96e3e3b10313a38948bbac84bbe1 100644 (file)
@@ -31,7 +31,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <qlabel.h>
 #include <qcheckbox.h>
index c56d2e4020315f89f4ef9cafa682dc1ef9698477..d221fb855ab3b86b2719aaccfffb94d78478d485 100644 (file)
@@ -31,7 +31,7 @@
 #include "SUIT_Desktop.h"
 #include "SUIT_Session.h"
 #include "SalomeApp_Application.h"
-#include "SalomeApp_SelectionMgr.h"
+#include "LightApp_SelectionMgr.h"
 
 #include <qcheckbox.h>
 #include <qlabel.h>