- /// Add menu atems for viewer into the given menu (used in SALOME mode)
- /// \param theMenu a popup menu to be shown in the viewer
- void addViewerItems(QMenu* theMenu) const;
+ void addObjBrowserMenu(QMenu*) const;
+ 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();