Salome HOME
add method NameChanged to update title name
[modules/kernel.git] / src / KernelHelpers / SALOME_StudyEditor.cxx
index 4a0bb43969c13bb4720cbe6eaa923d824ec14a36..fe79af59de6d677b5ed284827602a6f422c14da9 100644 (file)
@@ -30,18 +30,6 @@ void SALOME_StudyEditor::setStudy(SALOMEDS::Study_ptr study) {
   _sbuilder = _study->NewBuilder();    
 }
 
-void SALOME_StudyEditor::setStudyById(int studyId) {
-  this->setStudy(KERNEL::getStudyManager()->GetStudyByID(studyId));
-}
-
-int SALOME_StudyEditor::getStudyId() {
-  if ( _study->_is_nil() ) return UNDEFINED; 
-  return _study->StudyId();
-}
-
-SALOME_StudyEditor::SALOME_StudyEditor(int studyId) {
-  this->setStudyById(studyId);
-}
 SALOME_StudyEditor::SALOME_StudyEditor(SALOMEDS::Study_ptr study) {
   this->setStudy(study);
 }