Class TestMePopUpHandler

  • All Implemented Interfaces:
    com.intellij.codeInsight.CodeInsightActionHandler, com.intellij.codeInsight.intention.FileModifier, com.intellij.openapi.application.WriteActionAware
    Direct Known Subclasses:
    TestMeActionHandler

    public abstract class TestMePopUpHandler
    extends java.lang.Object
    implements com.intellij.codeInsight.CodeInsightActionHandler
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  TestMePopUpHandler.AdditionalAction  
      static class  TestMePopUpHandler.GotoData  
      • Nested classes/interfaces inherited from interface com.intellij.codeInsight.intention.FileModifier

        com.intellij.codeInsight.intention.FileModifier.SafeFieldForPreview
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected @Nullable java.lang.String getAdText​(com.intellij.psi.PsiElement source, int length)  
      protected abstract @NotNull java.lang.String getChooserTitle​(com.intellij.openapi.editor.Editor editor, com.intellij.psi.PsiFile file, com.intellij.psi.PsiElement sourceElement)  
      protected abstract java.lang.String getFeatureUsedKey()  
      protected abstract @NotNull java.lang.String getNotFoundMessage​(@NotNull com.intellij.openapi.project.Project project, @NotNull com.intellij.openapi.editor.Editor editor, @NotNull com.intellij.psi.PsiFile file)  
      protected abstract @Nullable TestMePopUpHandler.GotoData getSourceAndTargetElements​(com.intellij.openapi.editor.Editor editor, com.intellij.psi.PsiFile file)  
      void invoke​(@NotNull com.intellij.openapi.project.Project project, @NotNull com.intellij.openapi.editor.Editor editor, @NotNull com.intellij.psi.PsiFile file)  
      protected void navigateToElement​(com.intellij.pom.Navigatable descriptor)  
      boolean startInWriteAction()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.intellij.codeInsight.intention.FileModifier

        getElementToMakeWritable, getFileModifierForPreview
    • Constructor Detail

      • TestMePopUpHandler

        public TestMePopUpHandler()
    • Method Detail

      • startInWriteAction

        public boolean startInWriteAction()
        Specified by:
        startInWriteAction in interface com.intellij.openapi.application.WriteActionAware
      • invoke

        public void invoke​(@NotNull
                           @NotNull com.intellij.openapi.project.Project project,
                           @NotNull
                           @NotNull com.intellij.openapi.editor.Editor editor,
                           @NotNull
                           @NotNull com.intellij.psi.PsiFile file)
        Specified by:
        invoke in interface com.intellij.codeInsight.CodeInsightActionHandler
      • getFeatureUsedKey

        @NonNls
        protected abstract java.lang.String getFeatureUsedKey()
      • getSourceAndTargetElements

        @Nullable
        protected abstract @Nullable TestMePopUpHandler.GotoData getSourceAndTargetElements​(com.intellij.openapi.editor.Editor editor,
                                                                                            com.intellij.psi.PsiFile file)
      • navigateToElement

        protected void navigateToElement​(com.intellij.pom.Navigatable descriptor)
      • getChooserTitle

        @NotNull
        protected abstract @NotNull java.lang.String getChooserTitle​(com.intellij.openapi.editor.Editor editor,
                                                                     com.intellij.psi.PsiFile file,
                                                                     com.intellij.psi.PsiElement sourceElement)
      • getNotFoundMessage

        @NotNull
        protected abstract @NotNull java.lang.String getNotFoundMessage​(@NotNull
                                                                        @NotNull com.intellij.openapi.project.Project project,
                                                                        @NotNull
                                                                        @NotNull com.intellij.openapi.editor.Editor editor,
                                                                        @NotNull
                                                                        @NotNull com.intellij.psi.PsiFile file)
      • getAdText

        @Nullable
        protected @Nullable java.lang.String getAdText​(com.intellij.psi.PsiElement source,
                                                       int length)