站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

RefactoringUIBypass (Refactoring API) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.refactoring.api 1.0

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


Method Summary
 void doRefactoringBypass()
          do regular operation, bypass refactoring
 boolean isRefactoringBypassRequired()
           
 

Method Detail

isRefactoringBypassRequired

boolean isRefactoringBypassRequired()
Returns:
true if user want to bypass refactoring

doRefactoringBypass

void doRefactoringBypass()
                         throws IOException
do regular operation, bypass refactoring

Throws:
IOException

org.netbeans.modules.refactoring.api 1.0

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.