Salome HOME
Merge branch 'nct/helpmenu'
[modules/med.git] / src / MEDCalc / MEDCalcConstants.hxx
index f6fbefdc1e85602a07d801142ffc1df7e9bb1181..11b8f22a27005519dc858b35d2d5ab8d880075ca 100644 (file)
@@ -17,6 +17,8 @@
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
+#ifndef SRC_MEDCALC_CMP_MEDCALCCONSTANTS_HXX_
+
 // This constant strings are used to specify an attribute name for
 // AttributeParameter attributes associated to a SObject
 #define IS_IN_WORKSPACE  "isInWorkspace"
 #define IS_PRESENTATION  "isPresentation"
 #define PRESENTATION_TYPE  "presentationType"
 
-static const int NB_TYPE_OF_FIELDS = 4;
-static const char* mapTypeOfFieldLabel[NB_TYPE_OF_FIELDS] =
+const int NB_TYPE_OF_FIELDS = 4;
+const char* const mapTypeOfFieldLabel[NB_TYPE_OF_FIELDS] =
   {"ON_CELLS", "ON_NODES", "ON_GAUSS_PT", "ON_GAUSS_NE" };
 
+// IDs we use for actions we want to export in help info panel
+namespace FIELDSOp {
+  enum {
+    OpAddDataSource             = 2041,   // Menu Add Data Source
+    // Simplified Visu  ----------------------------------------------------------
+    OpScalarMap                 = 2501,   // Menu Scalar Map
+    OpContour                   = 2502,   // Menu Contour
+    OpVectorFields              = 2503,   // Menu Vector fields
+    OpSlices                    = 2504,   // Menu Slices
+    OpDeflectionShape           = 2505,   // Menu Deflection
+    OpPointSprite               = 2506,   // Menu PointSprite
+    // Interpolation
+    OpProcessingInterpolation   = 2601,   // Menu Processing interpolation
+  };
+}
+#endif