mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-15 13:05:22 +02:00
[232889] Dragging and dropping files from a remote unix system to a local project does not work
This commit is contained in:
parent
72b783e77d
commit
1d590ac654
1 changed files with 3 additions and 1 deletions
|
@ -20,6 +20,7 @@
|
||||||
* Xuan Chen (IBM) - [191370] [dstore] Supertransfer zip not deleted when cancelling copy
|
* Xuan Chen (IBM) - [191370] [dstore] Supertransfer zip not deleted when cancelling copy
|
||||||
* David McKnight (IBM) - [224313] [api] Create RSE Events for MOVE and COPY holding both source and destination fields
|
* David McKnight (IBM) - [224313] [api] Create RSE Events for MOVE and COPY holding both source and destination fields
|
||||||
* David McKnight (IBM) - [228587] [dnd] NPE From Refresh on Copy/Paste
|
* David McKnight (IBM) - [228587] [dnd] NPE From Refresh on Copy/Paste
|
||||||
|
* David McKnight (IBM) - [232889] Dragging and dropping files from a remote unix system to a local project does not work
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.internal.ui.view;
|
package org.eclipse.rse.internal.ui.view;
|
||||||
|
@ -580,7 +581,8 @@ public class SystemDNDTransferRunnable extends WorkspaceJob
|
||||||
{
|
{
|
||||||
ISystemDragDropAdapter targetAdapter = (ISystemDragDropAdapter) ((IAdaptable) target).getAdapter(ISystemDragDropAdapter.class);
|
ISystemDragDropAdapter targetAdapter = (ISystemDragDropAdapter) ((IAdaptable) target).getAdapter(ISystemDragDropAdapter.class);
|
||||||
|
|
||||||
if (targetAdapter != null)
|
// checking for IResource since we already handle them specially
|
||||||
|
if (targetAdapter != null && !(target instanceof IResource))
|
||||||
{
|
{
|
||||||
targetSubSystem = targetAdapter.getSubSystem(target);
|
targetSubSystem = targetAdapter.getSubSystem(target);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue