Salome HOME
The local selection restore for a feature vertex (it is checked on the line feature)
[modules/shaper.git] / src / XGUI / XGUI_Displayer.h
index 176f52bc4ee7feda4b1cb925b983068ae9d2871a..154e4b0206178a826d45e694302ab64662820f94 100644 (file)
@@ -89,6 +89,13 @@ class XGUI_EXPORT XGUI_Displayer
 
   void removeFilters();
 
+  /**
+   * Sets a flag to the displayer whether the internal viewer can be updated by 
+   * the updateViewer method call. If it is not enabled, this method do nothing
+   * \param isEnabled a boolean value
+   */
+  bool enableUpdateViewer(const bool isEnabled);
+
   /// Updates the viewer
   void updateViewer();
 
@@ -188,6 +195,8 @@ class XGUI_EXPORT XGUI_Displayer
   //bool myUseExternalObjects;
   // Selection modes installed for external objects in local context
   QIntList myActiveSelectionModes;
+
+  bool myEnableUpdateViewer;  /// the enable update viewer flag
 };
 
 #endif