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

changeset 77
192298f8161f
parent 70
821c4950b619
     1.1 --- a/src/main/java/de/uapcore/lightpit/LightPITModule.java	Sat May 23 13:24:49 2020 +0200
     1.2 +++ b/src/main/java/de/uapcore/lightpit/LightPITModule.java	Sat May 23 13:34:41 2020 +0200
     1.3 @@ -60,25 +60,6 @@
     1.4      String modulePath();
     1.5  
     1.6      /**
     1.7 -     * Returns the properties key for the menu label.
     1.8 -     * <p>
     1.9 -     * Set this string to empty string, if the module should be hidden from
    1.10 -     * the menu.
    1.11 -     *
    1.12 -     * @return the properties key
    1.13 -     */
    1.14 -    String menuKey() default "menuLabel";
    1.15 -
    1.16 -    /**
    1.17 -     * Returns the properties key for the page title.
    1.18 -     * <p>
    1.19 -     * By default this is the same as the menu label.
    1.20 -     *
    1.21 -     * @return the properties key
    1.22 -     */
    1.23 -    String titleKey() default "menuLabel";
    1.24 -
    1.25 -    /**
    1.26       * If set to <code>true</code>, this module is always loaded, but never
    1.27       * visible in the menu or the Web UI module manager.
    1.28       *
    1.29 @@ -103,29 +84,18 @@
    1.30       * are proxied by this object.
    1.31       */
    1.32      class ELProxy {
    1.33 -        private final String bundleBaseName, modulePath, menuKey, titleKey;
    1.34 +        private final String bundleBaseName, modulePath;
    1.35  
    1.36          public ELProxy(LightPITModule annotation) {
    1.37              bundleBaseName = annotation.bundleBaseName();
    1.38              modulePath = annotation.modulePath();
    1.39 -            menuKey = annotation.menuKey();
    1.40 -            titleKey = annotation.titleKey();
    1.41          }
    1.42  
    1.43          public String getBundleBaseName() {
    1.44              return bundleBaseName;
    1.45          }
    1.46 -
    1.47 -        public String getMenuKey() {
    1.48 -            return menuKey;
    1.49 -        }
    1.50 -
    1.51          public String getModulePath() {
    1.52              return modulePath;
    1.53          }
    1.54 -
    1.55 -        public String getTitleKey() {
    1.56 -            return titleKey;
    1.57 -        }
    1.58      }
    1.59  }

mercurial