1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-18 13:45:45 +02:00

[233349] Could not drag and drop file from Shell view to local folder.

This commit is contained in:
David McKnight 2008-07-08 19:57:56 +00:00
parent b8e73877c9
commit 5a485ef094

View file

@ -974,7 +974,7 @@ implements ISystemViewElementAdapter, ISystemRemoteElementAdapter
if (output.getType().equals("file")){ //$NON-NLS-1$
IRemoteFile file = outputToFile(output);
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);
}
}