+ //! Set the document kind of the action by the given command Id
+ //! \param theId - the command ID
+ //! \param theKind - the document kind
+ virtual void setDocumentKind(const QString& theId, const QString& theKind);
+
+ //! Returns the document kind of the action by the given command ID
+ virtual QString documentKind(const QString& theId) const;
+
+ //! Returns interface to Salome viewer
+ virtual ModuleBase_IViewer* viewer() const
+ {
+ return myProxyViewer;
+ }
+
+ //! Returns list of defined actions (just by NewGeom module)
+ virtual QList<QAction*> commandList() const;
+
+ //! Returns list of Ids of defined actions (just by NewGeom module)
+ virtual QStringList commandIdList() const;
+
+ /// Redefinition of virtual function.
+ /// \param theClient name of pop-up client
+ /// \param theMenu popup menu instance
+ /// \param theTitle menu title.
+ virtual void contextMenuPopup(const QString& theClient, QMenu* theMenu, QString& theTitle);
+
+ /// Redefinition of virtual function for preferences creation.
+ virtual void createPreferences();