public void searchEvent(Advertisable adv) { if (filtrage(adv)) { results.add((Objet) adv); container.searchEvent(adv); } Application.getInstance().updateUI(); }
public boolean process() { DiscoveryService ds = Application.getInstance().getPeer().getDiscovery(); GrammarSearch gs = new GrammarSearch(ds); gs.addListener(this); changeMinuscule(); gs.search(recherche); return true; }