public class GotoImplementationHandler extends GotoTargetHandler
GotoTargetHandler.AdditionalAction, GotoTargetHandler.GotoData
Constructor and Description |
---|
GotoImplementationHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
chooseFromAmbiguousSources(Editor editor,
PsiFile file,
Consumer<? super GotoTargetHandler.GotoData> successCallback) |
protected java.lang.String |
getChooserTitle(PsiElement sourceElement,
java.lang.String name,
int length,
boolean finished) |
protected java.lang.String |
getFeatureUsedKey() |
protected java.lang.String |
getFindUsagesTitle(PsiElement sourceElement,
java.lang.String name,
int length) |
protected java.lang.String |
getNotFoundMessage(Project project,
Editor editor,
PsiFile file) |
GotoTargetHandler.GotoData |
getSourceAndTargetElements(Editor editor,
PsiFile file) |
static int |
tryGetNavigationSourceOffsetFromGutterIcon(Editor editor,
java.lang.String actionId) |
createComparator, createRenderer, getAdText, getChooserTitle, getRenderer, invoke, navigateToElement, navigateToElement, shouldSortTargets, startInWriteAction, useEditorFont
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementToMakeWritable
protected java.lang.String getFeatureUsedKey()
getFeatureUsedKey
in class GotoTargetHandler
public GotoTargetHandler.GotoData getSourceAndTargetElements(Editor editor, PsiFile file)
getSourceAndTargetElements
in class GotoTargetHandler
public static int tryGetNavigationSourceOffsetFromGutterIcon(Editor editor, java.lang.String actionId)
protected void chooseFromAmbiguousSources(Editor editor, PsiFile file, Consumer<? super GotoTargetHandler.GotoData> successCallback)
chooseFromAmbiguousSources
in class GotoTargetHandler
protected java.lang.String getChooserTitle(PsiElement sourceElement, java.lang.String name, int length, boolean finished)
getChooserTitle
in class GotoTargetHandler
protected java.lang.String getFindUsagesTitle(PsiElement sourceElement, java.lang.String name, int length)
getFindUsagesTitle
in class GotoTargetHandler
protected java.lang.String getNotFoundMessage(Project project, Editor editor, PsiFile file)
getNotFoundMessage
in class GotoTargetHandler