+ /// 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
+ /// \return selected direction
+ boost::shared_ptr<GeomAPI_Dir> setSketchPlane(const TopoDS_Shape& theShape);
+
+ /// Called on selection changed when the operation is active
+ virtual void selectionChanged(ModuleBase_ISelection* theSelection);
+
+ /// If operation needs to redisplay its result during operation
+ /// then this method has to return True
+ virtual bool hasPreview() const { return false; }
+