Пример #1
0
  @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();
              }
            });
  }
Пример #2
0
 @Override
 public void start(AcceptItem tabbedPanel, EventBus eventBus) {
   AssignedTasksView widget = new AssignedTasksView(clientFactory);
   widget.setController(clientFactory.getController());
   tabbedPanel.add(Constants.INSTANCE.PersonalTasks(), widget);
 }
Пример #3
0
 private void openInboxPagedTable(AcceptItem tabbedPanel, String title, String type) {
   tabbedPanel.add(title, new InboxPagedTable(type, clientFactory));
 }