use of com.microsoft.azuretools.azureexplorer.forms.TableEntityForm in project azure-tools-for-java by Microsoft.
the class TableFileEditor method editEntity.
private void editEntity() {
TableEntity[] selectedEntities = getSelectedEntities();
if (selectedEntities != null && selectedEntities.length > 0) {
final TableEntity selectedEntity = selectedEntities[0];
final TableEntityForm form = new TableEntityForm(PluginUtil.getParentShell(), "Edit Entity");
form.setTableName(table.getName());
form.setStorageAccount(storageAccount);
form.setTableEntity(selectedEntity);
form.setOnFinish(new Runnable() {
@Override
public void run() {
// tableEntities.set(entitiesTable.getSelectedRow(), form.getTableEntity());
refreshGrid();
}
});
form.open();
}
}
Aggregations