| |
|
| java.lang.Object org.netbeans.modules.refactoring.api.AbstractRefactoring org.netbeans.modules.refactoring.api.RenameRefactoring
Constructor Summary | |
public | RenameRefactoring(Lookup item) Creates a new instance of RenameRefactoring.
Rename Refactoring implementations currently understand following types:
Module | Types the Module Understands | Implementation |
Refactoring API (Default impl.) | FileObject | Does file rename |
Java Refactoring |
-
org.openide.filesystems.FileObject (s) with content type text/x-java (class rename)
-
org.openide.filesystems.FileObject (folder) folder rename
-
org.netbeans.api.java.source.TreePathHandle (class, field, method rename)
-
org.netbeans.api.fileinfo.NonRecursiveFolder package rename
|
Does refactoring inside .java files. |
RenameRefactoring | public RenameRefactoring(Lookup item)(Code) | | Creates a new instance of RenameRefactoring.
Rename Refactoring implementations currently understand following types:
Module | Types the Module Understands | Implementation |
Refactoring API (Default impl.) | FileObject | Does file rename |
Java Refactoring |
-
org.openide.filesystems.FileObject (s) with content type text/x-java (class rename)
-
org.openide.filesystems.FileObject (folder) folder rename
-
org.netbeans.api.java.source.TreePathHandle (class, field, method rename)
-
org.netbeans.api.fileinfo.NonRecursiveFolder package rename
|
Does refactoring inside .java files.
In case of FolderRename it also does corresponding file moves |
Parameters: item - put object to rename into Lookup instance. |
getNewName | public String getNewName()(Code) | | Getter for property newName
Value of property newName |
isSearchInComments | public boolean isSearchInComments()(Code) | | Getter for boolean property searchInComments
true if user selected search in comments |
setNewName | public void setNewName(String newName)(Code) | | Setter for propety newName
Parameters: newName - New value of property newName |
setSearchInComments | public void setSearchInComments(boolean searchInComments)(Code) | | Setter for property searchInComments.
Parameters: searchInComments - New value of property searchInComments |
|
|
|
|