//===== // 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 "bbwtOutpuText.h" #include "bbwtPackage.h" namespace bbwt { BBTK_ADD_BLACK_BOX_TO_PACKAGE(wt,OutpuText) BBTK_BLACK_BOX_IMPLEMENTATION(OutpuText,bbtk::WxBlackBox); //===== // 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 OutpuText::Process() { std::string msg; if (bbGetInputTitle()!="") { msg = bbGetInputTitle()+": " + bbGetInputIn(); } else { msg = bbGetInputIn(); } ((wxStaticText*)bbGetOutputWidget())->SetLabel( bbtk::std2wx( 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 OutpuText::CreateWidget(wxWindow* parent) { bbSetOutputWidget( new wxStaticText ( parent , -1 , _T("") ) ); } //===== // 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 OutpuText::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 OutpuText::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 OutpuText::bbUserFinalizeProcessing() { } } // EO namespace bbwt