示例#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;
 }
示例#2
0
 // BROKERS
 private void addBrokerMen() {
   String header =
       getHeaderString(DashboardMessages.MSG.menuBrokers(), DashboardImages.IMG.userBlue());
   this.add(createBrokerItems(), header, true);
 }