Salome HOME
Issue #1730: do not hide sketch objects if sketch editing is active
[modules/shaper.git] / src / ExchangePlugin / ExchangePlugin_Tools.h
index bc3494229c29fb9fb6d89863f033a135cfbcc749..c481d8ddc2588b6eab4d687f0a49ef5d37334c4f 100644 (file)
@@ -12,9 +12,9 @@
 #include <list>
 #include <string>
 
-/**\class ExchangePlugin_Tools
- * \ingroup Plugins
- * \brief Internal tools for the plugin.
+/**
+ * \class ExchangePlugin_Tools
+ * \brief Internal tools for the ExchangePlugin.
  */
 class EXCHANGEPLUGIN_EXPORT ExchangePlugin_Tools {
 public:
@@ -22,6 +22,12 @@ public:
   static std::list<std::string> split(const std::string& theString,
                                       char theDelimiter);
 
+  /// Converts string representation of selection type to XAO dimension.
+  static std::string selectionType2xaoDimension(const std::string& theString);
+
+  /// Converts string representation of XAO dimension to selection type.
+  static std::string xaoDimension2selectionType(const std::string& theDimension);
+
 };
 
 #endif /* EXCHANGEPLUGIN_TOOLS_H_ */