X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_Operation.h;h=97e742eae9d3e346154ac63feb2c6043ab196486;hb=c8e35a67c60489a46aaf7c8ff75001511ac2635b;hp=f43ed76e18752ad394676cb25c6d03e983e74639;hpb=053bed33433b464fc9dc4f876310cb7b344b3031;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_Operation.h b/src/ModuleBase/ModuleBase_Operation.h index f43ed76e1..97e742eae 100644 --- a/src/ModuleBase/ModuleBase_Operation.h +++ b/src/ModuleBase/ModuleBase_Operation.h @@ -148,6 +148,10 @@ signals: /// 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(); @@ -210,12 +214,6 @@ signals: /// Virtual method called after operation resume (see resume() method for more description) virtual void resumeOperation() {} - /// Send update message by loop - void flushUpdated(); - - /// Send created message by loop - void flushCreated(); - /// Creates an operation new feature /// \param theFlushMessage the flag whether the create message should be flushed /// \returns the created feature @@ -225,9 +223,6 @@ signals: /// \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 document() const; - /// Return a widget value point by the selection and the viewer position /// The default realization returns false /// \param thePrs the presentation @@ -269,6 +264,8 @@ signals: /// before operation feature creating CompositeFeaturePtr myParentFeature; + /// Last current feature before editing operation + FeaturePtr myCurrentFeature; }; #endif