public void setMenuItems(final List<? extends AsciidocTemplateI> templates) {
		Menu templateMenu = applicationController.getTemplateMenu();
		templateMenu.getItems().clear();
		templates.stream()
		         .map(t -> createMenuItem(t))
		         .forEach(mi -> templateMenu.getItems().add(mi));
	}
Component which handles the creation of template menu entries.
Also adds them to the Menu.
src/main/java/com/kodedu/component/TemplateSubMenu.java