X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_WorkshopListener.h;h=70cca034379a2ef28740cd54f94515edd200e436;hb=4de8d53fef7532b6843d79c970f55ad46f98da62;hp=cece7d965200507740914a4479768c1daf9f395a;hpb=39bb14c5ae7df11b8c788ab0037ba5b893267204;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_WorkshopListener.h b/src/XGUI/XGUI_WorkshopListener.h old mode 100755 new mode 100644 index cece7d965..70cca0343 --- a/src/XGUI/XGUI_WorkshopListener.h +++ b/src/XGUI/XGUI_WorkshopListener.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2024 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -12,10 +12,9 @@ // // 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 +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef XGUI_WORKSHOP_LISTENER_H @@ -98,12 +97,15 @@ protected: /// if forced redisplay is false /// \param theForceRedisplay a flag to customize object even always /// \return true if the object is modified - bool customizeCurrentObject(const std::set& theObjects, bool theForceRedisplay); + bool customizeFeature(const std::set& theObjects, bool theForceRedisplay); /// Returns the workshop XGUI_Workshop* workshop() const; private: + + void setDisplayed(ObjectPtr theObject, const bool theIsLoadedScript, bool& theDisplayed); + XGUI_Workshop* myWorkshop; // the current workshop bool myUpdatePrefs;