Esempio n. 1
0
 private VerticalPanel createBrokerItems() {
   VerticalPanel panel = new VerticalPanel();
   panel.setSpacing(4);
   panel.add(
       createHyperlinkToUserPanel(
           DashboardMessages.MSG.menuBrokerOffices(), BrokerOfficesPresenter.PRESENTER_ID));
   panel.add(
       createHyperlinkToUserPanel(
           DashboardMessages.MSG.menuAddBrokerOffice(), EditBrokerOfficePresenter.PRESENTER_ID));
   panel.add(
       createHyperlinkToUserPanel(
           DashboardMessages.MSG.menuBrokers(), BrokersPresenter.PRESENTER_ID));
   panel.add(
       createHyperlinkToUserPanel(
           DashboardMessages.MSG.menuAddBroker(), EditBrokerPresenter.PRESENTER_ID));
   return panel;
 }
Esempio n. 2
0
 // BROKERS
 private void addBrokerMen() {
   String header =
       getHeaderString(DashboardMessages.MSG.menuBrokers(), DashboardImages.IMG.userBlue());
   this.add(createBrokerItems(), header, true);
 }