hide import from external model if there is no importer (IDEADEV-40051)

This commit is contained in:
anna
2009-11-05 12:55:07 +03:00
parent 059da422ed
commit 7b383c5940
@@ -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