Search in sources :

Example 1 with JsonSchemaProviderFactory

use of com.jetbrains.jsonSchema.extension.JsonSchemaProviderFactory in project intellij-community by JetBrains.

the class JsonSchemaServiceImpl method getProviders.

private List<JsonSchemaFileProvider> getProviders() {
    final List<JsonSchemaFileProvider> providers = new ArrayList<>();
    for (JsonSchemaProviderFactory factory : getProviderFactories()) {
        providers.addAll(factory.getProviders(myProject));
    }
    Collections.sort(providers, FILE_PROVIDER_COMPARATOR);
    return providers;
}
Also used : JsonSchemaFileProvider(com.jetbrains.jsonSchema.extension.JsonSchemaFileProvider) JsonSchemaProviderFactory(com.jetbrains.jsonSchema.extension.JsonSchemaProviderFactory)

Aggregations

JsonSchemaFileProvider (com.jetbrains.jsonSchema.extension.JsonSchemaFileProvider)1 JsonSchemaProviderFactory (com.jetbrains.jsonSchema.extension.JsonSchemaProviderFactory)1