Salome HOME
Fix bug 10955: Collisions with 'Ctrl+I' and 'Ctrl+M' hot keys.
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_Swig.hxx
index 3cfe7c11eb1c8a3e4a2f0944ba28cc30893170e1..5cde850d804b7a29a73304d98d5c3fbf90c66221 100644 (file)
@@ -1,4 +1,4 @@
-//  SMESH SMESHGUI : GUI for SMESH component
+//  SMESH SMESH : GUI for SMESH component
 //
 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
 #include CORBA_SERVER_HEADER(SALOMEDS)
 #include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
 
-class SMESHGUI_Swig
+class SMESH_Swig
 {
 public:
-  SMESHGUI_Swig();
-  ~SMESHGUI_Swig();
+  SMESH_Swig();
+  ~SMESH_Swig();
     
-  static void setOrb();
-
   void Init(int studyID);
 
   const char* AddNewMesh(const char* IOR);
@@ -63,24 +61,17 @@ public:
 
   void SetName(const char* Entry, const char* Name);
 
+  /*!
+   * \brief Set mesh icon according to compute status
+    * \param Mesh_Entry - entry of a mesh
+    * \param isComputed - is mesh computed or not
+   */
+  void SetMeshIcon(const char* Mesh_Entry, const bool isComputed);
+
 private:
   SALOMEDS::Study_var        myStudy;
   SALOMEDS::StudyBuilder_var myStudyBuilder;
   SALOMEDS::SComponent_var   mySComponentMesh;
-
-  // Tags definition 
-  long Tag_HypothesisRoot;
-  long Tag_AlgorithmsRoot;
-  
-  long Tag_RefOnShape;
-  long Tag_RefOnAppliedHypothesis;
-  long Tag_RefOnAppliedAlgorithms;
-  
-  long Tag_SubMeshOnVertex;
-  long Tag_SubMeshOnEdge;
-  long Tag_SubMeshOnFace;
-  long Tag_SubMeshOnSolid;
-  long Tag_SubMeshOnCompound;
 };