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

changeset 57
1262b5433644
parent 45
cc7f082c5ef3
child 72
0646c14e36fb
equal deleted inserted replaced
56:11b1e7153496 57:1262b5433644
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 mod.menuKey()),
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 }
163 163

mercurial