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

changeset 51
dd0a45ae25d7
parent 36
0f4f8f255c32
child 70
821c4950b619
     1.1 --- a/src/main/java/de/uapcore/lightpit/LightPITModule.java	Sat May 16 11:37:57 2020 +0200
     1.2 +++ b/src/main/java/de/uapcore/lightpit/LightPITModule.java	Sat May 16 13:29:44 2020 +0200
     1.3 @@ -68,21 +68,6 @@
     1.4      String modulePath();
     1.5  
     1.6      /**
     1.7 -     * Returns the properties key for the module name.
     1.8 -     *
     1.9 -     * @return the properties key
    1.10 -     */
    1.11 -    String nameKey() default "name";
    1.12 -
    1.13 -    /**
    1.14 -     * Returns the properties key for the module description.
    1.15 -     *
    1.16 -     * @return the properties key
    1.17 -     */
    1.18 -    String descKey() default "description";
    1.19 -
    1.20 -
    1.21 -    /**
    1.22       * Returns the properties key for the menu label.
    1.23       * <p>
    1.24       * Set this string to empty string, if the module should be hidden from
    1.25 @@ -126,15 +111,13 @@
    1.26       * are proxied by this object.
    1.27       */
    1.28      class ELProxy {
    1.29 -        private final String bundleBaseName, modulePath, menuKey, titleKey, nameKey, descKey;
    1.30 +        private final String bundleBaseName, modulePath, menuKey, titleKey;
    1.31  
    1.32          public ELProxy(LightPITModule annotation) {
    1.33              bundleBaseName = annotation.bundleBaseName();
    1.34              modulePath = annotation.modulePath();
    1.35              menuKey = annotation.menuKey();
    1.36              titleKey = annotation.titleKey();
    1.37 -            nameKey = annotation.nameKey();
    1.38 -            descKey = annotation.descKey();
    1.39          }
    1.40  
    1.41          public String getBundleBaseName() {
    1.42 @@ -152,14 +135,5 @@
    1.43          public String getTitleKey() {
    1.44              return titleKey;
    1.45          }
    1.46 -
    1.47 -        public String getNameKey() {
    1.48 -            return nameKey;
    1.49 -        }
    1.50 -
    1.51 -        public String getDescKey() {
    1.52 -            return descKey;
    1.53 -        }
    1.54 -
    1.55      }
    1.56  }

mercurial