Package org.eclipse.dltk.internal.corext.refactoring.changes

Examples of org.eclipse.dltk.internal.corext.refactoring.changes.UndoDeleteResourceChange


        ResourceDescription resourceDescription = ResourceDescription
            .fromResource(resource);
        element.delete(false, new SubProgressMonitor(pm, 1));
        resourceDescription.recordStateFromHistory(resource,
            new SubProgressMonitor(pm, 1));
        return new UndoDeleteResourceChange(resourceDescription);
      } else {
        element.delete(false, pm);
      }
      return null;
View Full Code Here


    for (int i = 0; i < fPackageDeletes.size(); i++) {
      IResource resource = (IResource) fPackageDeletes.get(i);
      ResourceDescription resourceDescription = packageDeleteDescriptions[i];
      resourceDescription.recordStateFromHistory(resource,
          new SubProgressMonitor(pm, 1));
      result.add(new UndoDeleteResourceChange(resourceDescription));
    }
    return result;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.dltk.internal.corext.refactoring.changes.UndoDeleteResourceChange

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.