public interface AsyncFileEditorProvider extends FileEditorProvider
| Modifier and Type | Interface and Description |
|---|---|
static class |
AsyncFileEditorProvider.Builder |
EP_FILE_EDITOR_PROVIDER, KEY| Modifier and Type | Method and Description |
|---|---|
AsyncFileEditorProvider.Builder |
createEditorAsync(Project project,
VirtualFile file)
This method is intended to be called from background thread.
|
accept, createEditor, disposeEditor, getEditorTypeId, getPolicy, readState, writeStateAsyncFileEditorProvider.Builder createEditorAsync(Project project, VirtualFile file)
Currently, this method is called from a background thread only when editors are reopened on IDE startup. In other cases, it's still invoked on EDT, so executing time-consuming tasks in it will block the UI.