Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simple fix for 40160 [CEA] No name in SHAPER
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_WorkshopListener.h
diff --git
a/src/XGUI/XGUI_WorkshopListener.h
b/src/XGUI/XGUI_WorkshopListener.h
old mode 100755
(executable)
new mode 100644
(file)
index
cece7d9
..
70cca03
--- a/
src/XGUI/XGUI_WorkshopListener.h
+++ b/
src/XGUI/XGUI_WorkshopListener.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-20
17 CEA/DEN, EDF R&D
+// Copyright (C) 2014-20
24 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// 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
//
// 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 XGUI_WORKSHOP_LISTENER_H
//
#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
/// if forced redisplay is false
/// \param theForceRedisplay a flag to customize object even always
/// \return true if the object is modified
- bool customize
CurrentObject
(const std::set<ObjectPtr>& theObjects, bool theForceRedisplay);
+ bool customize
Feature
(const std::set<ObjectPtr>& theObjects, bool theForceRedisplay);
/// Returns the workshop
XGUI_Workshop* workshop() const;
private:
/// 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;
XGUI_Workshop* myWorkshop; // the current workshop
bool myUpdatePrefs;