}).endMenu().build().getItems().get(0));
menuItems.add(MenuFactory.newSimpleItem(AppConstants.INSTANCE.RecentlyEdited()).respondsWith(
new Command() {
@Override
public void execute() {
PlaceRequest p = new DefaultPlaceRequest("Inbox");
p.addParameter("inboxname", InboxPresenter.RECENT_EDITED_ID);
placeManager.goTo(p);
}
}).endMenu().build().getItems().get(0));
menuItems.add(MenuFactory.newSimpleItem(AppConstants.INSTANCE.RecentlyOpened()).respondsWith(
new Command() {
@Override
public void execute() {
PlaceRequest p = new DefaultPlaceRequest("Inbox");
p.addParameter("inboxname", InboxPresenter.RECENT_VIEWED_ID);
placeManager.goTo(p);
}
}).endMenu().build().getItems().get(0));
return menuItems;
}