List<PackagingSourceItem> () { List<PackagingSourceItem> items = new ArrayList<>(); for (SourceItemNode node : getSelectedSourceItemNodes()) { final PackagingSourceItem sourceItem = node.getSourceItem(); if (sourceItem != null && sourceItem.isProvideElements()) { items.add(sourceItem); } } return items; }