aboutsummaryrefslogtreecommitdiffstats
path: root/integration/intellij/src/main/java/ai/vespa/intellij/schema/findUsages/SdDocumentSummaryGroupingRuleProvider.java
blob: 5c11622446ee441e4a653a08c136bc90e1842e47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package ai.vespa.intellij.schema.findUsages;

import com.intellij.openapi.project.Project;
import com.intellij.usages.impl.FileStructureGroupRuleProvider;
import com.intellij.usages.rules.UsageGroupingRule;

/**
 * This class is used for the extension (in plugin.xml) to the class SdDocumentSummaryGroupingRule.
 *
 * @author Shahar Ariel
 */
public class SdDocumentSummaryGroupingRuleProvider implements FileStructureGroupRuleProvider {
    
    @Override
    public UsageGroupingRule getUsageGroupingRule(Project project) {
        return new SdDocumentSummaryGroupingRule();
    }
}