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; }
// BANKERS private void addBankerMen() { String header = getHeaderString(DashboardMessages.MSG.menuBankers(), DashboardImages.IMG.userGreen()); this.add(createBankerItems(), header, true); }