- /// Add menu atems for viewer into the given menu (used in SALOME mode)
- void addViewerItems(QMenu* theMenu) const;
+ /// Add menu items for Viewer pop-up
+ void addViewerMenu(QMenu*) const;
+
+ /// Returns a list of object group names of the action
+ /// \param theName a name of the action
+ /// \return a list of group names
+ QStringList actionObjectGroups(const QString& theName);
+
+ /// Updates menu for viewer
+ void updateViewerMenu();