Class BnfIntroduceRulePopup

java.lang.Object
com.intellij.refactoring.rename.inplace.InplaceRefactoring
com.intellij.refactoring.introduce.inplace.InplaceVariableIntroducer<BnfExpression>
org.intellij.grammar.refactor.BnfIntroduceRulePopup

public class BnfIntroduceRulePopup extends com.intellij.refactoring.introduce.inplace.InplaceVariableIntroducer<BnfExpression>
  • Field Summary

    Fields inherited from class com.intellij.refactoring.introduce.inplace.InplaceVariableIntroducer

    myExpr, myExprMarker, myOccurrenceMarkers, myOccurrences

    Fields inherited from class com.intellij.refactoring.rename.inplace.InplaceRefactoring

    INPLACE_RENAME_ALLOWED, INPLACE_RENAMER, INTRODUCE_RESTART, LOG, myAdvertisementText, myBalloon, myBeforeRevert, myCaretRangeMarker, myEditor, myElementToRename, myInitialName, myInsertedName, myMarkAction, myNameSuggestions, myOldName, myProject, myRenameOffset, myScope, myTarget, myTitle, OTHER_VARIABLE_NAME, PRIMARY_VARIABLE_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
    BnfIntroduceRulePopup(com.intellij.openapi.project.Project project, com.intellij.openapi.editor.Editor editor, BnfRule rule, BnfExpression expr)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected JComponent
     
    protected void
    moveOffsetAfter(boolean success)
     
    void
    perform(boolean generatePrivate)
     

    Methods inherited from class com.intellij.refactoring.introduce.inplace.InplaceVariableIntroducer

    checkLocalScope, createLookupExpression, createMarker, getCommandName, getExpr, getExprMarker, getOccurrenceMarkers, getOccurrences, initOccurrencesMarkers, performRefactoring, setExprMarker, setOccurrenceMarkers, shouldSelectAll, startRename

    Methods inherited from class com.intellij.refactoring.rename.inplace.InplaceRefactoring

    acceptReference, addAdditionalVariables, addHighlights, addReferenceAtCaret, adjustBalloon, afterTemplateStart, beforeTemplateStart, buildTemplateAndStart, canStartAnotherRefactoring, checkRangeContainsOffset, collectAdditionalElementsToRename, collectRefs, createPreviewComponent, createTemplateExpression, finish, getActiveInplaceRenamer, getInitialName, getNameIdentifier, getPopupOptionsAdvertisement, getRangeToRename, getRangeToRename, getReferencesSearchScope, getSelectedInEditorElement, getTopLevelVirtualFile, getVariable, initPopupOptionsAdvertisement, isIdentifier, isReferenceAtCaret, isReferenceAtCaret, isRestart, isShowBalloonInHeadlessMode, navigateToAlreadyStarted, notSameFile, performCleanup, performInplaceRefactoring, releaseIfNotRestart, releaseResources, restoreCaretOffset, restoreSelection, revertState, setAdvertisementText, setElementToRename, setShowBalloonInHeadlessMode, shouldStopAtLookupExpression, showBalloon, showBalloonInEditor, showDialogAdvertisement, startsOnTheSameElement, startsOnTheSameElements, stopIntroduce, stopIntroduce, unableToStartWarning

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BnfIntroduceRulePopup

      public BnfIntroduceRulePopup(com.intellij.openapi.project.Project project, com.intellij.openapi.editor.Editor editor, BnfRule rule, BnfExpression expr)
  • Method Details

    • moveOffsetAfter

      protected void moveOffsetAfter(boolean success)
      Overrides:
      moveOffsetAfter in class com.intellij.refactoring.introduce.inplace.InplaceVariableIntroducer<BnfExpression>
    • getComponent

      protected JComponent getComponent()
      Overrides:
      getComponent in class com.intellij.refactoring.rename.inplace.InplaceRefactoring
    • perform

      public void perform(boolean generatePrivate)