mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Add comment to use WorkspaceModel.eventLog instead of DirectoryProjectConfigurator
GitOrigin-RevId: 4354ab0746f30365bb5e900bbb467c495e0e07fb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ced16698e8
commit
67ce471725
@@ -22,6 +22,8 @@ interface DirectoryProjectConfigurator {
|
||||
|
||||
/**
|
||||
* Please use [AsyncDirectoryProjectConfigurator] instead.
|
||||
* If you want to configure new modules e.g., detect and set an SDK for a module,
|
||||
* consider subscribing to [com.intellij.platform.backend.workspace.WorkspaceModel.eventLog] instead.
|
||||
* @param isProjectCreatedWithWizard if true, then new project created with wizard, existing folder opened otherwise
|
||||
*/
|
||||
fun configureProject(project: Project, baseDir: VirtualFile, moduleRef: Ref<Module>, isProjectCreatedWithWizard: Boolean)
|
||||
@@ -30,6 +32,10 @@ interface DirectoryProjectConfigurator {
|
||||
final override val isEdtRequired: Boolean
|
||||
get() = false
|
||||
|
||||
/**
|
||||
* If you want to configure new modules e.g., detect and set an SDK for a module,
|
||||
* consider subscribing to [com.intellij.platform.backend.workspace.WorkspaceModel.eventLog] instead.
|
||||
*/
|
||||
final override fun configureProject(project: Project,
|
||||
baseDir: VirtualFile,
|
||||
moduleRef: Ref<Module>,
|
||||
|
||||
Reference in New Issue
Block a user