- /// \param theSelected the list of selected presentations
- virtual void mouseMoved(QMouseEvent* theEvent, Handle_V3d_View theView,
- const std::list<XGUI_ViewerPrs>& theSelected);
+ virtual void mouseMoved(QMouseEvent* theEvent, Handle_V3d_View theView);
+
+ /// Returns the list of the nested features
+ /// \return the list of subfeatures
+ virtual std::list<FeaturePtr> subFeatures() const;
+
+ /// Virtual method called when operation stopped - committed or aborted.
+ /// Emits a signal to hide the preview of the operation
+ virtual void stopOperation();
+
+ /// Returns whether the nested operations are enabled.
+ /// The state can depend on the operation current state.
+ /// It returns true after the sketch plane is choosen.
+ /// \return enabled state
+ virtual bool isNestedOperationsEnabled() const;
+
+ /// Returns whether the sketch plane is set
+ /// \return the boolean value whether the sketch is set
+ bool hasSketchPlane() const;
+
+ /// Set the plane to the current sketch
+ /// \param theShape the shape
+ void setSketchPlane(const TopoDS_Shape& theShape);
+
+ /// If operation needs to redisplay its result during operation
+ /// then this method has to return True
+ virtual bool hasPreview() const { return false; }