]> SALOME platform Git repositories - modules/shaper.git/blob - src/NewGeom/NewGeom_DataModel.cpp
Salome HOME
Merge branch 'master' of newgeom:newgeom.git
[modules/shaper.git] / src / NewGeom / NewGeom_DataModel.cpp
1 #include "NewGeom_DataModel.h"
2 #include "NewGeom_Module.h"
3
4 NewGeom_DataModel::NewGeom_DataModel(NewGeom_Module* theModule)
5     : LightApp_DataModel(theModule), myModule(theModule)
6 {
7 }
8
9 NewGeom_DataModel::~NewGeom_DataModel()
10 {
11 }
12
13 bool NewGeom_DataModel::open(const QString& thePath, CAM_Study* theStudy, QStringList theFiles)
14 {
15   return true;
16 }
17
18 bool NewGeom_DataModel::save(QStringList& theFiles)
19 {
20   return true;
21 }
22
23 bool NewGeom_DataModel::saveAs(const QString& thePath, CAM_Study* theStudy, QStringList& theFiles)
24 {
25   myStudyPath = thePath;
26   return save(theFiles);
27 }
28
29 bool NewGeom_DataModel::close()
30 {
31   return LightApp_DataModel::close();
32 }
33
34 bool NewGeom_DataModel::create(CAM_Study* theStudy)
35 {
36   return true;
37 }
38
39 bool NewGeom_DataModel::isModified() const
40 {
41   return false;
42 }
43
44 bool NewGeom_DataModel::isSaved() const
45 {
46   return true;
47 }
48
49 void NewGeom_DataModel::update(LightApp_DataObject* theObj, LightApp_Study* theStudy)
50 {
51 }