5,6 → 5,7 |
import org.tela_botanica.client.ComposantClass; |
import org.tela_botanica.client.Mediateur; |
import org.tela_botanica.client.composants.ChampSliderPourcentage; |
import org.tela_botanica.client.composants.InfoLogger; |
import org.tela_botanica.client.interfaces.Rafraichissable; |
import org.tela_botanica.client.modeles.Information; |
import org.tela_botanica.client.modeles.MenuApplicationId; |
147,7 → 148,7 |
if (etreValide()) { |
initialiserValidation(); |
repandreRafraichissement(); |
controlerFermetureApresRafraichissement(); |
controlerFermeture(); |
} |
} |
|
194,13 → 195,13 |
|
// Gestion des messages |
if (info.getType().equals("modif_commentaire")) { |
Info.display("Modification d'une note", info.toString()); |
InfoLogger.display("Modification d'une note", info.toString()); |
} else if (info.getType().equals("ajout_commentaire")) { |
if (info.getDonnee(0) != null && info.getDonnee(0) instanceof String) { |
String noteId = (String) info.getDonnee(0); |
Info.display("Ajout d'une note", "La note '"+noteId+"' a bien été ajoutée"); |
InfoLogger.display("Ajout d'une note", "La note '"+noteId+"' a bien été ajoutée"); |
} else { |
Info.display("Ajout d'une note", info.toString()); |
InfoLogger.display("Ajout d'une note", info.toString()); |
} |
} |
} |