Salome HOME
Issue #394 Undo-ing a Sketch element
[modules/shaper.git] / src / XGUI / XGUI_Displayer.h
index c1aded1faf268d1b5419f04e59fa129c8f447ef9..85900ddb30cd44942786e9f49e8ce58083b0da35 100644 (file)
@@ -206,6 +206,11 @@ class XGUI_EXPORT XGUI_Displayer
    */
   void redisplay(ObjectPtr theObject, bool isUpdateViewer = true);
 
+  /// Activates the interactive object in the local context.
+  /// \param theIO an interactive object
+  /// \param theModes - modes on which it has to be activated (can be empty)
+  void activate(const Handle(AIS_InteractiveObject)& theIO, const QIntList& theModes) const;
+
   /// Opens local context. Does nothing if it is already opened.
   void openLocalContext();