mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
[457303] - No visual feedback during Drag & Drop for invalid drop target
Change-Id: I32743c8397f6688e6939890e6bca72201b915f3e Signed-off-by: Florian Holl <florian.holl@ts.fujitsu.com>
This commit is contained in:
parent
8288fab8aa
commit
6ad41e9ddf
1 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/********************************************************************************
|
||||
* Copyright (c) 2002, 2013 IBM Corporation and others. All rights reserved.
|
||||
* Copyright (c) 2002, 2015 IBM Corporation and others. All rights reserved.
|
||||
* This program and the accompanying materials are made available under the terms
|
||||
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
|
||||
* available at http://www.eclipse.org/legal/epl-v10.html
|
||||
|
@ -18,6 +18,7 @@
|
|||
* David McKnight (IBM) - [234924] [ftp][dnd][Refresh] Copy/Paste file from Package Explorer doesn't refresh folder
|
||||
* David McKnight (IBM) - [248339] [dnd][encodings] Cannot drag&drop / copy&paste files or folders with turkish or arabic names
|
||||
* David McKnight (IBM) - [398324] cross systems folder transfer breaks due to scoping rule
|
||||
* Florian Holl (Fujitsu) - [457303] - No visual feedback during Drag & Drop for invalid drop targets
|
||||
********************************************************************************/
|
||||
|
||||
package org.eclipse.rse.internal.ui.view;
|
||||
|
@ -369,7 +370,10 @@ extends ViewerDropAdapter
|
|||
{
|
||||
super.dragOver(event);
|
||||
event.feedback &= ~DND.FEEDBACK_EXPAND;
|
||||
event.detail = DND.DROP_COPY;
|
||||
if (event.detail != DND.DROP_NONE)
|
||||
{
|
||||
event.detail = DND.DROP_COPY;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue