Package org.eclipse.core.resources.mapping

Examples of org.eclipse.core.resources.mapping.IResourceChangeDescriptionFactory.change()


    static final void touch(CheckConditionsContext context, ISigilProjectModel sigil)
    {
        ResourceChangeChecker checker = (ResourceChangeChecker) context.getChecker(ResourceChangeChecker.class);
        IResourceChangeDescriptionFactory deltaFactory = checker.getDeltaFactory();
        IFile file = sigil.getProject().getFile(SigilCore.SIGIL_PROJECT_FILE);
        deltaFactory.change(file);
    }   
   
    static void createNewImport(RefactoringStatus status, List<Change> changes, ISigilProjectModel project,
        IPackageExport export)
    {
View Full Code Here


      IResourceChangeDescriptionFactory deltaFactory = checker
          .getDeltaFactory();
      fDeleteModifications.buildDelta(deltaFactory);
      IFile[] files = getBuildpathFiles();
      for (int i = 0; i < files.length; i++) {
        deltaFactory.change(files[i]);
      }
      files = ResourceUtil.getFiles(manager.getAllSourceModules());
      for (int i = 0; i < files.length; i++) {
        deltaFactory.change(files[i]);
      }
View Full Code Here

      for (int i = 0; i < files.length; i++) {
        deltaFactory.change(files[i]);
      }
      files = ResourceUtil.getFiles(manager.getAllSourceModules());
      for (int i = 0; i < files.length; i++) {
        deltaFactory.change(files[i]);
      }
      return result;
    } catch (OperationCanceledException e) {
      fWasCanceled = true;
      throw e;
View Full Code Here

      IFile[] allModifiedFiles = getAllModifiedFiles();
      RefactoringModifications modifications = getModifications();
      IResourceChangeDescriptionFactory deltaFactory = checker
          .getDeltaFactory();
      for (int i = 0; i < allModifiedFiles.length; i++) {
        deltaFactory.change(allModifiedFiles[i]);
      }
      if (modifications != null) {
        modifications.buildDelta(deltaFactory);
        modifications.buildValidateEdits((ValidateEditChecker) context
            .getChecker(ValidateEditChecker.class));
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.