-// Copyright (C) 2014-2017 CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#ifndef ModuleBase_WidgetSelector_H
/// a shape. If the attribute do not uses the shape, it is empty
virtual QList<std::shared_ptr<ModuleBase_ViewerPrs>> getAttributeSelection() const;
+ virtual bool isWholeResultAllowed() const;
+
protected:
/// Returns true if envent is processed. The default implementation is empty, returns false.
virtual bool processSelection();
ObjectPtr& theObject,
GeomShapePtr& theShape);
- //----------- Class members -------------
- /// Returns a name in the next form: attribute_feature_name/attribute_id
- /// \param theAttribute a model attribute
- /// \param theWorkshop a workshop class instance
- /// \return string value
- static std::string generateName(const AttributePtr& theAttribute,
- ModuleBase_IWorkshop* theWorkshop);
-
protected:
bool myIsPointsFiltering;
};