]> Creatis software - creaWT.git/blobdiff - wt/bbtk_wt_PKG/src/bbwtOutputText.cxx~
clean files tmp
[creaWT.git] / wt / bbtk_wt_PKG / src / bbwtOutputText.cxx~
diff --git a/wt/bbtk_wt_PKG/src/bbwtOutputText.cxx~ b/wt/bbtk_wt_PKG/src/bbwtOutputText.cxx~
deleted file mode 100644 (file)
index 900670c..0000000
+++ /dev/null
@@ -1,110 +0,0 @@
-//===== 
-// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
-//===== 
-#include "bbwtOutputText.h"
-#include "bbwtPackage.h"
-namespace bbwt
-{
-       class OutputTextWidget : public Wt::WContainerWidget
-       {
-               public:
-                       OutputTextWidget(
-                                                                                               Wt::WContainerWidget *parent,
-                                                                                               Wt::WString text);
-                       ~OutputTextWidget();
-
-                       
-                       void setTextValue(Wt::WString newText);
-                       Wt::WString getTextValue();
-                       
-
-               private:                                        
-                       
-                       Wt::WText* mText;
-                       
-       };
-
-       OutputTextWidget::OutputTextWidget(
-                                                                                               Wt::WContainerWidget *parent,
-                                                                                               Wt::WString text)
-                                                                                               :
-                                                                                               Wt::WContainerWidget(parent)
-       {
-               
-               Wt::WContainerWidget *panel = this;
-               mText = new Wt::WText(text,panel);              
-                       
-       }
-
-       OutputTextWidget::~OutputTextWidget()
-       {
-       }
-
-       void OutputTextWidget::setTextValue(Wt::WString newText)
-       {
-               std::cout<<"CAMBIANDO TEXTO--"<<bbtk::wt2std(newText)<<std::endl;
-//EED          mText->setText(newText);
-       }
-
-       Wt::WString OutputTextWidget::getTextValue()
-       {
-               return mText->text();
-       }
-
-       
-
-BBTK_ADD_BLACK_BOX_TO_PACKAGE(wt,OutputText)
-BBTK_BLACK_BOX_IMPLEMENTATION(OutputText,bbtk::WtBlackBox);
-//===== 
-// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
-//===== 
-void OutputText::Process()
-{
-
-   std::string msg;
-    if (bbGetInputTitle()!="")
-      {
-       msg = bbGetInputTitle()+": " + bbGetInputIn();
-      }
-    else
-      {
-       msg = bbGetInputIn();
-      }
-   ((OutputTextWidget*)bbGetOutputWidget())->setTextValue( bbtk::std2wt( msg ) ); 
-  
-}
-//===== 
-// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
-//===== 
-void OutputText::CreateWidget(Wt::WContainerWidget* parent)
-{
-   
-   bbSetOutputWidget( new OutputTextWidget(parent,bbtk::std2wt(bbGetInputIn()))) ;
-//EED   Process();
-  
-}
-//===== 
-// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
-//===== 
-void OutputText::bbUserSetDefaultValues()
-{
-
-}
-//===== 
-// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
-//===== 
-void OutputText::bbUserInitializeProcessing()
-{
-
-}
-//===== 
-// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
-//===== 
-void OutputText::bbUserFinalizeProcessing()
-{
-
-}
-}
-// EO namespace bbwt
-
-