Line 24... |
Line 24... |
24 |
import com.extjs.gxt.ui.client.event.SelectionChangedEvent;
|
24 |
import com.extjs.gxt.ui.client.event.SelectionChangedEvent;
|
25 |
import com.extjs.gxt.ui.client.event.SelectionChangedListener;
|
25 |
import com.extjs.gxt.ui.client.event.SelectionChangedListener;
|
26 |
import com.extjs.gxt.ui.client.event.SelectionListener;
|
26 |
import com.extjs.gxt.ui.client.event.SelectionListener;
|
27 |
import com.extjs.gxt.ui.client.store.ListStore;
|
27 |
import com.extjs.gxt.ui.client.store.ListStore;
|
28 |
import com.extjs.gxt.ui.client.widget.ContentPanel;
|
28 |
import com.extjs.gxt.ui.client.widget.ContentPanel;
|
- |
|
29 |
import com.extjs.gxt.ui.client.widget.Info;
|
29 |
import com.extjs.gxt.ui.client.widget.button.Button;
|
30 |
import com.extjs.gxt.ui.client.widget.button.Button;
|
30 |
import com.extjs.gxt.ui.client.widget.grid.ColumnConfig;
|
31 |
import com.extjs.gxt.ui.client.widget.grid.ColumnConfig;
|
31 |
import com.extjs.gxt.ui.client.widget.grid.ColumnModel;
|
32 |
import com.extjs.gxt.ui.client.widget.grid.ColumnModel;
|
32 |
import com.extjs.gxt.ui.client.widget.grid.Grid;
|
33 |
import com.extjs.gxt.ui.client.widget.grid.Grid;
|
33 |
import com.extjs.gxt.ui.client.widget.grid.GridSelectionModel;
|
34 |
import com.extjs.gxt.ui.client.widget.grid.GridSelectionModel;
|
Line 178... |
Line 179... |
178 |
} else if (nouvellesDonnees instanceof Information) {
|
179 |
} else if (nouvellesDonnees instanceof Information) {
|
179 |
Information info = (Information) nouvellesDonnees;
|
180 |
Information info = (Information) nouvellesDonnees;
|
180 |
if (info.getType().equals("maj_utilisateur")) {
|
181 |
if (info.getType().equals("maj_utilisateur")) {
|
181 |
gererEtatActivationBouton();
|
182 |
gererEtatActivationBouton();
|
182 |
} else if (info.getType().equals("suppression_projet")) {
|
183 |
} else if (info.getType().equals("suppression_projet")) {
|
- |
|
184 |
String message = info.toString();
|
- |
|
185 |
if (info.getDonnee(0) != null) {
|
- |
|
186 |
message = (String) info.getDonnee(0);
|
- |
|
187 |
}
|
- |
|
188 |
Info.display(i18nC.projetTitreSuppression(), message);
|
183 |
supprimerProjetsSelectionnees();
|
189 |
supprimerProjetsSelectionnees();
|
- |
|
190 |
gererEtatActivationBouton();
|
184 |
}
|
191 |
}
|
185 |
} else {
|
192 |
} else {
|
186 |
GWT.log(Mediateur.i18nM.erreurRafraichir(nouvellesDonnees.getClass(), this.getClass()), null);
|
193 |
GWT.log(Mediateur.i18nM.erreurRafraichir(nouvellesDonnees.getClass(), this.getClass()), null);
|
187 |
}
|
194 |
}
|
188 |
}
|
195 |
}
|