@Override public void start(final AcceptItem acceptTabItem, EventBus eventBus) { view.showLoadingPackageInformationMessage(); // title is not used. acceptTabItem.add(null, view); clientFactory .getModuleService() .loadModule( uuid, new GenericCallback<Module>() { public void onSuccess(Module conf) { packageConfigData = conf; RulePackageSelector.currentlySelectedPackage = packageConfigData.getName(); fillModuleItemStructure(); view.closeLoadingPackageInformationMessage(); } }); }
@Override public void start(AcceptItem tabbedPanel, EventBus eventBus) { AssignedTasksView widget = new AssignedTasksView(clientFactory); widget.setController(clientFactory.getController()); tabbedPanel.add(Constants.INSTANCE.PersonalTasks(), widget); }
private void openInboxPagedTable(AcceptItem tabbedPanel, String title, String type) { tabbedPanel.add(title, new InboxPagedTable(type, clientFactory)); }