From 6893df91d521425977bb4b08da71eebf350c7451 Mon Sep 17 00:00:00 2001 From: Kirill Safonov Date: Fri, 25 Sep 2009 21:34:45 +0400 Subject: [PATCH] pull up + fixes --- .../src/com/intellij/refactoring/actions/PullUpAction.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/refactoring/actions/PullUpAction.java b/platform/lang-impl/src/com/intellij/refactoring/actions/PullUpAction.java index 0c31ab3143..63345b5742 100644 --- a/platform/lang-impl/src/com/intellij/refactoring/actions/PullUpAction.java +++ b/platform/lang-impl/src/com/intellij/refactoring/actions/PullUpAction.java @@ -11,6 +11,11 @@ import com.intellij.refactoring.RefactoringActionHandler; import com.intellij.refactoring.lang.ElementsHandler; public class PullUpAction extends BaseRefactoringAction { + + public PullUpAction() { + setInjectedContext(true); + } + public boolean isAvailableInEditorOnly() { return false; } @@ -34,4 +39,4 @@ public class PullUpAction extends BaseRefactoringAction { protected boolean isAvailableForLanguage(final Language language) { return LanguageRefactoringSupport.INSTANCE.forLanguage(language).getPullUpHandler() != null; } -} \ No newline at end of file +} -- 2.11.4.GIT