Changeset 361 in PSPA for Interface_Web
- Timestamp:
- Mar 5, 2013, 11:35:57 AM (12 years ago)
- Location:
- Interface_Web/trunk/pspaWT
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/History
r359 r361 5 5 PSPA - Plateforme de simulation en physique des accélérateurs 6 6 ========================================================= 7 8 5 Mars : Laurent Garnier 9 - GWt_LigneFaisceau : protection contre un pointer NULL 10 - abstractElement : Ajout d'un cas oublié dans la version précédente 11 - ajoute du cas test philFit.save 7 12 8 13 4 Mars : Laurent Garnier … … 36 41 - softwareParmela : ajout d'une protection sur NULL pointer dans createInputFile() 37 42 - trivaluedBool.h : Changement des noms (confusions possibles) en TBoolError, TBoolIgnore, TBoolOk 43 38 44 1er Mars : Laurent Garnier 39 45 - Fix le bug sur le serveur : Mauvaise variable utilisée. Introduit le 26 février -
Interface_Web/trunk/pspaWT/sources/controler/src/abstractElement.cc
r360 r361 111 111 } 112 112 113 trivaluedBool tb = TBoolError; 113 114 if ( std::find(acceptableSoftware_.begin(), acceptableSoftware_.end(), prog) != acceptableSoftware_.end()) { 115 tb = TBoolOk; 116 } else if ( std::find(ignoreSoftware_.begin(), ignoreSoftware_.end(), prog) != ignoreSoftware_.end()) { 117 tb =TBoolIgnore; 118 } else { 119 tb = TBoolError; 120 } 121 if ((tb == TBoolOk) || (tb == TBoolIgnore)) { 114 122 if (prog == nomDeLogiciel::parmela){ 115 123 abstractSoftware_ = new softwareParmela(); … … 123 131 abstractSoftware_ = NULL; 124 132 } 125 } else if ( std::find(ignoreSoftware_.begin(), ignoreSoftware_.end(), prog) != ignoreSoftware_.end()) {126 return TBoolIgnore;127 } else {128 return TBoolError;129 133 } 130 return TBoolOk;134 return tb; 131 135 } 132 136 -
Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_ligneFaisceau.cc
r359 r361 266 266 if (GWt_elementLigneFaisceau* elem = dynamic_cast <GWt_elementLigneFaisceau*> (ligneFaisceauLayout_->itemAt(a)->widget ())) { 267 267 if (index == i) { 268 elem->setBGColor(WColor(elem->getGWt_AbstractElement()->getAbstractElement()->getAbstractSoftware()->getColor())); 268 if (elem->getGWt_AbstractElement()->getAbstractElement()->getAbstractSoftware()) { 269 elem->setBGColor(WColor(elem->getGWt_AbstractElement()->getAbstractElement()->getAbstractSoftware()->getColor())); 270 } 269 271 } 270 272 index ++;
Note: See TracChangeset
for help on using the changeset viewer.