-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#include <QMap>
#include <list>
+#include <string>
typedef std::list<GEOM::GEOM_Object_ptr> ObjectList;
class GEOMBASE_EXPORT GEOMBase_Helper
{
public:
- GEOMBase_Helper( SUIT_Desktop* );
+ GEOMBase_Helper( SUIT_Desktop*, SUIT_ViewWindow* aVW = 0);
virtual ~GEOMBase_Helper();
static SUIT_ViewWindow* getActiveView();
void localSelection( const ObjectList&, const int );
void localSelection( GEOM::GEOM_Object_ptr, const std::list<int> );
void localSelection( GEOM::GEOM_Object_ptr, const int );
+ void localSelection( const std::string&, const std::string&, const std::list<int> );
void localSelection( const std::list<int> );
void localSelection( const int );
void activate( const int );
bool hasCommand () const;
void updateObjBrowser() const;
- int getStudyId () const;
SalomeApp_Study* getStudy () const;
bool checkViewWindow ();
// should be published in a study.
void showError();
- // Shows a message box with infromation about an error taken from getOperation()->GetErrorCode()
+ // Shows a message box with information about an error taken from getOperation()->GetErrorCode()
void showError( const QString& msg );
// Shows a error message followed by <msg>
// It should perform the required operation and put all new or modified objects into
// <objects> argument.Should return <false> if some error occurs during its execution.
- virtual void restoreSubShapes( SALOMEDS::Study_ptr theStudy, SALOMEDS::SObject_ptr theSObject );
+ virtual void restoreSubShapes( SALOMEDS::SObject_ptr theSObject );
// This method is called by addInStudy().
virtual GEOM::GEOM_Object_ptr getFather( GEOM::GEOM_Object_ptr theObj );