});
tablePanel.setEditAction(new AnActionButtonRunnable() {
@Override
public void run(AnActionButton anActionButton) {
ContainerFile containerFile = ContainerSettingsForm.this.tableView.getSelectedObject();
if(containerFile != null) {
String uri = ContainerSettingsForm.this.getPathDialog(null);
if(uri != null) {
containerFile.setPath(uri);
ContainerSettingsForm.this.changed = true;
}
}
}
});
tablePanel.setAddAction(new AnActionButtonRunnable() {
@Override
public void run(AnActionButton anActionButton) {
String uri = ContainerSettingsForm.this.getPathDialog(null);
if(uri != null) {
ContainerSettingsForm.this.tableView.getListTableModel().addRow(new ContainerFile(uri));
ContainerSettingsForm.this.changed = true;
}
}
});