-// Copyright (C) 2013-2015 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-2023 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// Purpose : Constructor
//=======================================================================
GraphicsView_ViewManager::GraphicsView_ViewManager( SUIT_Study* theStudy,
- SUIT_Desktop* theDesktop )
-: SUIT_ViewManager( theStudy, theDesktop, new GraphicsView_Viewer( "GraphicsView" ) )
+ SUIT_Desktop* theDesktop,
+ SUIT_ViewModel* theModel )
+: SUIT_ViewManager( theStudy, theDesktop,
+ theModel ? theModel : new GraphicsView_Viewer( "GraphicsView" ) )
{
setTitle( tr( "GRAPHICS_VIEW_TITLE" ) );
}