Index: Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_beam.h
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_beam.h	(revision 437)
+++ 	(revision )
@@ -1,34 +1,0 @@
-#ifndef GWT_BEAM_SEEN
-#define GWT_BEAM_SEEN
-
-
-#include "GWt_abstractElement.h"
-
-class GWt_beam : public GWt_abstractElement {
-    
-  WLineEdit* xEdit_; // cm
-  WLineEdit* xpEdit_; // mrad
-  WLineEdit* yEdit_; // cm
-  WLineEdit* ypEdit_; // mrad
-  WLineEdit* dlEdit_; // cm
-  WLineEdit* delEdit_; // %
-  WLineEdit* p0Edit_; // GeV/c
-      
- public :
-    
-  GWt_beam() {;}
-  GWt_beam(GWt_elementLigneFaisceau* );
-  ~GWt_beam() {;}
-  
-  virtual void dialogDone(WDialog::DialogCode code);
-    
-  inline string getMimeType() {return "htdocs/beam.jpg"; }
-  inline string getSmallImageURL() {return "htdocs/beam.jpg"; }
-  inline string getBigImageURL() {return "htdocs/beam.jpg"; }
-  inline string getName() {return "beam"; }
-  
- private :
- 
-  void initilializeDialog();
-};
-#endif
Index: Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_bend.h
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_bend.h	(revision 437)
+++ 	(revision )
@@ -1,34 +1,0 @@
-#ifndef GWT_BEND_SEEN
-#define GWT_BEND_SEEN
-
-#include "GWt_abstractElement.h"
-
-class GWt_bend : public GWt_abstractElement
-{
-  WLineEdit* angleEdit_; // deg.
-  WLineEdit* radiusEdit_; // m
-  WLineEdit* xlengthEdit_; // cm
-  WLineEdit* apertureEdit_; // cm
-  WLineEdit* beta1Edit_; // deg.
-  WLineEdit* beta2Edit_; // deg.
-  WLineEdit* momentumEdit_; // MeV/c
-       
- public :
-    
-  GWt_bend() {;}
-  GWt_bend(GWt_elementLigneFaisceau* );
-  ~GWt_bend() {;}
-  
-  virtual void dialogDone(WDialog::DialogCode code);  
-  WImage* getImage();
-  
-  inline string getMimeType() {return "htdocs/bend.jpg"; }
-  inline string getSmallImageURL() {return "htdocs/bend.jpg"; }
-  inline string getBigImageURL() {return "htdocs/bend.jpg"; }
-  inline string getName() {return "bend"; }
-  
- private :
-  
-  void initilializeDialog();
-};
-#endif
Index: Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_cell.h
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_cell.h	(revision 437)
+++ 	(revision )
@@ -1,45 +1,0 @@
-#ifndef GWT_CELL_SEEN
-#define GWT_CELL_SEEN
-
-#include "GWt_abstractElement.h"
-#include "abstractElement.h"
-
-#include <iostream>
-#include <string>
-#include <sstream>
-
-using namespace Wt;
-using namespace std;
-
-class GWt_cell : public GWt_abstractElement
-{
-  WLineEdit* lenghtElemEdit_; // cm
-  WLineEdit* apertureEdit_; // cm
-  WLineEdit* initialPhaseEdit_; // degres
-  WLineEdit* phaseStepMaxEdit_;   // degres
-  WLineEdit* acceleratingFieldEdit_; // MV/m
-  WLineEdit* acceleratingShapeFileEdit_; // string
-  WLineEdit* focusingMagFileEdit_; // string
-  WLineEdit* offsetMagEdit_; // cm
-  WLineEdit* scaleFactorEdit_;
-      
- public :
-    
-  GWt_cell() {;}
-  GWt_cell(GWt_elementLigneFaisceau* );
-  ~GWt_cell() {;}
- 
-  virtual void dialogDone(WDialog::DialogCode code);
-  WImage* getImage();
-    
-  inline string getMimeType() {return "htdocs/cell.jpg"; }
-  inline string getSmallImageURL() {return "htdocs/cell.jpg"; }
-  inline string getBigImageURL() {return "htdocs/cell.jpg"; }
-  inline string getName() {return "cell"; }
-  
- private :
-
-  void initilializeDialog();
-  
-};
-#endif
Index: Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_drift.h
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_drift.h	(revision 437)
+++ 	(revision )
@@ -1,37 +1,0 @@
-#ifndef GRAPHDRIFTELEMENT_SEEN
-#define GRAPHDRIFTELEMENT_SEEN
-
-#include "GWt_abstractElement.h"
-#include "abstractElement.h"
-
-#include <iostream>
-#include <string>
-#include <sstream>
-
-using namespace Wt;
-using namespace std;
-
-class GWt_drift : public GWt_abstractElement
-{
-  WLineEdit* xlengthEdit_;
-  WLineEdit* apertureEdit_;
-      
- public:
-    
-  GWt_drift() {;}
-  GWt_drift(GWt_elementLigneFaisceau* );
-  ~GWt_drift() {;}
-  
-  virtual void dialogDone(WDialog::DialogCode code);
-  WImage* getImage();
-    
-  inline string getMimeType() {return "htdocs/drift.jpg"; }
-  inline string getSmallImageURL() {return "htdocs/drift.jpg"; }
-  inline string getBigImageURL() {return "htdocs/drift.jpg"; }
-  inline string getName() {return "drift"; }
-  
- private :
-
-  void initilializeDialog();
-};
-#endif
Index: Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_fit.h
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_fit.h	(revision 437)
+++ 	(revision )
@@ -1,31 +1,0 @@
-#ifndef GWT_FIT_SEEN
-#define GWT_FIT_SEEN
-
-#include "GWt_abstractElement.h"
-
-class GWt_fit : public GWt_abstractElement
-{
-    
-  WComboBox* nameEdit_; // deg.
-  WLineEdit* valueEdit_; // m
-  WLineEdit* tolerEdit_; // cm
-   
- public :
-    
-  GWt_fit() {;}
-  GWt_fit(GWt_elementLigneFaisceau* );
-  ~GWt_fit() {;}
-  
-  virtual void dialogDone(WDialog::DialogCode code);
-  WImage* getImage();
-    
-  inline string getMimeType() {return "htdocs/fit.jpg"; }
-  inline string getSmallImageURL() {return "htdocs/fit.jpg"; }
-  inline string getBigImageURL() {return "htdocs/fit.jpg"; }
-  inline string getName() {return "fit"; }
-  
- private :
-  
-  void initilializeDialog();
-};
-#endif
Index: Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_mpole.h
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_mpole.h	(revision 437)
+++ 	(revision )
@@ -1,37 +1,0 @@
-#ifndef GRAPHMPOLEELEMENT_SEEN
-#define GRAPHMPOLEELEMENT_SEEN
-
-#include "GWt_abstractElement.h"
-#include "abstractElement.h"
-
-#include <iostream>
-#include <string>
-#include <sstream>
-
-using namespace Wt;
-using namespace std;
-
-class GWt_mpole : public GWt_abstractElement
-{
-  WLineEdit* orderEdit_;
-  WLineEdit* componentEdit_;
-
- public :
-  
-  GWt_mpole()  {;}
-  GWt_mpole(GWt_elementLigneFaisceau*);
-  ~GWt_mpole() {;}
-  
-  virtual void dialogDone(WDialog::DialogCode code);
-  WImage* getImage();
-    
-  inline string getMimeType() {return "htdocs/mpole.jpg";}
-  inline string getSmallImageURL() {return "htdocs/mpole.jpg";}
-  inline string getBigImageURL() {return "htdocs/mpole.jpg";}
-  inline string getName() {return "mpole";}
-  
- private :
-
-  void initilializeDialog();
-};
-#endif
Index: Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_rfgun.h
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_rfgun.h	(revision 437)
+++ 	(revision )
@@ -1,45 +1,0 @@
-#ifndef GWT_RFGUN_SEEN
-#define GWT_RFGUN_SEEN
-
-#include "GWt_abstractElement.h"
-#include "abstractElement.h"
-
-#include <iostream>
-#include <string>
-#include <sstream>
-
-using namespace Wt;
-using namespace std;
-
-
-class GWt_rfgun : public GWt_abstractElement
-{
-  WLineEdit* nmacropEdit_;
-  WLineEdit* sigma_tEdit_; // picoseconds
-  WLineEdit* sigma_rEdit_; // cm
-  WLineEdit* emit_xEdit_; // pi.mm.mrad
-  WLineEdit* emit_yEdit_; // pi.mm.mrad
-  WLineEdit* E_cinEdit_;   // MeV
-  WLineEdit* sigma_EEdit_; // MeV
-  WLineEdit* totalChargeEdit_;
-      
- public :
-    
-  GWt_rfgun() {;}
-  GWt_rfgun(GWt_elementLigneFaisceau* );
-  ~GWt_rfgun() {;}
-  
-  virtual void dialogDone(WDialog::DialogCode code);
-  WImage* getImage();
-    
-  inline string getMimeType() {return "htdocs/rfgun.jpg"; }
-  inline string getSmallImageURL() {return "htdocs/rfgun.jpg"; }
-  inline string getBigImageURL() {return "htdocs/rfgun.jpg"; }
-  inline string getName() {return "rfgun"; }
-    
- private :
-  
-  void initilializeDialog();
-
-};
-#endif
Index: Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_snapshot.h
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_snapshot.h	(revision 437)
+++ 	(revision )
@@ -1,36 +1,0 @@
-#ifndef GRAPHSNAPSHOTELEMENT_SEEN
-#define GRAPHSNAPSHOTELEMENT_SEEN
-
-#include "GWt_abstractElement.h"
-#include "abstractElement.h"
-
-#include <iostream>
-#include <string>
-#include <sstream>
-
-using namespace Wt;
-using namespace std;
-
-class GWt_snapshot : public GWt_abstractElement
-{
-  WLineEdit* snapshotFile_;
-   
- public:
-    
-  GWt_snapshot() {;}
-  GWt_snapshot(GWt_elementLigneFaisceau*,int);
-  ~GWt_snapshot() {;}
-  
-  virtual void dialogDone(WDialog::DialogCode code);
-  WImage* getImage();
-    
-  inline string getMimeType() {return "htdocs/snapshot.jpg"; }
-  inline string getSmallImageURL() {return "htdocs/snapshot.jpg"; }
-  inline string getBigImageURL() {return "htdocs/snapshot.jpg"; }
-  inline string getName() {return "snapshot"; }
-  
- private :
-
-  void initilializeDialog();
-};
-#endif
Index: Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_soleno.h
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/include/GWt_soleno.h	(revision 437)
+++ 	(revision )
@@ -1,43 +1,0 @@
-#ifndef GWTSOLENO_SEEN
-#define GWTSOLENO_SEEN
-
-#include <Wt/WCheckBox>
-
-#include "GWt_abstractElement.h"
-#include "abstractElement.h"
-
-#include <iostream>
-#include <string>
-#include <sstream>
-
-using namespace Wt;
-using namespace std;
-
-class GWt_soleno : public  GWt_abstractElement
-{
-  WLineEdit* xlengthEdit_;
-  WLineEdit* apertureEdit_;
-  WLineEdit* B0Edit_;
-  WCheckBox* varyB0Edit_;
-  
-  void updateB();
-    
- public :
-    
-  GWt_soleno() {;}
-  GWt_soleno(GWt_elementLigneFaisceau* );
-  ~GWt_soleno() {;}
-  
-  virtual void dialogDone(WDialog::DialogCode code);
-  WImage* getImage();
-  
-  inline string getMimeType() {return "htdocs/soleno.jpg"; }
-  inline string getSmallImageURL() {return "htdocs/soleno.jpg"; }
-  inline string getBigImageURL() {return "htdocs/soleno.jpg"; }
-  inline string getName() {return "soleno"; }
-  
- private :
-
-  void initilializeDialog();
-};
-#endif
Index: Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_beam.cc
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_beam.cc	(revision 437)
+++ 	(revision )
@@ -1,92 +1,0 @@
-#include "GWt_beam.h"
-#include "mixedTools.h"
-
-#include <Wt/WText>
-#include <Wt/WLineEdit>
-#include <Wt/WBreak>
-#include <Wt/WDialog>
-#include <Wt/WPushButton>
-
-GWt_beam::GWt_beam(GWt_elementLigneFaisceau* elemLigne)
-:GWt_abstractElement(new elementBeam())
-{
-  elementLigneFaiseauContainer_ = elemLigne;
-  initialize();
-}
-
-void GWt_beam::initilializeDialog() 
-{
-  string* param = beginDialog();
-
-  registerParam("int____",2000, " 1/2 horizontal beam extend rms (cm) : ");
-  getParamValue("int____");
-  getParamDescription("int____");
-  registerParam("bool____",true, " 1/2 horizontal beam extend rms (cm) : ");
-  getParamValue("bool____");
-  getParamDescription("bool____");
-
-  string t = "ttttt";
-  registerParam("str____",t, " 1/2 horizontal beam extend rms (cm) : ");
-  getParamValue("str____");
-  getParamDescription("str____");
-  
-  new WText(" 1/2 horizontal beam extend rms (cm) : ",dialog_->contents());
-  xEdit_ = new WLineEdit(param->c_str(), dialog_->contents());
-  //  new WBreak(dialog_->contents());
-  
-  new WText("1/2 horizontal beam divergence rms (mrad) : ",dialog_->contents());
-  xpEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-    
-  new WText("1/2 vertical beam extend rms (cm) : ",dialog_->contents());
-  yEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  //  new WBreak(dialog_->contents());
-  
-  new WText("1/2 horizontal beam divergence rms (mrad) : ",dialog_->contents());
-  ypEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-  
-  new WText("1/2 longitudinal beam extend rms (cm) : ",dialog_->contents());
-  dlEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  //  new WBreak(dialog_->contents());
-    
-  new WText("1/2 momentum spread rms (mrad) : ",dialog_->contents());
-  delEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-    
-  new WText("momentum of the central trajectory (GeV/c) : ",dialog_->contents());
-  p0Edit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-
-  WPushButton *annule= new WPushButton("cancel",dialog_->contents()); 
-  annule->clicked().connect(dialog_, &Wt::WDialog::reject);
-  WPushButton *submit= new WPushButton("OK",dialog_->contents());
-  submit->clicked().connect(dialog_, &Wt::WDialog::accept);
-  dialog_->finished().connect(this, &GWt_beam::dialogDone);  
-}
-
-void GWt_beam::dialogDone(WDialog::DialogCode code)
-{
-  if (code != Wt::WDialog::Accepted) return;
-
-  unsigned nbParam = abstractElement_->getNbParams();
-  string* envoi = new string[nbParam+1];
-  int compteur = -1;
-  
-  envoi[++compteur] = mixedTools::intToString(nbParam);
-  envoi[++compteur] = labelEdit_->text().toUTF8();
-  envoi[++compteur] = xEdit_->text().toUTF8();
-  envoi[++compteur] = xpEdit_->text().toUTF8();
-  envoi[++compteur] = yEdit_->text().toUTF8();
-  envoi[++compteur] = ypEdit_->text().toUTF8();
-  envoi[++compteur] = dlEdit_->text().toUTF8();
-  envoi[++compteur] = delEdit_->text().toUTF8();
-  envoi[++compteur] = p0Edit_->text().toUTF8();
-  if ( compteur !=  (int)nbParam ) {
-    cerr << " GWt_beam::dialogDone() pb nb de parametres, compteur = " << compteur << " nbParam= " << nbParam << endl;
-    return;
-  }
-  abstractElement_->setParametersString(envoi);
-  updateLabelAndToolTipWidget();
-  delete [] envoi;
-}
Index: Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_bend.cc
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_bend.cc	(revision 437)
+++ 	(revision )
@@ -1,85 +1,0 @@
- 
-#include "GWt_bend.h"
-#include "mixedTools.h"
-
-#include <Wt/WText>
-#include <Wt/WLineEdit>
-#include <Wt/WBreak>
-#include <Wt/WDialog>
-#include <Wt/WPushButton>
-
-GWt_bend::GWt_bend(GWt_elementLigneFaisceau* elemLigne )
-:GWt_abstractElement(new elementBend())
-{
-  elementLigneFaiseauContainer_ = elemLigne;
-  initialize();
-}
-
-void GWt_bend::initilializeDialog() 
-{
-  string* param = beginDialog();
-    
-  new WText("angle (deg.) : ",dialog_->contents());
-  angleEdit_ = new WLineEdit( param->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-  
-  new WText("radius (m) : ",dialog_->contents());
-  radiusEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-    
-  new WText("momentum (MeV/c) : ",dialog_->contents());
-  momentumEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-    
-  new WText("length (cm) : ",dialog_->contents());
-  xlengthEdit_ = new WLineEdit("0", dialog_->contents());
-  xlengthEdit_->setDisabled(true);
-  new WBreak(dialog_->contents());
-    
-  new WText("aperture (cm) : ",dialog_->contents());
-  apertureEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  apertureEdit_->setDisabled(true);
-  new WBreak(dialog_->contents());
-    
-  new WText("pole face rotations (deg.) entrance : ",dialog_->contents());
-  beta1Edit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WText("exit : ",dialog_->contents());
-  beta2Edit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-  
-  WPushButton *annule= new WPushButton("cancel",dialog_->contents());  
-  annule->clicked().connect(dialog_, &Wt::WDialog::reject); 
-  WPushButton *submit= new WPushButton("OK",dialog_->contents());
-  submit->clicked().connect(dialog_, &Wt::WDialog::accept);
-  dialog_->finished().connect(this, &GWt_bend::dialogDone);
-}
-
-void GWt_bend::dialogDone(WDialog::DialogCode code)
-{
-  if (code != Wt::WDialog::Accepted) return;
-
-  unsigned nbParam = abstractElement_->getNbParams();
-  string* envoi = new string[nbParam+1];
-  int compteur = -1;
-  
-  envoi[++compteur] = string(mixedTools::intToString(nbParam) );
-  envoi[++compteur] = labelEdit_->text().toUTF8();
-  envoi[++compteur] = angleEdit_->text().toUTF8();
-  envoi[++compteur] = radiusEdit_->text().toUTF8();
-  envoi[++compteur] = momentumEdit_->text().toUTF8();
-  envoi[++compteur] = apertureEdit_->text().toUTF8();
-  envoi[++compteur] = beta1Edit_->text().toUTF8();
-  envoi[++compteur] = beta2Edit_->text().toUTF8(); 
-  if ( compteur !=  (int)nbParam ) {
-    cerr << " GWt_bend::dialogDone() pb nb de parametres, compteur = " << compteur << " nbParam= " << nbParam << endl;
-    return;
-  }
-  abstractElement_->setParametersString(envoi);
-  updateLabelAndToolTipWidget();
-  delete [] envoi;
-}
-
-WImage* GWt_bend::getImage() {
-  return image_;
-}
-
Index: Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_cell.cc
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_cell.cc	(revision 437)
+++ 	(revision )
@@ -1,109 +1,0 @@
-
-#include "GWt_cell.h"
-#include "mixedTools.h"
-
-#include <Wt/WText>
-#include <Wt/WLineEdit>
-#include <Wt/WBreak>
-#include <Wt/WDialog>
-#include <Wt/WPushButton>
-#include <Wt/WPanel>
-
-GWt_cell::GWt_cell(GWt_elementLigneFaisceau* elemLigne)
-:GWt_abstractElement(new elementCell())
-{
-    elementLigneFaiseauContainer_ = elemLigne;
-    initialize();
-}
-
-void GWt_cell::initilializeDialog() 
-{
-  string* param = beginDialog();
-    
-  new WText("length (cm) : ",dialog_->contents());
-  lenghtElemEdit_ = new WLineEdit(param->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-    
-  new WText("aperture (cm) : ",dialog_->contents());
-  apertureEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-  
-  new WText("initial phase (deg.) : ",dialog_->contents());
-  initialPhaseEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-  
-  new WText("max phase step (deg.) : ",dialog_->contents());
-  phaseStepMaxEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-  
-  new WText("max accelerating field (MV/m) : ",dialog_->contents());
-  acceleratingFieldEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-  
-  new WText("name of file for field shape : ",dialog_->contents());
-  acceleratingShapeFileEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-  
-  WPanel *panel = new WPanel(dialog_->contents());
-  panel->setTitle(" magnetic focusing ");
-  
-  WText* t1 = new WText("name of file for focusing mag. field : ",dialog_->contents());
-  focusingMagFileEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-  
-  WText* t2 = new WText(" z-offset for mag. field : ",dialog_->contents());
-  offsetMagEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  
-  WText* t3 = new WText(" scaling factor for mag. field : ",dialog_->contents());
-  scaleFactorEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  
-  WContainerWidget* contenu = new WContainerWidget();
-  contenu->addWidget(t1);
-  contenu->addWidget(focusingMagFileEdit_);
-  contenu->addWidget(new WBreak());
-  contenu->addWidget(t2);
-  contenu->addWidget(offsetMagEdit_);
-  contenu->addWidget(new WBreak());
-  contenu->addWidget(t3);
-  contenu->addWidget(scaleFactorEdit_);
-  
-  panel->setCentralWidget(contenu);
-
-  WPushButton *annule= new WPushButton("cancel",dialog_->contents());  
-  annule->clicked().connect(dialog_, &Wt::WDialog::reject);  
-  WPushButton *submit= new WPushButton("OK",dialog_->contents());
-  submit->clicked().connect(dialog_, &Wt::WDialog::accept);
-  dialog_->finished().connect(this, &GWt_cell::dialogDone);
-}
-
-void GWt_cell::dialogDone(WDialog::DialogCode code)
-{
-  if (code != Wt::WDialog::Accepted) return;
-
-  unsigned nbParam = abstractElement_->getNbParams();
-  string* envoi = new string[nbParam+1];
-  int compteur = -1;
-    
-  envoi[++compteur] = mixedTools::intToString(nbParam);
-  envoi[++compteur] = labelEdit_->text().toUTF8();
-  envoi[++compteur] = lenghtElemEdit_->text().toUTF8();
-  envoi[++compteur] = apertureEdit_->text().toUTF8();
-  envoi[++compteur] = initialPhaseEdit_->text().toUTF8();
-  envoi[++compteur] =  phaseStepMaxEdit_->text().toUTF8();
-  envoi[++compteur] =  acceleratingFieldEdit_->text().toUTF8();
-  envoi[++compteur] = acceleratingShapeFileEdit_->text().toUTF8();
-  envoi[++compteur] = focusingMagFileEdit_->text().toUTF8();
-  envoi[++compteur] = offsetMagEdit_->text().toUTF8();
-  envoi[++compteur] = scaleFactorEdit_->text().toUTF8();
-  if ( compteur !=  (int)nbParam ) {
-    cerr << " GWt_cell::dialogDone() pb nb de parametres, compteur = " << compteur << " nbParam= " << nbParam << endl;
-    return;
-  }
-  abstractElement_->setParametersString(envoi);
-  updateLabelAndToolTipWidget();
-  delete [] envoi;
-}
-
-WImage* GWt_cell::getImage() {
-  return image_;
-}
Index: Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_drift.cc
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_drift.cc	(revision 437)
+++ 	(revision )
@@ -1,59 +1,0 @@
-
-#include "GWt_drift.h"
-#include "mixedTools.h"
-
-#include <Wt/WText>
-#include <Wt/WLineEdit>
-#include <Wt/WBreak>
-#include <Wt/WDialog>
-#include <Wt/WPushButton>
-
-GWt_drift::GWt_drift(GWt_elementLigneFaisceau* elemLigne)
-:GWt_abstractElement(new elementDrift())
-{
-  elementLigneFaiseauContainer_ = elemLigne;
-  initialize();
-}
-
-void GWt_drift::initilializeDialog() 
-{
-  string* param = beginDialog();
-    
-  new WText("length (cm) : ",dialog_->contents());
-  xlengthEdit_ = new WLineEdit(param->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-  new WText("aperture (cm) : ",dialog_->contents());
-  apertureEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-  
-  WPushButton *annule= new WPushButton("cancel",dialog_->contents()); 
-  annule->clicked().connect(dialog_, &Wt::WDialog::reject);
-  WPushButton *submit= new WPushButton("OK",dialog_->contents());
-  submit->clicked().connect(dialog_, &Wt::WDialog::accept);
-  dialog_->finished().connect(this, &GWt_drift::dialogDone);
-}
-
-void GWt_drift::dialogDone(WDialog::DialogCode code)
-{
-  if (code != Wt::WDialog::Accepted) return;
-  
-  unsigned nbParam = abstractElement_->getNbParams();
-  string* envoi = new string[nbParam+1];
-  int compteur = -1;
-  
-  envoi[++compteur] = mixedTools::intToString(nbParam);
-  envoi[++compteur] = labelEdit_->text().toUTF8();
-  envoi[++compteur] = xlengthEdit_->text().toUTF8();
-  envoi[++compteur] = apertureEdit_->text().toUTF8();
-  if ( compteur !=  (int)nbParam ) {
-    cerr << " GWt_drift::dialogDone() pb nb de parametres, compteur = " << compteur << " nbParam= " << nbParam << endl;
-    return;
-  }
-  abstractElement_->setParametersString(envoi);
-  updateLabelAndToolTipWidget();
-  delete [] envoi;
-}
-
-WImage* GWt_drift::getImage() {
-  return image_;
-}
Index: Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_fit.cc
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_fit.cc	(revision 437)
+++ 	(revision )
@@ -1,85 +1,0 @@
-#include "GWt_fit.h"
-#include "mixedTools.h"
-
-#include <Wt/WText>
-#include <Wt/WLineEdit>
-#include <Wt/WBreak>
-#include <Wt/WDialog>
-#include <Wt/WPushButton>
-#include <Wt/WComboBox>
-
-GWt_fit::GWt_fit(GWt_elementLigneFaisceau* elemLigne)
-:GWt_abstractElement(new elementFit())
-{
-  elementLigneFaiseauContainer_ = elemLigne;
-  initialize();
-}
-
-void GWt_fit::initilializeDialog() 
-{
-  string* param = beginDialog();
-    
-  new WText(" variable to fit : ",dialog_->contents());
-  nameEdit_ = new WComboBox(dialog_->contents());
-  nameEdit_->addItem("R11");
-  nameEdit_->addItem("R22");
-  nameEdit_->addItem("R12");
-  nameEdit_->addItem("R21");
-  nameEdit_->addItem("??");
-  
-  string var = *param;
-  if ( var == "R11" ) {
-    nameEdit_->setCurrentIndex(0);
-  }
-  else if ( var == "R22" ) {
-    nameEdit_->setCurrentIndex(1);
-  }
-  else if ( var == "R12" ) {
-    nameEdit_->setCurrentIndex(2);
-  }
-  else if ( var == "R21" ) {
-    nameEdit_->setCurrentIndex(3);
-  }
-  else {
-    nameEdit_->setCurrentIndex(4);
-  }
-  new WText(" value : ",dialog_->contents());
-  valueEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WText(" tolerance : ",dialog_->contents());
-  tolerEdit_  = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-  
-  WPushButton *annule= new WPushButton("cancel",dialog_->contents()); 
-  annule->clicked().connect(dialog_, &Wt::WDialog::reject);
-  WPushButton *submit= new WPushButton("OK",dialog_->contents());
-  submit->clicked().connect(dialog_, &Wt::WDialog::accept);
-  dialog_->finished().connect(this, &GWt_fit::dialogDone); 
-}
-
-void GWt_fit::dialogDone(WDialog::DialogCode code)
-{
-  if (code != Wt::WDialog::Accepted) return;
-  
-  unsigned nbParam = abstractElement_->getNbParams();
-  string* envoi = new string[nbParam+1];
-  int compteur = -1;
-  
-  envoi[++compteur] = string(mixedTools::intToString(nbParam) );  
-  envoi[++compteur] = labelEdit_->text().toUTF8();
-  string variableString = nameEdit_->currentText().toUTF8();
-  cout << " GWt_fit::dialogDone() variable a fitter : " << variableString << endl;
-  envoi[++compteur] = variableString;
-  envoi[++compteur] = valueEdit_->text().toUTF8();
-  envoi[++compteur] = tolerEdit_->text().toUTF8();
-  if ( compteur !=  (int)nbParam ) {
-    cerr << " GWt_fit::dialogDone() pb nb de parametres, compteur = " << compteur << " nbParam= " << nbParam << endl;
-    return;
-  }
-  abstractElement_->setParametersString(envoi);
-  updateLabelAndToolTipWidget();
-  delete [] envoi;
-}
-
-WImage* GWt_fit::getImage() {
-  return image_;
-}
Index: Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_mpole.cc
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_mpole.cc	(revision 437)
+++ 	(revision )
@@ -1,58 +1,0 @@
-
-#include "GWt_mpole.h"
-#include "mixedTools.h"
-
-#include <Wt/WText>
-#include <Wt/WLineEdit>
-#include <Wt/WBreak>
-#include <Wt/WDialog>
-#include <Wt/WPushButton>
-
-GWt_mpole::GWt_mpole(GWt_elementLigneFaisceau* elm) : GWt_abstractElement(new elementMultipole())
-{
-  elementLigneFaiseauContainer_ = elm;
-  initialize();
-}
-
-void GWt_mpole::initilializeDialog() 
-{
-  string* param = beginDialog();
-  new WText("order : ",dialog_->contents());
-  orderEdit_ = new WLineEdit(param->c_str(),dialog_->contents());
-  new WBreak(dialog_->contents());
-  new WText("component (m^-n) : ",dialog_->contents());
-  componentEdit_ = new WLineEdit((++param)->c_str(),dialog_->contents());
-  new WBreak(dialog_->contents());
-
-  WPushButton *annule= new WPushButton("cancel",dialog_->contents()); 
-  annule->clicked().connect(dialog_, &Wt::WDialog::reject);
-  WPushButton *submit= new WPushButton("OK",dialog_->contents());
-  submit->clicked().connect(dialog_, &Wt::WDialog::accept);
-  dialog_->finished().connect(this, &GWt_mpole::dialogDone);
-}
-
-void GWt_mpole::dialogDone(WDialog::DialogCode code)
-{
-  if (code != Wt::WDialog::Accepted) return;
-
-  unsigned nbParam = abstractElement_->getNbParams();
-  string* envoi = new string[nbParam+1];
-  int compteur = -1;
-
-  envoi[++compteur] = mixedTools::intToString(nbParam);
-  envoi[++compteur] = labelEdit_->text().toUTF8();
-  envoi[++compteur] = orderEdit_->text().toUTF8();
-  envoi[++compteur] = componentEdit_->text().toUTF8();
-  if ( compteur !=  (int)nbParam ) {
-    cerr << " GWt_mpole::dialogDone() : pb dans le nb de parametres, compteur = " << compteur << " nbParam= " << nbParam << endl;
-    return;
-  }
-
-  abstractElement_->setParametersString(envoi);
-  updateLabelAndToolTipWidget();
-  delete [] envoi;
-}
-
-WImage* GWt_mpole::getImage() {
-  return image_;
-}
Index: Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_rfgun.cc
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_rfgun.cc	(revision 437)
+++ 	(revision )
@@ -1,87 +1,0 @@
-#include "GWt_rfgun.h"
-#include "mixedTools.h"
-
-#include <Wt/WText>
-#include <Wt/WLineEdit>
-#include <Wt/WBreak>
-#include <Wt/WDialog>
-#include <Wt/WPushButton>
-
-GWt_rfgun::GWt_rfgun(GWt_elementLigneFaisceau* elemLigne)
-:GWt_abstractElement(new elementRfgun())
-{
-  elementLigneFaiseauContainer_ = elemLigne;
-  initialize();
-}
-
-void GWt_rfgun::initilializeDialog() 
-{
-  string* param = beginDialog();
-    
-  new WText("nr of macroparticles : ",dialog_->contents());
-  nmacropEdit_ = new WLineEdit(param->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-    
-  new WText("sigma_t (ps) : ",dialog_->contents());
-  sigma_tEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-  
-  new WText("sigma_r (cm) : ",dialog_->contents());
-  sigma_rEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-    
-  new WText("emittance x (pi.mm.mrad) : ",dialog_->contents());
-  emit_xEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WText("emittance y (pi.mm.mrad) : ",dialog_->contents());
-  emit_yEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-  
-  new WText("initial kinetic energy (MeV) : ",dialog_->contents());
-  E_cinEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-    
-  new WText("sigma_Ecin (MeV) : ",dialog_->contents());
-  sigma_EEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-    
-  new WText("total charge in beam (nC) : ",dialog_->contents());
-  totalChargeEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-  
-  WPushButton *annule= new WPushButton("cancel",dialog_->contents()); 
-  annule->clicked().connect(dialog_, &Wt::WDialog::reject);
-  WPushButton *submit= new WPushButton("OK",dialog_->contents());
-  submit->clicked().connect(dialog_, &Wt::WDialog::accept);
-  dialog_->finished().connect(this, &GWt_rfgun::dialogDone);
-}
-
-void GWt_rfgun::dialogDone(WDialog::DialogCode code)
-{
-  if (code != Wt::WDialog::Accepted) return;
-
-  unsigned nbParam = abstractElement_->getNbParams();
-  string* envoi = new string[nbParam+1];
-  int compteur = -1;
-
-  envoi[++compteur] = mixedTools::intToString(nbParam);
-  envoi[++compteur] = labelEdit_->text().toUTF8();
-  envoi[++compteur] = nmacropEdit_->text().toUTF8();
-  envoi[++compteur] = sigma_tEdit_->text().toUTF8();
-  envoi[++compteur] = sigma_rEdit_->text().toUTF8();
-  envoi[++compteur] = emit_xEdit_->text().toUTF8();
-  envoi[++compteur] = emit_yEdit_->text().toUTF8();
-  envoi[++compteur] = E_cinEdit_->text().toUTF8();
-  envoi[++compteur] = sigma_EEdit_->text().toUTF8();
-  envoi[++compteur] = totalChargeEdit_->text().toUTF8();
-  if ( compteur !=  (int)nbParam ) {
-    cerr << " GWt_rfgun::dialogDone() pb nb de parametres, compteur = " << compteur << " nbParam= " << nbParam << endl;
-    return;
-  }
-  abstractElement_->setParametersString(envoi);
-  updateLabelAndToolTipWidget();
-  delete [] envoi;
-}
-
-WImage* GWt_rfgun::getImage() {
-  return image_;
-}
Index: Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_snapshot.cc
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_snapshot.cc	(revision 437)
+++ 	(revision )
@@ -1,54 +1,0 @@
-
-#include "GWt_snapshot.h"
-#include "mixedTools.h"
-
-#include <Wt/WText>
-#include <Wt/WBreak>
-#include <Wt/WLineEdit>
-#include <Wt/WDialog>
-#include <Wt/WPushButton>
-
-GWt_snapshot::GWt_snapshot(GWt_elementLigneFaisceau* elemLigne, int num) : GWt_abstractElement(new elementSnapshot(num))
-{
-  elementLigneFaiseauContainer_ = elemLigne;
-  initialize();
-}
-
-void GWt_snapshot::initilializeDialog() 
-{
-  string* param = beginDialog();
-
-  new WText("name of file for snapshot : ",dialog_->contents());
-  snapshotFile_ = new WLineEdit(param->c_str(),dialog_->contents());
-  new WBreak(dialog_->contents());
-
-  WPushButton *annule= new WPushButton("cancel",dialog_->contents()); 
-  annule->clicked().connect(dialog_,&Wt::WDialog::reject);
-  WPushButton *submit= new WPushButton("OK",dialog_->contents());
-  submit->clicked().connect(dialog_,&Wt::WDialog::accept);
-  dialog_->finished().connect(this, &GWt_snapshot::dialogDone);
-}
-
-void GWt_snapshot::dialogDone(WDialog::DialogCode code)
-{
-  if (code != Wt::WDialog::Accepted) return;
-  
-  unsigned nbParam = abstractElement_->getNbParams();
-  string* envoi = new string[nbParam+1];
-  int compteur = -1;
-  
-  envoi[++compteur] = mixedTools::intToString(nbParam);
-  envoi[++compteur] = labelEdit_->text().toUTF8();
-  envoi[++compteur] = snapshotFile_->text().toUTF8();
-  if ( compteur !=  (int)nbParam ) {
-    cerr << " GWt_snapshot::dialogDone() : pb dans le nb de parametres, compteur = " << compteur << " nbParam= " << nbParam << endl;
-    return;
-  }
-
-  abstractElement_->setParametersString(envoi);
-  delete [] envoi;
-}
-
-WImage* GWt_snapshot::getImage() {
-  return image_;
-}
Index: Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_soleno.cc
===================================================================
--- Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_soleno.cc	(revision 437)
+++ 	(revision )
@@ -1,68 +1,0 @@
-#include "GWt_soleno.h"
-#include "mixedTools.h"
-
-#include <Wt/WText>
-#include <Wt/WLineEdit>
-#include <Wt/WBreak>
-#include <Wt/WDialog>
-#include <Wt/WPushButton>
-
-GWt_soleno::GWt_soleno(GWt_elementLigneFaisceau* elemLigne)
-:GWt_abstractElement(new elementSoleno())
-{
-  elementLigneFaiseauContainer_ = elemLigne;
-  initialize();
-}
-
-void GWt_soleno::initilializeDialog() 
-{
-  string* param = beginDialog();
-    
-  new WText("length (cm) : ",dialog_->contents());
-  xlengthEdit_ = new WLineEdit( param->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-  new WText("aperture (cm) : ",dialog_->contents());
-  apertureEdit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  new WBreak(dialog_->contents());
-  new WText("field (kG) : ",dialog_->contents());
-  B0Edit_ = new WLineEdit( (++param)->c_str(), dialog_->contents());
-  varyB0Edit_ = new WCheckBox(" : may vary ? ", dialog_->contents());
-  varyB0Edit_->setChecked(atoi( (++param)->c_str() ) );
-  new WBreak(dialog_->contents());
-
-  WPushButton *annule= new WPushButton("cancel",dialog_->contents());
-  annule->clicked().connect(dialog_, &Wt::WDialog::reject);
-  WPushButton *submit= new WPushButton("OK",dialog_->contents());
-  submit->clicked().connect(dialog_, &Wt::WDialog::accept);
-  dialog_->finished().connect(this, &GWt_soleno::dialogDone);  
-}
-
-void GWt_soleno::dialogDone(WDialog::DialogCode code)
-{
-  if (code != Wt::WDialog::Accepted) return;
-
-  unsigned nbParam = abstractElement_->getNbParams();
-  string* envoi = new string[nbParam+1];
-  int compteur = -1;
-  
-  envoi[++compteur] = mixedTools::intToString(nbParam);
-  envoi[++compteur] = labelEdit_->text().toUTF8();
-  envoi[++compteur] = xlengthEdit_->text().toUTF8();
-  envoi[++compteur] = apertureEdit_->text().toUTF8();
-  envoi[++compteur] = B0Edit_->text().toUTF8();
-  int varie;
-  if ( varyB0Edit_->checkState() == Checked ) varie = 1;
-  else varie = 0;
-  envoi[++compteur] = mixedTools::intToString(varie);
-  if ( compteur !=  (int)nbParam ) {
-    cerr << " GWt_bend::dialogDone() pb nb de parametres, compteur = " << compteur << " nbParam= " << nbParam << endl;
-    return;
-  }
-  abstractElement_->setParametersString(envoi);
-  updateLabelAndToolTipWidget();
-  delete [] envoi;
-}
-
-WImage* GWt_soleno::getImage() {
-  return image_;
-}
