public class GotoTestOrCodeHandler extends GotoTargetHandler
GotoTargetHandler.AdditionalAction, GotoTargetHandler.GotoData
Constructor and Description |
---|
GotoTestOrCodeHandler() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getAdText(PsiElement source,
int length) |
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) |
static PsiElement |
getSelectedElement(Editor editor,
PsiFile file) |
protected GotoTargetHandler.GotoData |
getSourceAndTargetElements(Editor editor,
PsiFile file) |
protected void |
navigateToElement(Navigatable element) |
protected boolean |
shouldSortTargets() |
protected boolean |
useEditorFont() |
chooseFromAmbiguousSources, createComparator, createRenderer, getChooserTitle, getRenderer, invoke, navigateToElement, startInWriteAction
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementToMakeWritable
protected java.lang.String getFeatureUsedKey()
getFeatureUsedKey
in class GotoTargetHandler
protected GotoTargetHandler.GotoData getSourceAndTargetElements(Editor editor, PsiFile file)
getSourceAndTargetElements
in class GotoTargetHandler
public static PsiElement getSelectedElement(Editor editor, PsiFile file)
protected boolean shouldSortTargets()
shouldSortTargets
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
protected java.lang.String getAdText(PsiElement source, int length)
getAdText
in class GotoTargetHandler
protected boolean useEditorFont()
useEditorFont
in class GotoTargetHandler
protected void navigateToElement(Navigatable element)
navigateToElement
in class GotoTargetHandler