protected List<? extends MenuItem> getDashboardsViews() { final List<MenuItem> result = new ArrayList<>(2); result.add( MenuFactory.newSimpleItem(constants.Process_Dashboard()) .perspective("DashboardPerspective") .endMenu() .build() .getItems() .get(0)); result.add( MenuFactory.newSimpleItem(constants.Business_Dashboard()) .respondsWith( () -> Window.open( DashboardURLBuilder.getDashboardURL( "/dashbuilder/workspace", null, LocaleInfo.getCurrentLocale().getLocaleName()), "_blank", "")) .endMenu() .build() .getItems() .get(0)); return result; }