| java.lang.Object org.netbeans.modules.refactoring.spi.RefactoringElementsBag
RefactoringElementsBag | final public class RefactoringElementsBag (Code) | | Container holding RefactoringElements
author: Jan Becicka |
add | public Problem add(AbstractRefactoring refactoring, RefactoringElementImplementation el)(Code) | | Adds RefactoringElementImplementation to this bag.
If RefactoringElementImplementation is in read-only file - status of this element is
changes to RefactoringElement.READ_ONLY
If RefactoringElementImplementation is in guarded block, all registered GuardedBlockHandler
are asked, if they can replace given RefactoringElementImplementation by it's own
RefactoringElementImplementation. If there is no suitable replacement found,
given element is added and it's status is set to RefactringElement.GUARDED
Parameters: refactoring - refactoring, which adds this RefactoringElementImplementation Parameters: el - element to add instance of Problem or null |
registerTransaction | public void registerTransaction(Transaction commit)(Code) | | commits are called after all changes are performed
Parameters: commit - Transaction to commit See Also: Transaction See Also: BackupFacilty |
|
|