예제 #1
0
 public void updateChanges(List<ModelNode> _changes) {
   dataProvider.setList(_changes);
   table.selectDefaultEntity();
   this.changes.clear();
   this.changes.addAll(_changes);
   detailsConfigurationChange.clearValue();
 }
예제 #2
0
  @Override
  public void updateFrom(EESubsystem eeSubsystem) {
    form.edit(eeSubsystem);
    dataProvider.setList(eeSubsystem.getModules());

    moduleList.selectDefaultEntity();
  }
예제 #3
0
  public void setStack(JGroupsStack stack) {
    this.selectedStack = stack;

    headline.setText("Protocols: Stack " + stack.getName());

    dataProvider.setList(stack.getProtocols());
    table.selectDefaultEntity();
  }
예제 #4
0
  @Override
  public void updateDeploymentInfo(List<DeploymentRecord> deployments) {
    dataProvider.getList().clear();
    dataProvider.getList().addAll(deployments);
    dataProvider.flush();

    deploymentTable.selectDefaultEntity();

    filter.reset(true);
  }
예제 #5
0
파일: IOPanel.java 프로젝트: hal/core
 public void update(final List<Property> models) {
   dataProvider.setList(models);
   if (models.isEmpty()) {
     selectionModel.clear();
   } else {
     table.selectDefaultEntity();
   }
   SelectionChangeEvent.fire(
       selectionModel); // updates ModelNodeForm's editedEntity with current value
 }
예제 #6
0
  public void setAdapter(ResourceAdapter adapter) {

    this.currentAdapter = adapter;

    configProperties.clearValues();

    headline.setText("Resource Adapter: " + adapter.getArchive());

    List<AdminObject> list = adapter.getAdminObjects();
    dataProvider.setList(list);

    table.selectDefaultEntity();
  }
예제 #7
0
  public void setDiverts(List<ActivemqDivert> diverts) {
    provider.setList(diverts);
    serverName.setText("Diverts: Provider " + presenter.getCurrentServer());
    table.selectDefaultEntity();

    // populate oracle
    presenter.loadExistingQueueNames(
        new AsyncCallback<List<String>>() {
          @Override
          public void onFailure(Throwable throwable) {}

          @Override
          public void onSuccess(List<String> names) {
            divertForm.setQueueNames(names);
          }
        });
  }
예제 #8
0
 public void setSecurityConfig(List<ActivemqSecurityPattern> patterns) {
   secProvider.setList(patterns);
   secTable.selectDefaultEntity();
   form.setEnabled(false);
   serverName.setText("Security Settings: Provider " + presenter.getCurrentServer());
 }
예제 #9
0
  public void updateFrom(List<MailSession> list) {
    dataProvider.setList(list);

    table.selectDefaultEntity();
  }