33,6 → 33,8 |
public abstract HasWidgets getZoneResultats(); |
|
public abstract HasWidgets getZoneRecherche(); |
|
public abstract String getNomProtocolSelectionne(); |
} |
|
private Vue vue; |
76,8 → 78,14 |
|
@Override |
public void onChange(ChangeEvent event) { |
Protocole protocoleCourant = null; |
for (Protocole protocole : protocoles) { |
if (protocole.getNom().equals(vue.getNomProtocolSelectionne())) { |
protocoleCourant = protocole; |
} |
} |
|
Protocole protocoleCourant = (Protocole) event.getSource(); |
CacheClient.getInstance().setProtocoleCourant(protocoleCourant); |
EvenementChangementProtocole evenement = new EvenementChangementProtocole(protocoleCourant); |
BusEvenementiel.getInstance().fireEvent(evenement); |
} |