X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FXGUI%2FXGUI_SalomeConnector.h;h=0c36dada2d5113a860c4ca6e388abb3b0bd2a4f5;hb=94ba553e7b92f11a936e027b49bbd1d501eeee44;hp=e4a0276dbf2f728bb19a93653407966d8a26a7c8;hpb=e30796dab1aa68c01201b2b89d4292d3fcbbc4d4;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_SalomeConnector.h b/src/XGUI/XGUI_SalomeConnector.h index e4a0276db..0c36dada2 100644 --- a/src/XGUI/XGUI_SalomeConnector.h +++ b/src/XGUI/XGUI_SalomeConnector.h @@ -67,6 +67,14 @@ class XGUI_EXPORT XGUI_SalomeConnector //! Returns list of nested actions according to the given command ID virtual QStringList nestedActions(const QString& theId) const = 0; + //! 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) = 0; + + //! Returns the document kind of the action by the given command ID + virtual QString documentKind(const QString& theId) const = 0; + //! Returns interface to Salome viewer virtual ModuleBase_IViewer* viewer() const = 0;