X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetMultiSelector.h;h=385eabf3fc4dc9f7f0c5bf138c1ec4059cdd09f2;hb=074b1d850036614d4a08999c4bc4e8630db63d2b;hp=bdb1a46eddf75f4409a19db057d769d27cb9b214;hpb=a4702753c7da76a6434c9458f11ffce426be6e75;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetMultiSelector.h b/src/ModuleBase/ModuleBase_WidgetMultiSelector.h index bdb1a46ed..385eabf3f 100644 --- a/src/ModuleBase/ModuleBase_WidgetMultiSelector.h +++ b/src/ModuleBase/ModuleBase_WidgetMultiSelector.h @@ -73,6 +73,10 @@ class MODULEBASE_EXPORT ModuleBase_WidgetMultiSelector : public ModuleBase_Widge /// The methiod called when widget is deactivated virtual void deactivate(); + /// Fills the attribute with the value of the selected owner + /// \param theOwner a selected owner + virtual bool setSelection(const Handle_SelectMgr_EntityOwner& theOwner); + public slots: /// Slot is called on selection type changed void onSelectionTypeChanged(); @@ -95,6 +99,13 @@ protected slots: /// \return True in success virtual bool storeValueCustom() const; + /// 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 + /// \param isBackup a boolean flag, if true, store values from the attribute + /// to backup, otherwise set the backed up values to the attribute + virtual void backupAttributeValue(const bool isBackup); + /// Set current shape type for selection void setCurrentShapeType(const TopAbs_ShapeEnum theShapeType);