Search in sources :

Example 1 with RefactoringManager

use of org.eclipse.che.plugin.java.server.refactoring.RefactoringManager in project che by eclipse.

the class MoveRefactoringSessionTest method setUp.

@Before
public void setUp() throws Exception {
    setup.setUp();
    super.setUp();
    manager = new RefactoringManager();
    getPackageP().createCompilationUnit("A.java", "package p;class A{}", false, new NullProgressMonitor());
    p1 = getRoot().createPackageFragment("p1", false, new NullProgressMonitor());
}
Also used : NullProgressMonitor(org.eclipse.core.runtime.NullProgressMonitor) RefactoringManager(org.eclipse.che.plugin.java.server.refactoring.RefactoringManager) Before(org.junit.Before)

Example 2 with RefactoringManager

use of org.eclipse.che.plugin.java.server.refactoring.RefactoringManager in project che by eclipse.

the class RenameRefactoringTest method setUp.

@Before
public void setUp() throws Exception {
    setup.setUp();
    super.setUp();
    manager = new RefactoringManager();
}
Also used : RefactoringManager(org.eclipse.che.plugin.java.server.refactoring.RefactoringManager) Before(org.junit.Before)

Aggregations

RefactoringManager (org.eclipse.che.plugin.java.server.refactoring.RefactoringManager)2 Before (org.junit.Before)2 NullProgressMonitor (org.eclipse.core.runtime.NullProgressMonitor)1