Un-comment default user menu. Client application might define a "org.argeo.ui.openHom...
[lgpl/argeo-commons.git] / org.argeo.security.ui.rap / src / org / argeo / security / ui / rap / RapActionBarAdvisor.java
index 074b798c7ee42179a36fc68e9e0a7eb1b806d812..f29fc8e4e5b3b7109f22317aa27597d821f1685a 100644 (file)
@@ -110,6 +110,7 @@ public class RapActionBarAdvisor extends ActionBarAdvisor {
 
        @Override
        protected void fillCoolBar(ICoolBarManager coolBar) {
+               // Add a command which label is the login of the current logged-in user
                if (username != null) {
                        ICommandService cmdService = (ICommandService) getActionBarConfigurer()
                                        .getWindowConfigurer().getWorkbenchConfigurer()
@@ -117,7 +118,6 @@ public class RapActionBarAdvisor extends ActionBarAdvisor {
                        Category userMenus = cmdService.getCategory(ID_BASE + ".userMenus");
                        if (!userMenus.isDefined())
                                userMenus.define("User Menus", "User related menus");
-
                        Command userMenu = cmdService.getCommand(ID_BASE
                                        + ".userMenuCommand");
                        if (userMenu.isDefined())