Package org.appfuse.webapp.client.application.utils.menu

Examples of org.appfuse.webapp.client.application.utils.menu.MenuItem


            final Element element = menuItem.getElement();
            if (element != null) {
                element.removeClassName(Constants.ACTIVE);
            }
        }
        final MenuItem currentMenuItem = findCurrentMenuItem(currentPlace);
        if (currentMenuItem != null) {
            setActive(currentMenuItem);
        }
    }
View Full Code Here


    }

    @Override
    public void onPlaceChange(final PlaceChangeEvent event) {
        sideBar.setInnerHTML("");
        final MenuItem currentMenuItem = findCurrentMenuItem(event.getNewPlace());
        if (currentMenuItem != null && currentMenuItem.getParent() != null && currentMenuItem.getParent().getTitle() != null) {
            drawMenu(currentMenuItem);
            sideBar.removeClassName("hide");
        } else {
            // do not draw root menu on the side
            sideBar.addClassName("hide");
View Full Code Here

TOP

Related Classes of org.appfuse.webapp.client.application.utils.menu.MenuItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.