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