Subversion Repositories eFlore/Archives.cel-v1

Compare Revisions

Ignore whitespace Rev 25 → Rev 24

/trunk/src/org/tela_botanica/client/Mediator.java
27,10 → 27,7
private LocationAssistant locationAssistant=null;
private InventoryItem inventoryItem=null;
private EntryPanel entryPanel=null;
private ActionPanel actionPanel=null;
private TopPanel topPanel=null;
private LeftPanel leftPanel=null;
private InfoPopup infoPopup=null;
private TextBox date = null;
private TextBox complementLocation = null;
127,17 → 124,15
public void onLocationSelected(String loc) {
inventoryItemList.setLocation(loc);
// inventoryItemList.setDate("all");
// inventoryItemList.setStation("all");
inventoryItemList.setDate("all");
inventoryItemList.setStation("all");
inventoryItemList.updateCount();
// nameAssistant.setValue(null);
 
dateList.setLocation(loc);
// dateList.setDate("all");
dateList.setDate("all");
dateList.updateCount();
stationList.setLocation(loc);
// stationList.setStation("all");
stationList.setStation("all");
stationList.updateCount();
}
190,9 → 185,7
 
inventoryItemList.setStation(station);
inventoryItemList.updateCount();
// nameAssistant.setValue(null);
 
 
}
 
 
206,21 → 199,12
 
inventoryItemList.setDate(date);
inventoryItemList.updateCount();
// nameAssistant.setValue(null);
 
 
}
 
/**
* Action suivant la complétion d'un nom
*
*/
 
public void onNameCompleted(String value) {
infoPopup.setImageUrl(value);
}
/**
* Action prealable à l'ajout d'une observation : controle presence champs requis et lancement mise a jour
*
309,18 → 293,6
 
/**
* Declaration InfoPopup
* @param infoPopup
*/
public void registerInfoPopup(InfoPopup infoPopup) {
this.infoPopup=infoPopup;
}
 
 
/**
* Declaration StationList
* @param locationList
*/
393,12 → 365,8
}
 
public void registerActionPanel(ActionPanel actionPanel) {
this.actionPanel=actionPanel;
}
 
 
public void registerTopPanel(TopPanel topPanel) {
this.topPanel=topPanel;
}
416,17 → 384,7
}
 
/* Panneau gauche
*
*/
public void registerLeftPanel(LeftPanel leftPanel) {
this.leftPanel=leftPanel;
}
 
/**
* Recherche distante et asynchrone de l'utilisateur connecté, en retour lancement methode initialisation
525,14 → 483,6
}
 
 
public LeftPanel getLeftPanel() {
return leftPanel;
}
 
public InfoPopup getInfoPopup() {
return infoPopup;
}
 
public void setConnected(boolean connected) {
this.connected=connected;
543,10 → 493,5
return this.connected;
}
 
public ActionPanel getActionPanel() {
return this.actionPanel;
}
 
}