]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/BaseWidget.cxx
...
[cpPlugins.git] / lib / cpPlugins / BaseWidget.cxx
index b8485c4b4d7dec5fb80446222254d742bfde720d..7bcca5266366eb932c777aaae49cbd42d2726034 100644 (file)
@@ -2,6 +2,15 @@
 
 #ifdef cpPlugins_QT4
 
+// -------------------------------------------------------------------------
+itk::ModifiedTimeType cpPlugins::BaseWidget::
+GetMTime( ) const
+{
+  // Let time only be managed by itk -> synch issues when data is
+  // represented by vtk
+  return( this->itk::Object::GetMTime( ) );
+}
+
 // -------------------------------------------------------------------------
 const cpPlugins::BaseWidget::TMPRWidget* cpPlugins::BaseWidget::
 GetMPRViewer( ) const
@@ -72,6 +81,8 @@ BaseWidget( )
     m_MPRViewer( NULL ),
     m_SingleInteractor( NULL )
 {
+  this->m_Parameters.ConfigureAsString( "Text" );
+  this->m_Parameters.SetString( "Text", "" );
 }
 
 // -------------------------------------------------------------------------