Package com.intellij.refactoring

Examples of com.intellij.refactoring.MoveDestination


      public void run() {
        ApplicationManager.getApplication().runWriteAction(new Runnable() {
          public void run() {
            ModuleRootManager rootManager = TestUtil.getModuleRootManager(myFixture.getProject(), "t1");
            JavaRefactoringFactory factory = JavaRefactoringFactory.getInstance(myFixture.getProject());
            MoveDestination moveDestination = factory.createSourceRootMoveDestination("tx", rootManager.getSourceRoots()[0]);
            factory.createMoveClassesOrPackages(new PsiElement[]{activatorClass}, moveDestination).run();
          }
        });
      }
    }, "test", "testid");
View Full Code Here


      public void run() {
        ApplicationManager.getApplication().runWriteAction(new Runnable() {
          public void run() {
            ModuleRootManager rootManager = TestUtil.getModuleRootManager(myFixture.getProject(), "t1");
            JavaRefactoringFactory factory = JavaRefactoringFactory.getInstance(myFixture.getProject());
            MoveDestination moveDestination = factory.createSourceRootMoveDestination("tx", rootManager.getSourceRoots()[0]);
            factory.createMoveClassesOrPackages(new PsiElement[]{activatorClass}, moveDestination).run();
          }
        });
      }
    }, "test", "testid");
View Full Code Here

TOP

Related Classes of com.intellij.refactoring.MoveDestination

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.