@Override public void clearArticlePfListBox() { articlePfValueListBox.clearValueListBox(); List<ArticlePf> emptyArticlePfList = new ArrayList<>(); emptyArticlePfList.add(EmptyObject.getEmptyArticlePf()); articlePfValueListBox.addComplexAcceptableValues(emptyArticlePfList, MESSAGES.tous()); }
@Override public void clearPlatformListBox() { platformValueListBox.clearValueListBox(); List<Platform> emptyPlatformList = new ArrayList<>(); emptyPlatformList.add(EmptyObject.getEmptyPlatform()); platformValueListBox.addComplexAcceptableValues(emptyPlatformList, MESSAGES.toutes()); }
private void addPlatformGroupValue(String groupTitle, List<Platform> platformList) { if (!platformList.isEmpty()) { platformValueListBox.addComplexAcceptableValues(platformList, groupTitle); } }
private void addArticleGroupValue(String groupTitle, List<ArticlePf> articlePfList) { if (!articlePfList.isEmpty()) { articlePfValueListBox.addComplexAcceptableValues(articlePfList, groupTitle); } }