diff -r 82f71fb1758a -r 192298f8161f src/main/java/de/uapcore/lightpit/LightPITModule.java --- a/src/main/java/de/uapcore/lightpit/LightPITModule.java Sat May 23 13:24:49 2020 +0200 +++ b/src/main/java/de/uapcore/lightpit/LightPITModule.java Sat May 23 13:34:41 2020 +0200 @@ -60,25 +60,6 @@ String modulePath(); /** - * Returns the properties key for the menu label. - *

- * Set this string to empty string, if the module should be hidden from - * the menu. - * - * @return the properties key - */ - String menuKey() default "menuLabel"; - - /** - * Returns the properties key for the page title. - *

- * By default this is the same as the menu label. - * - * @return the properties key - */ - String titleKey() default "menuLabel"; - - /** * If set to true, this module is always loaded, but never * visible in the menu or the Web UI module manager. * @@ -103,29 +84,18 @@ * are proxied by this object. */ class ELProxy { - private final String bundleBaseName, modulePath, menuKey, titleKey; + private final String bundleBaseName, modulePath; public ELProxy(LightPITModule annotation) { bundleBaseName = annotation.bundleBaseName(); modulePath = annotation.modulePath(); - menuKey = annotation.menuKey(); - titleKey = annotation.titleKey(); } public String getBundleBaseName() { return bundleBaseName; } - - public String getMenuKey() { - return menuKey; - } - public String getModulePath() { return modulePath; } - - public String getTitleKey() { - return titleKey; - } } }