Salome HOME
Issue #1856: Save state of tree nodes
[modules/shaper.git] / src / PartSet / PartSet_MenuMgr.h
index 5061b1fec3fdaf0f9f3d59b94b30b49834a76ace..454c0acf82391a9155ecfc8c6577a85b994294c4 100644 (file)
@@ -8,6 +8,7 @@
 #define PartSet_MenuMgr_H
 
 #include <ModelAPI_Feature.h>
+#include <ModelAPI_ResultPart.h>
 
 #include <QObject>
 #include <QMap>
@@ -56,6 +57,9 @@ public:
   /// Returns list of granted operation indices
   virtual void grantedOperationIds(ModuleBase_Operation* theOperation, QStringList& theIds) const;
 
+  /// Activates a Part document
+  void activatePart(ResultPartPtr thePart) const;
+
 public slots:
   /// Processes the context menu action click
   /// \param isChecked a state of toggle if the action is checkable