private List<? extends MenuItem> getDashboardViews() {
    final List<MenuItem> result = new ArrayList<MenuItem>(1);
    result.add(
        MenuFactory.newSimpleItem(constants.Process_Dashboard())
            .withRoles(kieACL.getGrantedRoles(F_PROCESS_DASHBOARD))
            .place(new DefaultPlaceRequest("DashboardPerspective"))
            .endMenu()
            .build()
            .getItems()
            .get(0));

    final String dashbuilderURL =
        DashboardURLBuilder.getDashboardURL(
            "/dashbuilder/workspace", "showcase", LocaleInfo.getCurrentLocale().getLocaleName());
    result.add(
        MenuFactory.newSimpleItem(constants.Business_Dashboard())
            .withRoles(kieACL.getGrantedRoles(F_DASHBOARD_BUILDER))
            .respondsWith(
                new Command() {
                  @Override
                  public void execute() {
                    Window.open(dashbuilderURL, "_blank", "");
                  }
                })
            .endMenu()
            .build()
            .getItems()
            .get(0));

    return result;
  }
  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;
  }