void activate( const int );
void globalSelection( const int = GEOM_ALLOBJECTS, const bool = false );
void globalSelection( const TColStd_MapOfInteger&, const bool = false );
+ void globalSelection( const TColStd_MapOfInteger&, const QList<int>& ,const bool = false );
void updateViewer ();
void prepareSelection( const ObjectList&, const int );
inline void setPrefix( const QString& prefix ) { myPrefix = prefix; }
QString getPrefix( GEOM::GEOM_Object_ptr = GEOM::GEOM_Object::_nil() ) const;
-
- const SALOME_ListIO& selectedIO();
- // Function returns a list of SALOME_InteractiveObject's from
- // selection manager in GUI
-
- int IObjectCount() ;
- // Function returns the number of selected objects
-
- Handle(SALOME_InteractiveObject) firstIObject() ;
- // Function returns the first selected object in the list
- // of selected objects
-
- Handle(SALOME_InteractiveObject) lastIObject() ;
- // Function returns the last selected object in the list
- // of selected objects
bool selectObjects( ObjectList& objects );
// Selects list of objects
// 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 );
+ // This method is called by addInStudy().
+
virtual GEOM::GEOM_Object_ptr getFather( GEOM::GEOM_Object_ptr theObj );
// This method is called by addInStudy(). It should return a father object
// for <theObj> or a nil reference if <theObj> should be published
// as a top-level object.
- virtual const char* getNewObjectName() const;
+ virtual QString getNewObjectName() const;
virtual void addSubshapesToStudy();
GEOM::GEOM_Object_ptr findObjectInFather( GEOM::GEOM_Object_ptr theFather, const QString& theName );