+ /// 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;
+
+ /// This control accepts focus
+ virtual bool focusTo();
+ virtual void setHighlighted(bool) { /*do nothing*/ };
+ virtual void enableFocusProcessing();
+
+signals:
+ /// Signal on plane selection
+ void planeSelected(const std::shared_ptr<GeomAPI_Pln>& thePln);
+
+protected:
+ /// Creates a backup of the current values of the attribute
+ /// It should be realized in the specific widget because of different
+ /// parameters of the current attribute
+ virtual void storeAttributeValue();