pull up + fixes
authorKirill Safonov <kirill.safonov@swiftteams.com>
Fri, 25 Sep 2009 17:34:45 +0000 (21:34 +0400)
committerKirill Safonov <kirill.safonov@swiftteams.com>
Fri, 25 Sep 2009 17:34:45 +0000 (21:34 +0400)
platform/lang-impl/src/com/intellij/refactoring/actions/PullUpAction.java

index 0c31ab314348a00ae1e5b7f0d06914c0da387442..63345b5742dac388c0cc560819bab2088494f91d 100644 (file)
@@ -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
+}