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

changeset 51
dd0a45ae25d7
parent 36
0f4f8f255c32
child 70
821c4950b619
--- a/src/main/java/de/uapcore/lightpit/LightPITModule.java	Sat May 16 11:37:57 2020 +0200
+++ b/src/main/java/de/uapcore/lightpit/LightPITModule.java	Sat May 16 13:29:44 2020 +0200
@@ -68,21 +68,6 @@
     String modulePath();
 
     /**
-     * Returns the properties key for the module name.
-     *
-     * @return the properties key
-     */
-    String nameKey() default "name";
-
-    /**
-     * Returns the properties key for the module description.
-     *
-     * @return the properties key
-     */
-    String descKey() default "description";
-
-
-    /**
      * Returns the properties key for the menu label.
      * <p>
      * Set this string to empty string, if the module should be hidden from
@@ -126,15 +111,13 @@
      * are proxied by this object.
      */
     class ELProxy {
-        private final String bundleBaseName, modulePath, menuKey, titleKey, nameKey, descKey;
+        private final String bundleBaseName, modulePath, menuKey, titleKey;
 
         public ELProxy(LightPITModule annotation) {
             bundleBaseName = annotation.bundleBaseName();
             modulePath = annotation.modulePath();
             menuKey = annotation.menuKey();
             titleKey = annotation.titleKey();
-            nameKey = annotation.nameKey();
-            descKey = annotation.descKey();
         }
 
         public String getBundleBaseName() {
@@ -152,14 +135,5 @@
         public String getTitleKey() {
             return titleKey;
         }
-
-        public String getNameKey() {
-            return nameKey;
-        }
-
-        public String getDescKey() {
-            return descKey;
-        }
-
     }
 }

mercurial