27,7 → 27,10 |
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; |
124,15 → 127,17 |
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(); |
|
} |
185,7 → 190,9 |
|
inventoryItemList.setStation(station); |
inventoryItemList.updateCount(); |
// nameAssistant.setValue(null); |
|
|
} |
|
|
199,12 → 206,21 |
|
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 |
* |
293,6 → 309,18 |
|
|
/** |
* Declaration InfoPopup |
* @param infoPopup |
*/ |
|
public void registerInfoPopup(InfoPopup infoPopup) { |
|
this.infoPopup=infoPopup; |
} |
|
|
|
/** |
* Declaration StationList |
* @param locationList |
*/ |
365,8 → 393,12 |
} |
|
|
|
public void registerActionPanel(ActionPanel actionPanel) { |
this.actionPanel=actionPanel; |
} |
|
|
|
public void registerTopPanel(TopPanel topPanel) { |
this.topPanel=topPanel; |
} |
384,7 → 416,17 |
} |
|
|
/* Panneau gauche |
* |
*/ |
|
public void registerLeftPanel(LeftPanel leftPanel) { |
this.leftPanel=leftPanel; |
|
} |
|
|
|
|
/** |
* Recherche distante et asynchrone de l'utilisateur connecté, en retour lancement methode initialisation |
483,6 → 525,14 |
} |
|
|
public LeftPanel getLeftPanel() { |
return leftPanel; |
} |
|
public InfoPopup getInfoPopup() { |
return infoPopup; |
} |
|
public void setConnected(boolean connected) { |
|
this.connected=connected; |
493,5 → 543,10 |
return this.connected; |
} |
|
|
public ActionPanel getActionPanel() { |
|
return this.actionPanel; |
} |
|
} |