@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); }
public void setThreadPoolNames(List<String> threadPoolNames) { asyncServiceView.setThreadPoolNames(threadPoolNames); timerServiceView.setThreadPoolNames(threadPoolNames); remoteServiceView.setThreadPoolNames(threadPoolNames); }
public void initialLoad() { asyncServiceView.initialLoad(); timerServiceView.initialLoad(); remoteServiceView.initialLoad(); }