|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.ui.actions.CopyFilesAndFoldersOperation
Perform the copy of file and folder resources from the clipboard when paste action is invoked.
This class may be instantiated; it is not intended to be subclassed.
Constructor Summary | |
CopyFilesAndFoldersOperation(Shell shell)
Creates a new operation initialized with a shell. |
Method Summary | |
void |
copyFiles(String[] fileNames,
IContainer destination)
Paste files and folders on the clipboard to the destination (i.e to the selected resource). |
void |
copyResources(IResource[] resources,
IContainer destination)
Copies the given resources to the destination. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CopyFilesAndFoldersOperation(Shell shell)
shell
- parent shell for error dialogsMethod Detail |
public void copyResources(IResource[] resources, IContainer destination)
resources
- the resources to copydestination
- destination to which resources on the clipboard will be pastedpublic void copyFiles(String[] fileNames, IContainer destination)
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |