Example usage for com.google.gwt.gwtpages.client.page.loader PageLoader PAGE_DEFAULT

List of usage examples for com.google.gwt.gwtpages.client.page.loader PageLoader PAGE_DEFAULT

Introduction

In this page you can find the example usage for com.google.gwt.gwtpages.client.page.loader PageLoader PAGE_DEFAULT.

Prototype

String PAGE_DEFAULT

To view the source code for com.google.gwt.gwtpages.client.page.loader PageLoader PAGE_DEFAULT.

Click Source Link

Usage

From source file:com.google.gwt.gwtpages.demo.client.pages.layout.MenuItemsPanel.java

public MenuItemsPanel(boolean isLeftSide) {
    this.leftSide = isLeftSide;

    links = new ArrayList<MenuItemsPanel.MenuItemLink>();
    links.add(new MenuItemLink(PageLoader.PAGE_DEFAULT, "Home"));
    links.add(new MenuItemLink(PageConstants.PAGE_NAVIGATION, "Navigation"));
    links.add(new MenuItemLink(PageConstants.PAGE_MESSAGES, "Messages"));
    links.add(new MenuItemLink(PageConstants.PAGE_LAYOUTS, "Layouts"));
    links.add(new MenuItemLink(PageConstants.PAGE_LOADERS, "Page Loaders"));
    links.add(new MenuItemLink(PageConstants.PAGE_EVENTS, "Page Events"));
    links.add(new MenuItemLink(PageConstants.PAGE_SECURITY, "Security"));
    links.add(new MenuItemLink(PageConstants.PAGE_MVP, "MVP"));

    for (MenuItemLink link : links)
        add(link);//from   ww  w .j a v  a  2 s .com
}