Skip to content

Commit

Permalink
replacing one of many PsiElementListNavigator.openTargets with `Psi…
Browse files Browse the repository at this point in the history
…TargetNavigator`
  • Loading branch information
m0rkeulv committed Feb 2, 2024
1 parent 14a8e3f commit 8a51be8
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,9 @@ public void navigate(MouseEvent e, PsiElement elt) {
DaemonBundle.message("navigation.title.implementation.method", namedComponent.getName(), filteredSubItems.size()) :
DaemonBundle.message("navigation.title.overrider.method", namedComponent.getName(), filteredSubItems.size());


PsiElementListNavigator.openTargets(e, psiElements, title,
"Implementations of " + namedComponent.getName(),
new DefaultPsiElementCellRenderer()
);
new PsiTargetNavigator<>(psiElements)
.tabTitle("Implementations of " + namedComponent.getName())
.navigate(e,title, element.getProject());
}
},
GutterIconRenderer.Alignment.RIGHT,
Expand Down

0 comments on commit 8a51be8

Please sign in to comment.