|
Composite Refactoring v1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--compositeRefactoring.refactoringComposite.RefactoringComponent
this class is the superclass of all RefactoringComponents. A RefactoringComponent can be
Field Summary | |
protected String |
fName
|
Method Summary | |
abstract RefactoringStatus |
checkPreconditions(IProgressMonitor pm)
abstract method for checking the refactorings' enabling conditions |
abstract IChange |
createChange(IProgressMonitor pm)
abstract method for creating the code change of the refactoring |
String |
getName()
gets the name of the RefactoringComponent |
abstract RefactoringStatus |
refactor()
this method performs the refactoring. |
abstract RefactoringStatus |
undo()
this method undos the refactoring when it was performed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected String fName
Method Detail |
public abstract RefactoringStatus refactor()
public abstract RefactoringStatus undo()
public String getName()
public abstract RefactoringStatus checkPreconditions(IProgressMonitor pm) throws JavaModelException
pm
- the progress monitor to track the checks.public abstract IChange createChange(IProgressMonitor pm) throws JavaModelException
pm
- the progress monitor to track the change.
|
Composite Refactoring v1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |