/// /returns the instance of the description class
ModuleBase_OperationDescription* getDescription() const;
+ /// Verifies whether this operator can be commited.
+ /// \return Returns TRUE if current operation can be committed, e.g. all parameters are filled
+ virtual bool canBeCommitted() const;
+
/// Verifies whether this operator can be always started above any already running one
/// \return Returns TRUE if current operation must not be checked for ActiveOperation->IsValid( this )
/// This method must be redefined in derived operation if operation of derived class
virtual void abortOperation() = 0;
/// Virtual method called when operation committed (see commit() method for more description)
virtual void commitOperation() = 0;
+ /// Virtual method called after operation committed (see commit() method for more description)
+ /// it is important that the method is called after the stop() signal is emitted
+ virtual void afterCommitOperation() = 0;
/// Returns pointer to the root document.
boost::shared_ptr<ModelAPI_Document> document() const;