use of com.intellij.execution.filters.AbstractFileHyperlinkFilter in project intellij-plugins by JetBrains.
the class KarmaTestProxyFilterProvider method getFilter.
@Nullable
@Override
public Filter getFilter(@NotNull String nodeType, @NotNull String nodeName, @Nullable String nodeArguments) {
KarmaConfig config = myKarmaServer.getKarmaConfig();
String baseDir = config != null ? config.getBasePath() : null;
if ("browser".equals(nodeType)) {
AbstractFileHyperlinkFilter browserFilter = BrowserStacktraceFilters.createFilter(nodeName, myProject, baseDir);
if (browserFilter != null) {
return new KarmaSourceMapStacktraceFilter(myProject, baseDir, browserFilter);
}
}
if ("browserError".equals(nodeType)) {
return getBrowserErrorFilter();
}
return null;
}
Aggregations