public void updateChanges(List<ModelNode> _changes) { dataProvider.setList(_changes); table.selectDefaultEntity(); this.changes.clear(); this.changes.addAll(_changes); detailsConfigurationChange.clearValue(); }
@Override public void updateFrom(EESubsystem eeSubsystem) { form.edit(eeSubsystem); dataProvider.setList(eeSubsystem.getModules()); moduleList.selectDefaultEntity(); }
public void setStack(JGroupsStack stack) { this.selectedStack = stack; headline.setText("Protocols: Stack " + stack.getName()); dataProvider.setList(stack.getProtocols()); table.selectDefaultEntity(); }
@Override public void updateDeploymentInfo(List<DeploymentRecord> deployments) { dataProvider.getList().clear(); dataProvider.getList().addAll(deployments); dataProvider.flush(); deploymentTable.selectDefaultEntity(); filter.reset(true); }
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 }
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(); }
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); } }); }
public void setSecurityConfig(List<ActivemqSecurityPattern> patterns) { secProvider.setList(patterns); secTable.selectDefaultEntity(); form.setEnabled(false); serverName.setText("Security Settings: Provider " + presenter.getCurrentServer()); }
public void updateFrom(List<MailSession> list) { dataProvider.setList(list); table.selectDefaultEntity(); }