]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/BaseObjects/Widget.cxx
Line widget added.
[cpPlugins.git] / lib / cpPlugins / BaseObjects / Widget.cxx
index 35bf57aaaab421b76b89f6a7619408f844abe812..93bf1b93b9757957d35aacf41ddcb6638d24141d 100644 (file)
@@ -16,6 +16,20 @@ IsInteractive( )
   return( true );
 }
 
+// -------------------------------------------------------------------------
+void cpPlugins::BaseObjects::Widget::
+EnabledOn( )
+{
+  this->SetEnabled( true );
+}
+
+// -------------------------------------------------------------------------
+void cpPlugins::BaseObjects::Widget::
+EnabledOff( )
+{
+  this->SetEnabled( false );
+}
+
 // -------------------------------------------------------------------------
 cpPlugins::BaseObjects::Widget::
 Widget( )