|
org.netbeans.modules.refactoring.api 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RefactoringPlugin
Interface implemented by refactoring plugins. Contains callback methods which a particular refactoring
calls to check pre-conditions, validity of parameters and collect refactoring elements.
It is expected that the refactoring that this plugin operates on is passed to the plugin
in its constructor by a corresponding implementation of RefactoringPluginFactory
.
Method Summary | |
---|---|
void |
cancelRequest()
Asynchronous request to cancel ongoing long-term request (such as preCheck(), checkParameters() or prepare()) |
Problem |
checkParameters()
Checks parameters of the refactoring. |
Problem |
fastCheckParameters()
Fast checks parameters of the refactoring. |
Problem |
preCheck()
Checks pre-conditions of the refactoring and returns problems. |
Problem |
prepare(RefactoringElementsBag refactoringElements)
Collects refactoring elements for a given refactoring. |
Method Detail |
---|
Problem preCheck()
Problem checkParameters()
Problem fastCheckParameters()
void cancelRequest()
Problem prepare(RefactoringElementsBag refactoringElements)
refactoringElements
- RefactoringElementsBag of refactoring elements - the implementation of this method
should add refactoring elements to this collections. It should make no assumptions about the collection
content.
|
org.netbeans.modules.refactoring.api 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |