+ /// The methiod called when widget is deactivated
+ virtual void deactivate();
+
+ /// Returns pointer to workshop
+ XGUI_Workshop* workshop() const { return myWorkshop; }
+
+ /// Set pointer to workshop
+ /// \param theWork a pointer to workshop
+ void setWorkshop(XGUI_Workshop* theWork) { myWorkshop = theWork; }
+
+ /// Returns sketcher plane
+ std::shared_ptr<GeomAPI_Pln> plane() const;
+
+signals:
+ /// Signal on plane selection
+ void planeSelected(const std::shared_ptr<GeomAPI_Pln>& thePln);
+
+protected:
+ /// Saves the internal parameters to the given feature
+ /// \return True in success
+ virtual bool storeValue() const
+ {
+ return true;
+ }
+
+ /// The methiod called when widget is activated
+ virtual void activateCustom();