org.netbeans.modules.refactoring.api 1.26.0 1

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.26.0 1

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.