src/main/java/de/uapcore/lightpit/ModuleManager.java

changeset 77
192298f8161f
parent 72
0646c14e36fb
equal deleted inserted replaced
76:82f71fb1758a 77:192298f8161f
152 .stream() 152 .stream()
153 .filter(mod -> !mod.systemModule()) 153 .filter(mod -> !mod.systemModule())
154 .map(mod -> new MenuEntry( 154 .map(mod -> new MenuEntry(
155 new ResourceKey( 155 new ResourceKey(
156 mod.bundleBaseName(), 156 mod.bundleBaseName(),
157 mod.menuKey()), 157 "menuLabel"),
158 mod.modulePath() + "/", 158 mod.modulePath() + "/",
159 mod.defaultPriority())) 159 mod.defaultPriority()))
160 .sorted() 160 .sorted()
161 .forEachOrdered(mainMenu::add); 161 .forEachOrdered(mainMenu::add);
162 } 162 }

mercurial