| Summary: | [DND] Refactor CopyResourceAction and CopyFilesAndFoldersOperation | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Knut Radloff <knut_radloff> |
| Component: | UI | Assignee: | Knut Radloff <knut_radloff> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 2.0 | ||
| Target Milestone: | 2.1 | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 19905 | ||
|
Description
Knut Radloff
The refactoring is related to bug 19905 and the copy/move via clipboard vs. dnd cleanup I'm working on. Fixed in build > 20020819. CopyResourceAction (copy/paste) now uses CopyFilesAndFoldersOperation. Created subclass MoveFilesAndFoldersOperation. MoveResourceAction (context menu item Move) now uses MoveFilesAndFoldersOperation. NavigatorDropAdapter uses CopyFilesAndFoldersOperation for copy and for import from file system as well as MoveFilesAndFoldersOperation for move. DND import from file system would ideally be moved to a separate operation. However, CopyFilesAndFoldersOperation makes this available as API. |