示例#1
0
 private VerticalPanel createBankerItems() {
   VerticalPanel panel = new VerticalPanel();
   panel.setSpacing(4);
   panel.add(
       createHyperlinkToUserPanel(
           DashboardMessages.MSG.menuBankOffices(), BankOfficesPresenter.PRESENTER_ID));
   panel.add(
       createHyperlinkToUserPanel(
           DashboardMessages.MSG.menuAddBankOffice(), EditBankOfficePresenter.PRESENTER_ID));
   panel.add(
       createHyperlinkToUserPanel(
           DashboardMessages.MSG.menuBankers(), BankersPresenter.PRESENTER_ID));
   panel.add(
       createHyperlinkToUserPanel(
           DashboardMessages.MSG.menuAddBanker(), EditBankerPresenter.PRESENTER_ID));
   return panel;
 }
示例#2
0
 // BANKERS
 private void addBankerMen() {
   String header =
       getHeaderString(DashboardMessages.MSG.menuBankers(), DashboardImages.IMG.userGreen());
   this.add(createBankerItems(), header, true);
 }