Search in sources :

Example 1 with ExternalProjectStructureCustomizer

use of com.intellij.openapi.externalSystem.importing.ExternalProjectStructureCustomizer in project intellij-community by JetBrains.

the class ExternalProjectDataSelectorDialog method getDependencyAwareDataKeys.

@NotNull
private static Set<Key<? extends Identifiable>> getDependencyAwareDataKeys() {
    Set<Key<? extends Identifiable>> result = ContainerUtil.newHashSet();
    result.add(ProjectKeys.MODULE);
    for (ExternalProjectStructureCustomizer customizer : ExternalProjectStructureCustomizer.EP_NAME.getExtensions()) {
        result.addAll(customizer.getDependencyAwareDataKeys());
    }
    return result;
}
Also used : ExternalProjectStructureCustomizer(com.intellij.openapi.externalSystem.importing.ExternalProjectStructureCustomizer) Key(com.intellij.openapi.externalSystem.model.Key) Identifiable(com.intellij.openapi.externalSystem.model.project.Identifiable) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

ExternalProjectStructureCustomizer (com.intellij.openapi.externalSystem.importing.ExternalProjectStructureCustomizer)1 Key (com.intellij.openapi.externalSystem.model.Key)1 Identifiable (com.intellij.openapi.externalSystem.model.project.Identifiable)1 NotNull (org.jetbrains.annotations.NotNull)1