当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
RefactoringUIBypass (Refactoring API) - NetBeans API Javadoc (Current Development Version)
org.netbeans.modules.refactoring.spi.ui
Interface RefactoringUIBypass
public interface RefactoringUIBypass
This was historicaly intended to enhance RefactoringUI.
RefactoringUI must support "bypass" of refactoring for common
operations Copy/Move/Rename for users to be able to do
regular operation (Copy/Move/Rename) instead of refactoring operation
(Refactor | Copy, Refactor | Move, Refactor | Rename)
For instance UI for Java Rename Refactoring has checkbox
[ ] Rename Without Refactoring
isRefactoringBypassRequired() should return true if and only if
this checkbox is checked.
doRefactoringBypass() implementation does only regular file rename
isRefactoringBypassRequired
boolean isRefactoringBypassRequired()
- Returns:
- true if user want to bypass refactoring
doRefactoringBypass
void doRefactoringBypass()
throws IOException
- do regular operation, bypass refactoring
- Throws:
IOException