]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkKWBlackBox.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkKWBlackBox.cxx
index f0237f9a8b3ccbe16c7e094c9c341ff4475a06d1..6994d8bcc5386662726e619c0ff308762a0f8fb3 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkKWBlackBox.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/12/08 12:54:26 $
-  Version:   $Revision: 1.6 $
+  Date:      $Date: 2008/12/11 09:50:35 $
+  Version:   $Revision: 1.7 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -110,46 +110,11 @@ namespace bbtk
   }
   //=========================================================================
 
-  //=========================================================================
-  /// Main processing method of the box.
-  void KWBlackBox::bbExecute(bool force)
-  {
-    bbtkDebugMessageInc("process",2,
-                       "=> KWBlackBox::bbExecute("<<(int)force<<") ["
-                       <<bbGetFullName()<<"]"<<std::endl);
-  
-    // If the output 'Widget' is connected then 
-    // we must execute the parent box
-    BlackBox::OutputConnectorMapType::const_iterator i 
-      = bbGetOutputConnectorMap().find("Widget");
-    
-    if ( i->second->GetConnectionVector().size() != 0 ) 
-      {
-       bbtkWarning("Execution called on '"<<bbGetFullName()
-                   <<"' although its Output 'Widget' is connected: "
-                   <<"if the widget is not created yet then it will not be! "
-                   <<"Execute the top level Layout widget to create and "
-                   <<"display the widget.");
-      }
-
-    AtomicBlackBox::bbExecute(force);
-
-    bbtkDebugMessageDec("process",2,
-                       "<= KWBlackBox::bbExecute() ["
-                       <<bbGetFullName()<<"]"<<std::endl);
-  }
-  //=========================================================================
-
 
   //=========================================================================
   void KWBlackBox::bbProcess()
   { 
-/*
-         if (bbGetOutputWidget()==0) this->bbUserCreateWidget();
-    this->bbUserProcess(); 
-    bbShowWindow();
-    //    this->bbUserOnShow();
-*/
+
     this->bbUserProcess(); 
 
     // If output widget not connected create the window