Package | Description |
---|---|
org.netbeans.modules.refactoring.api | |
org.netbeans.modules.refactoring.spi | |
org.netbeans.modules.refactoring.spi.ui |
Modifier and Type | Method and Description |
---|---|
Problem |
AbstractRefactoring.checkParameters()
Checks if this refactoring has correctly set all parameters.
|
Problem |
RefactoringSession.doRefactoring(boolean saveAfterDone)
process all elements from elements bags,
do all fileChanges
and call all commits
|
Problem |
AbstractRefactoring.fastCheckParameters()
This method checks parameters.
|
Problem |
Problem.getNext()
Returns the following problem (or
null if there none). |
Problem |
AbstractRefactoring.preCheck()
Perform checks to ensure that the preconditions are met for the implemented
refactoring.
|
Problem |
AbstractRefactoring.prepare(RefactoringSession session)
Collects and returns a set of refactoring elements - objects that
will be affected by the refactoring.
|
Problem |
RefactoringSession.undoRefactoring(boolean saveAfterDone)
do undo of previous doRefactoring()
|
Modifier and Type | Method and Description |
---|---|
void |
Problem.setNext(Problem next)
Sets the following problem.
|
Modifier and Type | Method and Description |
---|---|
Problem |
RefactoringElementsBag.add(AbstractRefactoring refactoring,
RefactoringElementImplementation el)
Adds RefactoringElementImplementation to this bag.
|
Problem |
RefactoringElementsBag.addAll(AbstractRefactoring refactoring,
Collection<RefactoringElementImplementation> elements)
Adds all RefactringElements from given Collection using #add method
|
Problem |
RefactoringElementsBag.addFileChange(AbstractRefactoring refactoring,
RefactoringElementImplementation el)
fileChanges are performed after all element changes
|
Problem |
RefactoringPlugin.checkParameters()
Checks parameters of the refactoring.
|
Problem |
ReadOnlyFilesHandler.createProblem(RefactoringSession session,
Collection files)
Create a Problem, which ProblemDetails
can handle read only files.
|
Problem |
RefactoringPlugin.fastCheckParameters()
Fast checks parameters of the refactoring.
|
Problem |
GuardedBlockHandler.handleChange(RefactoringElementImplementation proposedChange,
Collection<RefactoringElementImplementation> replacements,
Collection<Transaction> transaction)
Collects replacements for refactoring element affecting a guarded block.
|
Problem |
RefactoringPlugin.preCheck()
Checks pre-conditions of the refactoring and returns problems.
|
Problem |
RefactoringPlugin.prepare(RefactoringElementsBag refactoringElements)
Collects refactoring elements for a given refactoring.
|
Modifier and Type | Method and Description |
---|---|
Problem |
RefactoringUI.checkParameters()
check parameters of refactoring
|
Problem |
ScopeProvider.getProblem()
Override this method if a problem can occur when the user selects this
scope.
|
Problem |
RefactoringUI.setParameters()
Implementation of this method should set the refactoring parameters entered
by user into the refactoring-specific parameters panel (returned from getPanel
method) into the underlying refactoring object.
|