+ /// Set the shape to the internal preview field
+ /// \param theShape a preview shape
+ void setPreview(const boost::shared_ptr<GeomAPI_Shape>& theShape); ///< the preview shape
+ /// Return the shape from the internal preview field
+ /// \return theShape a preview shape
+ const boost::shared_ptr<GeomAPI_Shape>& getPreview() const;
+ /// Sets the higher-level feature for the sub-feature (sketch for line)
+ void setSketch(SketchPlugin_Sketch* theSketch) {mySketch = theSketch;}
+ /// Returns the sketch of this feature
+ SketchPlugin_Sketch* sketch();
+ /// initializes mySketch
+ SketchPlugin_Feature();
+
+ friend class SketchPlugin_Sketch;