mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
hide import from external model if there is no importer (IDEADEV-40051)
This commit is contained in:
@@ -73,7 +73,7 @@ public class ImportMode extends WizardMode {
|
||||
}
|
||||
|
||||
public boolean isAvailable(WizardContext context) {
|
||||
return true;
|
||||
return Extensions.getExtensions(ProjectImportProvider.PROJECT_IMPORT_PROVIDER).length > 0;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user