| java.lang.Object org.netbeans.modules.refactoring.api.RefactoringSession
RefactoringSession | final public class RefactoringSession (Code) | | Class used to invoke refactorings.
author: Martin Matula, Daniel Prusa, Jan Becicka |
realcommit | boolean realcommit(Code) | | |
addProgressListener | public synchronized void addProgressListener(ProgressListener listener)(Code) | | Adds progress listener to this RefactoringSession
Parameters: listener - to add |
create | public static RefactoringSession create(String description)(Code) | | Creates a new refactoring session.
Parameters: description - textual description of this session instance of RefactoringSession |
doRefactoring | public Problem doRefactoring(boolean saveAfterDone)(Code) | | process all elements from elements bags,
do all fileChanges
and call all commits
Parameters: saveAfterDone - save all if true instance of Problem or null, if everything is OK |
removeProgressListener | public synchronized void removeProgressListener(ProgressListener listener)(Code) | | Remove progress listener from this RefactoringSession
Parameters: listener - to remove |
undoRefactoring | public Problem undoRefactoring(boolean saveAfterDone)(Code) | | do undo of previous doRefactoring()
Parameters: saveAfterDone - save all if true instance of Problem or null, if everything is OK |
|
|