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
Introduce internal edit operation state in PartSet module in order to have a virtual...
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_WorkshopListener.h
diff --git
a/src/XGUI/XGUI_WorkshopListener.h
b/src/XGUI/XGUI_WorkshopListener.h
index 71d0a99852c4ce2e572847f8ed6f01d3a74c8206..cf611cb264680e099968938df799dfa85ffb36c5 100755
(executable)
--- a/
src/XGUI/XGUI_WorkshopListener.h
+++ b/
src/XGUI/XGUI_WorkshopListener.h
@@
-28,9
+28,8
@@
class XGUI_EXPORT XGUI_WorkshopListener : public QObject, public Events_Listener
{
Q_OBJECT
public:
{
Q_OBJECT
public:
- /// Constructor
- /// \param theConnector a Salome connector object.
- /// Used only if the workshop is launched in Salome environment
+ /// Constructor. Used only if the workshop is launched in Salome environment
+ /// \param theWorkshop a reference to workshop.
XGUI_WorkshopListener(ModuleBase_IWorkshop* theWorkshop);
virtual ~XGUI_WorkshopListener();
XGUI_WorkshopListener(ModuleBase_IWorkshop* theWorkshop);
virtual ~XGUI_WorkshopListener();
@@
-63,8
+62,14
@@
protected:
/// Displaus object and fit all viewer if the object is first (update viewer will not be called)
/// Asks the module whether the object can be displayed
/// \param theObj an object
/// Displaus object and fit all viewer if the object is first (update viewer will not be called)
/// Asks the module whether the object can be displayed
/// \param theObj an object
+ /// \param theFirstVisualizedBody an output state whether there are not object displayed in the view
+ /// and the displayed object is a body
/// \return true if the object is displayed
/// \return true if the object is displayed
- bool displayObject(ObjectPtr theObj);
+ bool displayObject(ObjectPtr theObj, bool& theFirstVisualizedBody);
+
+ /// Calls the module method of cusomize object for the feature of the current operation
+ /// \return true if the object is modified
+ bool customizeCurrentObject();
/// Returns the workshop
XGUI_Workshop* workshop() const;
/// Returns the workshop
XGUI_Workshop* workshop() const;