mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-18 22:45:23 +02:00
Bug 357667 - RSE view cannot "paste" onto same element that was "copied" from
This commit is contained in:
parent
bae5fac23f
commit
6030a38562
1 changed files with 2 additions and 1 deletions
|
@ -28,6 +28,7 @@
|
||||||
* Radoslav Gerganov (ProSyst) - [231428] [files] NPE on canceling copy operation from remote host
|
* Radoslav Gerganov (ProSyst) - [231428] [files] NPE on canceling copy operation from remote host
|
||||||
* David McKnight (IBM) - [328148] Dropping resource onto Eclipse IFile causes RSEG1003U unexpected exception
|
* David McKnight (IBM) - [328148] Dropping resource onto Eclipse IFile causes RSEG1003U unexpected exception
|
||||||
* David McKnight (IBM) - [231971] [dnd] Drag and Drop Filter Displays Error
|
* David McKnight (IBM) - [231971] [dnd] Drag and Drop Filter Displays Error
|
||||||
|
* Martin Oberhuber (Wind River) - [357667] [dnd] Allow copy-onto-myself semantics
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.internal.ui.view;
|
package org.eclipse.rse.internal.ui.view;
|
||||||
|
@ -162,7 +163,7 @@ public class SystemDNDTransferRunnable extends WorkspaceJob
|
||||||
showErrorMessage((SystemMessage) srcObject);
|
showErrorMessage((SystemMessage) srcObject);
|
||||||
return _ok;
|
return _ok;
|
||||||
}
|
}
|
||||||
else if (srcObject != null && srcObject != target)
|
else if (srcObject != null)
|
||||||
{
|
{
|
||||||
ISystemDragDropAdapter srcAdapter = (ISystemDragDropAdapter) ((IAdaptable) srcObject).getAdapter(ISystemDragDropAdapter.class);
|
ISystemDragDropAdapter srcAdapter = (ISystemDragDropAdapter) ((IAdaptable) srcObject).getAdapter(ISystemDragDropAdapter.class);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue