Salome HOME
Add a header for compilation
[modules/shaper.git] / src / NewGeom / NewGeom_Module.cpp
index dae250cc3290d778e64485c4169fcf3e4c640c72..6bb769fdafa20b1bfe402eca040e8418232c6361 100644 (file)
@@ -342,6 +342,21 @@ QStringList NewGeom_Module::nestedActions(const QString& theId) const
   return QStringList();
 }
 
+//******************************************************
+void NewGeom_Module::setDocumentKind(const QString& theId, const QString& theKind)
+{
+  myDocumentType[theId] = theKind;
+}
+
+//******************************************************
+QString NewGeom_Module::documentKind(const QString& theId) const
+{
+  if (myDocumentType.contains(theId))
+    return myDocumentType[theId];
+  return QString();
+
+}
+
 //******************************************************
 void NewGeom_Module::selectionChanged()
 {