]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
View type definition
authorvsv <vsv@opencascade.com>
Fri, 24 Jun 2005 10:21:40 +0000 (10:21 +0000)
committervsv <vsv@opencascade.com>
Fri, 24 Jun 2005 10:21:40 +0000 (10:21 +0000)
src/Plot2d/Plot2d_ViewModel.h
src/SPlot2d/SPlot2d_ViewModel.h

index ab40293bd613ee1dca43fa4a2d725c932241f007..4189f3138a5e2fee9320dab03d8c5f8004d7ac78 100755 (executable)
@@ -19,7 +19,7 @@ class PLOT2D_EXPORT Plot2d_Viewer: public SUIT_ViewModel
   Q_OBJECT
 
 public:
-  static QString Type() { return tr("Plot2d_ViewModel"); }
+  static QString Type() { return "Plot2d"; }
 
   Plot2d_Viewer(bool theAutoDel = false);
   ~Plot2d_Viewer();
index 24a1e5e91ddef1849f13417f90f8acac8f3a8fd7..7003990aaeff6538696dab1763b09e1b510e241b 100644 (file)
@@ -19,11 +19,14 @@ class SPLOT2D_EXPORT SPlot2d_Viewer : public Plot2d_Viewer, public SALOME_View
   Q_OBJECT
 
 public:
+  static QString Type() { return "Plot2d"; }
+
   /* Construction/destruction */
   SPlot2d_Viewer( bool theAutoDel = false );
   virtual ~SPlot2d_Viewer();
 
 public:
+  virtual QString          getType() const { return Type(); }
 
   /*  interactive object management */
   void highlight( const Handle(SALOME_InteractiveObject)& IObject, bool highlight, bool update = true ) {}