X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Displayer.h;h=85900ddb30cd44942786e9f49e8ce58083b0da35;hb=9c54fb01877c455abb5b5ff22e384468f795b328;hp=b917e55eb6e70e314d2a54b0700f6ad3738885f1;hpb=7b95df2653284e65f416373ff010af49ee8c68ef;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Displayer.h b/src/XGUI/XGUI_Displayer.h index b917e55eb..85900ddb3 100644 --- a/src/XGUI/XGUI_Displayer.h +++ b/src/XGUI/XGUI_Displayer.h @@ -139,7 +139,7 @@ class XGUI_EXPORT XGUI_Displayer /// Activates the given object (it can be selected) /// \param theObject object to activate /// \param theModes - modes on which it has to be activated (can be empty) - void activate(ObjectPtr theObject, const QIntList& theModes); + //void activate(ObjectPtr theObject, const QIntList& theModes); /// Returns the modes of activation /// \param theObject the feature or NULL if it not visualized @@ -148,7 +148,7 @@ class XGUI_EXPORT XGUI_Displayer /// Activates the given object with default modes /// \param theObject object to activate - void activate(ObjectPtr theObject); + //void activate(ObjectPtr theObject); /// Returns true if the given object can be selected /// \param theObject object to check @@ -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();