|
org.netbeans.modules.refactoring.api 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.modules.refactoring.spi.RefactoringElementsBag
public final class RefactoringElementsBag
Container holding RefactoringElements
Method Summary | |
---|---|
Problem |
add(AbstractRefactoring refactoring,
RefactoringElementImplementation el)
Adds RefactoringElementImplementation to this bag. |
Problem |
addAll(AbstractRefactoring refactoring,
Collection<RefactoringElementImplementation> elements)
Adds all RefactringElements from given Collection using #add method |
Problem |
addFileChange(AbstractRefactoring refactoring,
RefactoringElementImplementation el)
fileChanges are performed after all element changes |
RefactoringSession |
getSession()
|
void |
registerTransaction(Transaction commit)
commits are called after all changes are performed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Problem add(AbstractRefactoring refactoring, RefactoringElementImplementation el)
refactoring
- refactoring, which adds this RefactoringElementImplementationel
- element to add
public Problem addAll(AbstractRefactoring refactoring, Collection<RefactoringElementImplementation> elements)
refactoring
- refactoring, which adds this RefactoringElementelements
- Collection of RefactoringElements
public RefactoringSession getSession()
public void registerTransaction(Transaction commit)
commit
- Transaction to commitTransaction
,
BackupFacilty
public Problem addFileChange(AbstractRefactoring refactoring, RefactoringElementImplementation el)
changes
- changes to be performedTransaction
,
BackupFacilty
|
org.netbeans.modules.refactoring.api 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |