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