|
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.api.AbstractRefactoring
org.netbeans.modules.refactoring.api.RenameRefactoring
public final class RenameRefactoring
Refactoring used for renaming objects.
Field Summary |
---|
Fields inherited from class org.netbeans.modules.refactoring.api.AbstractRefactoring |
---|
INIT, PARAMETERS_CHECK, PRE_CHECK, PREPARE |
Constructor Summary | |
---|---|
RenameRefactoring(Lookup item)
Creates a new instance of RenameRefactoring. |
Method Summary | |
---|---|
String |
getNewName()
Getter for property newName |
boolean |
isSearchInComments()
Getter for boolean property searchInComments |
void |
setNewName(String newName)
Setter for propety newName |
void |
setSearchInComments(boolean searchInComments)
Setter for property searchInComments. |
Methods inherited from class org.netbeans.modules.refactoring.api.AbstractRefactoring |
---|
addProgressListener, cancelRequest, checkParameters, fastCheckParameters, getContext, getRefactoringSource, preCheck, prepare, removeProgressListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RenameRefactoring(Lookup item)
Module | Types the Module Understands | Implementation |
---|---|---|
Refactoring API (Default impl.) | FileObject | Does file rename |
Java Refactoring |
|
Does refactoring inside .java files. In case of FolderRename it also does corresponding file moves |
item
- put object to rename into Lookup instance.Method Detail |
---|
public String getNewName()
public void setNewName(String newName)
newName
- New value of property newNamepublic boolean isSearchInComments()
public void setSearchInComments(boolean searchInComments)
searchInComments
- New value of property searchInComments
|
org.netbeans.modules.refactoring.api 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |