Beispiel #1
0
  @Override
  public Widget createWidget() {

    VerticalPanel vpanel = new VerticalPanel();
    vpanel.setStyleName("rhs-content-panel");

    vpanel.add(new ContentHeaderLabel(Console.CONSTANTS.subsys_ejb3_ejbServices()));
    vpanel.add(new ContentDescription(Console.CONSTANTS.subsys_ejb3_services_desc()));

    TabPanel bottomPanel = new TabPanel();
    bottomPanel.setStyleName("default-tabpanel");

    bottomPanel.add(timerServiceView.asWidget(), timerServiceView.getEntityDisplayName());
    bottomPanel.add(asyncServiceView.asWidget(), asyncServiceView.getEntityDisplayName());
    bottomPanel.add(remoteServiceView.asWidget(), remoteServiceView.getEntityDisplayName());
    bottomPanel.selectTab(0);

    vpanel.add(bottomPanel);

    return new ScrollPanel(vpanel);
  }