示例#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);
  }
示例#2
0
 public void setThreadPoolNames(List<String> threadPoolNames) {
   asyncServiceView.setThreadPoolNames(threadPoolNames);
   timerServiceView.setThreadPoolNames(threadPoolNames);
   remoteServiceView.setThreadPoolNames(threadPoolNames);
 }
示例#3
0
 public void initialLoad() {
   asyncServiceView.initialLoad();
   timerServiceView.initialLoad();
   remoteServiceView.initialLoad();
 }