protected static IConfig create(File file, HashSet<String> included) throws MException { IConfig out = create(file); included.add(file.getAbsolutePath()); for (String path : out.getString("__include", "").split(",")) { if (MString.isSetTrim(path)) { File absolut = MFile.getFile(file, path); if (absolut == null) continue; String abs = absolut.getAbsolutePath(); if (!included.contains(abs)) { IConfig nextOne = create(absolut, included); for (String key : nextOne.getPropertyKeys()) if (!out.containsKey(key)) out.setProperty(key, nextOne.get(key)); included.add(abs); } } } return out; }
if (MString.isSetTrim(helpUrl)) { Button helpBtn = new Button("Hilfe"); helpBtn.setIcon(VaadinIcons.QUESTION);