1.1 --- a/src/main/java/de/uapcore/lightpit/RequestMapping.java Wed May 13 18:55:05 2020 +0200 1.2 +++ b/src/main/java/de/uapcore/lightpit/RequestMapping.java Wed May 13 21:10:23 2020 +0200 1.3 @@ -62,11 +62,19 @@ 1.4 String requestPath() default ""; 1.5 1.6 /** 1.7 - * Returns the properties key for the (sub) menu label. 1.8 + * Specifies the properties key for the sub menu label. 1.9 + * An empty string (default) means that no sub menu entry shall be created. 1.10 * <p> 1.11 * This should only be used for {@link HttpMethod#GET} requests. 1.12 * 1.13 * @return the properties key 1.14 */ 1.15 String menuKey() default ""; 1.16 + 1.17 + /** 1.18 + * May be changed to control the ordering of menu items. 1.19 + * 1.20 + * @return an integer to control the ordering 1.21 + */ 1.22 + int menuSequence() default 0; 1.23 }