]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_Operation.h
Salome HOME
Add tools
[modules/shaper.git] / src / ModuleBase / ModuleBase_Operation.h
index 09b6257786cd4c10dcb9d1d5b1f4bcbc1047759a..9a34e6423d326db9d12ac3012448614579acda58 100644 (file)
@@ -56,6 +56,13 @@ Q_OBJECT
   /// /returns the instance of the description class
   ModuleBase_OperationDescription* getDescription() const { return myDescription; }
 
+  /// Returns list of granted operation indices
+  const QStringList& grantedOperationIds() const;
+
+  /// Sets list of operation indices, which can be started without the current operation stop
+  /// \param theList an ids
+  void setGrantedOperationIds(const QStringList& theList);
+
   /// Must return true if this operation can be launched as nested for any current operation
   /// and it is not necessary to check this operation on validity. By default 
   /// the operation is not granted.
@@ -168,6 +175,9 @@ private:
   /// Modified feature flag
   bool myIsModified;
 
+  /// List of operations IDs which are granted of the current operation
+  QStringList myGrantedIds;
+
   /// Access to property panel
   ModuleBase_IPropertyPanel* myPropertyPanel;
 };