]> Creatis software - cpPlugins.git/blob - lib/cpPlugins/BaseObjects/Widget.cxx
...
[cpPlugins.git] / lib / cpPlugins / BaseObjects / Widget.cxx
1 #include <cpPlugins/BaseObjects/Widget.h>
2
3 // -------------------------------------------------------------------------
4 itk::ModifiedTimeType cpPlugins::BaseObjects::Widget::
5 GetMTime( ) const
6 {
7   // Let time only be managed by itk -> synch issues when data is
8   // represented by vtk
9   return( this->itk::Object::GetMTime( ) );
10 }
11
12 // -------------------------------------------------------------------------
13 bool cpPlugins::BaseObjects::Widget::
14 IsInteractive( )
15 {
16   return( true );
17 }
18
19 // -------------------------------------------------------------------------
20 void cpPlugins::BaseObjects::Widget::
21 EnabledOn( )
22 {
23   this->SetEnabled( true );
24 }
25
26 // -------------------------------------------------------------------------
27 void cpPlugins::BaseObjects::Widget::
28 EnabledOff( )
29 {
30   this->SetEnabled( false );
31 }
32
33 // -------------------------------------------------------------------------
34 cpPlugins::BaseObjects::Widget::
35 Widget( )
36   : Superclass( )
37 {
38   this->m_Parameters.ConfigureAsString( "Text", "" );
39 }
40
41 // -------------------------------------------------------------------------
42 cpPlugins::BaseObjects::Widget::
43 ~Widget( )
44 {
45 }
46
47 // eof - $RCSfile$