| |
|
| java.lang.Object org.netbeans.modules.refactoring.api.AbstractRefactoring org.netbeans.modules.refactoring.api.SingleCopyRefactoring
Constructor Summary | |
public | SingleCopyRefactoring(Lookup objectToCopy) Creates a new instance of SingleCopyRefactoring. |
SingleCopyRefactoring | public SingleCopyRefactoring(Lookup objectToCopy)(Code) | | Creates a new instance of SingleCopyRefactoring.
Single Copy Refactoring implementations currently understand following types:
Module | Types the Module Understands | Implementation |
Refactoring API (Default impl.) | FileObject | Does file copy |
Java Refactoring |
-
FileObject (s) with content type text/x-java (class copy)
| Updates name, package declaration and import statements |
Parameters: objectToCopy - Object to be copied stored into Lookup |
getNewName | public String getNewName()(Code) | | getter for new name of copied file
value String value |
setNewName | public void setNewName(String newName)(Code) | | setter for new name of copied file
Parameters: newName - new value |
setTarget | public void setTarget(Lookup target)(Code) | | Target for copying.
Single Copy Refactoring implementations currently understand following types:
Module | Types the Module Understands | Implementation |
Refactoring API (Default impl.) |
java.net.URL |
Creates directory corresponding to specified URL (if does not
exist) and copies all FileObjects into this folder. |
Java Refactoring |
java.net.URL | Updates name, package declaration and import statements |
Parameters: target - |
|
|
|