use of com.microsoft.intellij.helpers.storage.TableFileEditor in project azure-tools-for-java by Microsoft.
the class UIHelperImpl method refreshTable.
@Override
public void refreshTable(@NotNull final Object projectObject, @NotNull final StorageAccount storageAccount, @NotNull final Table table) {
AzureTaskManager.getInstance().read(() -> {
final VirtualFile file = (VirtualFile) getOpenedFile(projectObject, storageAccount.name(), table);
if (file != null) {
final TableFileEditor tableFileEditor = (TableFileEditor) FileEditorManager.getInstance((Project) projectObject).getEditors(file)[0];
AzureTaskManager.getInstance().runLater(tableFileEditor::fillGrid);
}
});
}
Aggregations