mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-23 00:03:53 +02:00
[233349] Could not drag and drop file from Shell view to local folder.
This commit is contained in:
parent
b8e73877c9
commit
5a485ef094
1 changed files with 1 additions and 1 deletions
|
@ -974,7 +974,7 @@ implements ISystemViewElementAdapter, ISystemRemoteElementAdapter
|
||||||
if (output.getType().equals("file")){ //$NON-NLS-1$
|
if (output.getType().equals("file")){ //$NON-NLS-1$
|
||||||
IRemoteFile file = outputToFile(output);
|
IRemoteFile file = outputToFile(output);
|
||||||
if (file != null){
|
if (file != null){
|
||||||
ISystemViewElementAdapter fadapter = (ISystemViewElementAdapter)((IAdaptable)file).getAdapter(ISystemViewElementAdapter.class);
|
ISystemDragDropAdapter fadapter = (ISystemDragDropAdapter)((IAdaptable)file).getAdapter(ISystemDragDropAdapter.class);
|
||||||
return fadapter.doDrag(file, sameSystemType, monitor);
|
return fadapter.doDrag(file, sameSystemType, monitor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue