FileChooserDescriptor (@NotNull ProjectSystemId systemId) { ExternalSystemManager<?, ?, ?, ?, ?> manager = getManager(systemId); if (manager instanceof ExternalSystemUiAware uiAware) { FileChooserDescriptor descriptor = uiAware.getExternalProjectConfigDescriptor(); if (descriptor != null) { return descriptor; } } return FileChooserDescriptorFactory.createSingleLocalFileDescriptor(); }