X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetSelector.h;h=2d3796f67361806f73d5a5efb88083f59f89db7c;hb=840655e90a46754f2dd37aac6b888ec32eec69d3;hp=4f3dd6e4af2807bd3b9c4d8fe96cec5a714d7a22;hpb=5b0a1b660acf209c220744eb75c54652ee81efde;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetSelector.h b/src/ModuleBase/ModuleBase_WidgetSelector.h index 4f3dd6e4a..2d3796f67 100755 --- a/src/ModuleBase/ModuleBase_WidgetSelector.h +++ b/src/ModuleBase/ModuleBase_WidgetSelector.h @@ -94,9 +94,13 @@ protected: /// The methiod called when widget is activated virtual void activateCustom(); - /// Returns true if selected shape corresponds to requested shape types + /// Returns true if selected shape corresponds to requested shape types. + /// If the widget type of shapes contains the faces item, the result is converted + /// to construction result and the method returns true if there is at least one face + /// in the construction. /// \param theShape a shape - bool acceptSubShape(const TopoDS_Shape& theShape) const; + /// \param theResult a selected result + bool acceptSubShape(const GeomShapePtr& theShape, const ResultPtr& theResult) const; /// Return an object and geom shape by the viewer presentation /// \param thePrs a selection @@ -107,9 +111,6 @@ protected: GeomShapePtr& theShape); //----------- Class members ------------- -protected: - /// Reference to workshop - ModuleBase_IWorkshop* myWorkshop; }; #endif