/// The operation is postponed
void postponed();
+ /// The operation is triggered
+ /// \param theState a new triggered state
+ void triggered(bool theState);
+
/// The operation is filled with existing preselection
void activatedByPreselection();
virtual void abortOperation() {}
/// Virtual method called when operation committed (see commit() method for more description)
- virtual void commitOperation() {}
+ virtual void commitOperation();
/// Virtual method called after operation committed (see commit() method for more description)
virtual void afterCommitOperation() {}
/// \return Returns TRUE if current operation can be committed, e.g. all parameters are filled
virtual bool canBeCommitted() const;
- /// Returns pointer to the root document.
- std::shared_ptr<ModelAPI_Document> document() const;
-
/// Return a widget value point by the selection and the viewer position
/// The default realization returns false
/// \param thePrs the presentation
/// before operation feature creating
CompositeFeaturePtr myParentFeature;
+ /// Last current feature before editing operation
+ FeaturePtr myCurrentFeature;
};
#endif