Salome HOME
Join modifications from branch OCC_debug_for_3_2_0b1
[modules/superv.git] / src / SUPERVGUI / SUPERVGUI.h
index 12d6986a197d2dd74e4c262e41b9a455162aafa4..803043e2b0b6c48e1a43200a1b047614825a1916 100644 (file)
@@ -36,6 +36,7 @@
 #include "SUPERVGUI_Main.h"
 
 #include "SalomeApp_Module.h"
+#include "SALOMEDSClient.hxx"
 
 class SUIT_Study;
 
@@ -110,6 +111,24 @@ class SUPERVGUI: public SalomeApp_Module {
 
     QMap<QString, QString> getInterfaceNameMap() const;
 
+    /*!
+     * \brief The method nullify myInitalViewFrame variable
+     * to avoid using this view frame once more, it is using
+     * after add any node into first new dataflow in study.
+     */
+    void nullifyInitialVF() { if ( myInitialViewFrame ) myInitialViewFrame = 0; }
+
+    // mkr : IPAL10825
+    QColor getIVFBackgroundColor() { return myIVFBackgroundColor; }
+    void   setIVFBackgroundColor( QColor theColor ) { if ( myInitialViewFrame ) myIVFBackgroundColor = theColor; }
+
+    // mkr : PAL7037
+    /*!
+     * \brief The method update name of the given dataflow, if this dataflow is in study.
+     * Returns true if update was done.
+     */
+    bool updateDataFlowSOName( SUPERV::Graph_ptr theDataflow );
+
   signals:
     void KillMainThread(bool theValue);
 
@@ -127,7 +146,7 @@ class SUPERVGUI: public SalomeApp_Module {
       
   protected:
     virtual CAM_DataModel* createDataModel();
-    virtual SalomeApp_Selection* createSelection() const;
+    virtual LightApp_Selection* createSelection() const;
 
   private:
     void loadEngine(SALOME_NamingService* namingService);
@@ -158,6 +177,7 @@ class SUPERVGUI: public SalomeApp_Module {
     bool                   myFirstActivation;
     bool                   myAllGraphsClosed;
     SUPERVGraph_ViewFrame* myInitialViewFrame;
+    QColor                 myIVFBackgroundColor; // mkr : IPAL10825
 };
 
 #endif