Examples of CompositeChange


Examples of org.eclipse.ltk.core.refactoring.CompositeChange

    }

    public Change createChange(IProgressMonitor pm) throws ModelException {
      IProjectFragment[] roots = getProjectFragments();
      pm.beginTask("", roots.length); //$NON-NLS-1$
      CompositeChange composite = new DynamicValidationStateChange(
          RefactoringCoreMessages.ReorgPolicy_move_source_folder);
      composite.markAsSynthetic();
      IScriptProject destination = getDestinationScriptProject();
      Assert.isNotNull(destination);
      for (int i = 0; i < roots.length; i++) {
        composite.add(createChange(roots[i], destination));
        pm.worked(1);
      }
      pm.done();
      return composite;
    }
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.