13,8 → 13,6 |
import org.tela_botanica.client.modeles.Valeur; |
import org.tela_botanica.client.modeles.ValeurListe; |
import org.tela_botanica.client.modeles.aDonnee; |
import org.tela_botanica.client.modeles.projet.Projet; |
import org.tela_botanica.client.modeles.projet.ProjetListe; |
import org.tela_botanica.client.synchronisation.Sequenceur; |
import org.tela_botanica.client.util.Debug; |
import org.tela_botanica.client.util.UtilString; |
38,9 → 36,6 |
protected boolean ontologieChargementOk = false; |
private HashMap<Integer, String> ontologiesEnAttenteDeReception = null; |
|
protected ProjetListe projets = null; |
protected boolean projetsChargementOk = false; |
|
protected String sautLigneTpl = null; |
|
public DetailVue(Mediateur mediateurCourant) { |
52,7 → 47,6 |
ontologie = new HashMap<String, Valeur>(); |
ontologieChargementOk = false; |
ontologiesEnAttenteDeReception = new HashMap<Integer, String>(); |
chargerProjets(); |
|
setLayout(new FitLayout()); |
setBorders(false); |
62,27 → 56,7 |
private void initialiserSautLigneTpl() { |
sautLigneTpl = "<br />\n"; |
} |
|
private void chargerProjets() { |
mediateur.selectionnerProjet(this, null, null, false, null); |
} |
|
protected String construireTxtProjet(String idProjet) { |
String chaineARetourner = idProjet; |
|
if (projets != null) { |
Projet projet = projets.get(idProjet); |
if (projet != null) { |
String nomDuProjet = projet.getNom(); |
if (!nomDuProjet.equals("")) { |
chaineARetourner = nomDuProjet; |
} |
} |
} |
|
return chaineARetourner; |
} |
|
protected String construireTxtTruck(String chaineAAnalyser) { |
return construireTxtTruck(chaineAAnalyser, true); |
} |