Salome HOME
Merge branch V7_3_1_BR
[modules/hexablock.git] / src / HEXABLOCKGUI / HEXABLOCKGUI_GraphicViewsHandler.cxx
index 400a8420f548bd377285200bbd98f366b3cc0f1d..80c92b0855fb25cbc5ec9adbc5d00154a5f30d2c 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2009-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2009-2014  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.
+// 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
@@ -135,42 +135,4 @@ void GraphicViewsHandler::closeDocumentGraphicView(SVTK_ViewWindow* window)
     delete dgview;
 }
 
-//void GraphicViewsHandler::onPatternDatachanged()
-//{
-//    INIT_REAC(V_patternDatachaged);
-//    OCCview->reacPatternDatachanged();
-//    OUT_REAC();
-//}
-
-//VTKGraphicView* m_VTKview;
-//
-//void DocumentHandler::switchOnVTKGraphicView()
-//{
-//    verifieVTKView();
-//
-//    //connect signals
-//    connect( m_VTKview->getPatternDataSelectionModel(), SIGNAL(selectionChanged(const QItemSelection &, const QItemSelection &) ),
-//            this, SLOT( onSelectionChanged(const QItemSelection &, const QItemSelection &) ) );
-//    connect( m_VTKview->getPatternBuilderSelectionModel(), SIGNAL( selectionChanged(const QItemSelection &, const QItemSelection &) ),
-//            this, SLOT( onSelectionChanged(const QItemSelection &, const QItemSelection &) ) );
-//    connect( m_VTKview->getGroupsSelectionModel(), SIGNAL( selectionChanged(const QItemSelection &, const QItemSelection &) ),
-//            this, SLOT( onSelectionChanged(const QItemSelection &, const QItemSelection &) ) );
-//    connect( m_VTKview->getMeshSelectionModel(), SIGNAL( selectionChanged(const QItemSelection &, const QItemSelection &) ),
-//            this, SLOT( onSelectionChanged(const QItemSelection &, const QItemSelection &) ) );
-//
-//        _showDialogBox(getDlgBox(view));
-// }
-//
-//DocumentHandler::onSelectionChanged(const QItemSelection &, const QItemSelection &)
-//{
-//  addMapConnect(++cptConnect;"onSelectionChanged");
-//  if(onAction) {return;}
-//  onAction = true;
-//
-//  ptHexaGUI->onSelectionChanged(const QItemSelection &, const QItemSelection &);
-//  m_VTKview->onSelectionChanged(const QItemSelection &, const QItemSelection &);
-//
-//  onAction = false;
-//}
-