Examples of RefactoringHistory


Examples of org.eclipse.ltk.core.refactoring.history.RefactoringHistory

    Calendar calendar = Calendar.getInstance();
    calendar.add(Calendar.SECOND, SINCE_INTERVAL);
    long timeInterval = calendar.getTimeInMillis();
    long now = Calendar.getInstance().getTimeInMillis();

    RefactoringHistory history = refactoringHistoryService.getWorkspaceHistory(timeInterval, now, MONITOR);

    RefactoringDescriptorProxy[] descriptors = history.getDescriptors();
    for (int i = 0; i < descriptors.length; i++) {
      observer.onRefactoring();
    }

    refactoringHistoryService.disconnect();
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.