Package org.eclipse.ltk.core.refactoring

Examples of org.eclipse.ltk.core.refactoring.CompositeChange.merge()


          if (status.hasFatalError())
            fChangeManager = new TextChangeManager();
        }
        // </workaround>

        composite
            .merge(new CompositeChange(
                RefactoringCoreMessages.MoveRefactoring_reorganize_elements,
                fChangeManager.getAllChanges()));

        Change fileMove = createSimpleMoveChange(new SubProgressMonitor(
View Full Code Here


                fChangeManager.getAllChanges()));

        Change fileMove = createSimpleMoveChange(new SubProgressMonitor(
            pm, 1));
        if (fileMove instanceof CompositeChange) {
          composite.merge(((CompositeChange) fileMove));
        } else {
          composite.add(fileMove);
        }
        return composite;
      } finally {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.