X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_DataModel.h;h=dde52d05706e242d126b9baef36c82d8427199c5;hb=81c9f5cdf82909d0aebd2c491c50fa7516cc80b7;hp=077905a5ff96fdb811f9bf422d5b2cd27ad57a29;hpb=7ec27726afa16572a7cab1d7936c8e899674050b;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_DataModel.h b/src/HYDROGUI/HYDROGUI_DataModel.h index 077905a5..dde52d05 100644 --- a/src/HYDROGUI/HYDROGUI_DataModel.h +++ b/src/HYDROGUI/HYDROGUI_DataModel.h @@ -320,6 +320,18 @@ protected: const QString& theParentEntry, const bool theIsBuildTree , const bool theIsInOperation = false ); + /** + * Build partition for object. + * \param theObject gui object for which the partition will be build + * \param theObjects sequence of builded objects + * \param thePartName name of created partition + * \param theIsCreateEmpty if true then partition will be created in any case + */ + void buildObjectPartition( SUIT_DataObject* theObject, + const HYDROData_SequenceOfObjects& theObjects, + const QString& thePartName, + const bool theIsCreateEmpty ); + /** * Build tree of a model object. * \param theParent a created object will be appended as a child of this object @@ -351,6 +363,7 @@ protected: protected: QString myStudyURL; ///< the saved/opened document URL + QByteArray myStates; }; #endif