public void updateChanges(List<ModelNode> _changes) { dataProvider.setList(_changes); table.selectDefaultEntity(); this.changes.clear(); this.changes.addAll(_changes); detailsConfigurationChange.clearValue(); }
public void setEnabled(final boolean enabled) { if (enabled) { enableBtn.setVisible(false); disableBtn.setVisible(true); refreshBtn.setEnabled(true); } else { enableBtn.setVisible(true); disableBtn.setVisible(false); refreshBtn.setEnabled(false); dataProvider.setList(Collections.emptyList()); } detailsConfigurationChange.clearValue(); }