List of usage examples for com.google.gwt.gwtpages.client.page LoadedPageContainer getPageToken
public String getPageToken()
From source file:com.google.gwt.gwtpages.demo.client.pages.layout.MenuItemsPanel.java
@Override public void onPageShown(LoadedPageContainer currentPageData, PageParameters parameters, GotoPageCommand command, LoadedPageContainer previousPageData) { boolean matchFound = false; for (MenuItemLink link : links) { if (link.pageToken.equals(currentPageData.getPageToken())) { matchFound = true;/*www . j av a 2 s .c o m*/ break; } } if (matchFound) { for (MenuItemLink link : links) { if (link.pageToken.equals(currentPageData.getPageToken())) { link.select(); } else { link.reset(); } } } }