private MenuItem createMenuItem(final AsciidocTemplateI template) {
		var builder = MenuItemBuilt.item(template.getName()); 

		StringBuilder tooltipMsg = new StringBuilder();
		tooltipMsg.append("Location: ").append(template.getLocation());
		if (!StringUtils.isBlank(template.getDescription())) {
			tooltipMsg.append("\n\n").append(template.getDescription());
		}
		builder.tip(tooltipMsg.toString());

		return builder.click((evt) -> templateMenuItemOnClick(template));
	}
Component which handles the creation of template menu entries.
Also adds them to the Menu.
src/main/java/com/kodedu/component/TemplateSubMenu.java