Skip to main content
summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAnton Leherbauer2006-06-22 10:27:35 -0400
committerAnton Leherbauer2006-06-22 10:27:35 -0400
commit9e1827d28b29e27443cfe97f05fe848e296e25e9 (patch)
tree7e2ea89c923c8fd43fd03700c0ec50cee32ca337 /core
parent50c51184a1ba5f001ae6ff360f465acd359791f4 (diff)
downloadorg.eclipse.cdt-9e1827d28b29e27443cfe97f05fe848e296e25e9.tar.gz
org.eclipse.cdt-9e1827d28b29e27443cfe97f05fe848e296e25e9.tar.xz
org.eclipse.cdt-9e1827d28b29e27443cfe97f05fe848e296e25e9.zip
Fix for bug 148114 - Move-refactor should be disabled within C/C++ Project view
Diffstat (limited to 'core')
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CView.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CView.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CView.java
index 67c9a11969..3e20613e48 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CView.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CView.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2005 QNX Software Systems and others.
+ * Copyright (c) 2000, 2006 QNX Software Systems 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
@@ -7,6 +7,7 @@
*
* Contributors:
* QNX Software Systems - Initial API and implementation
+ * Anton Leherbauer (Wind River Systems) - Fix bug 148114
*******************************************************************************/
package org.eclipse.cdt.internal.ui.cview;
@@ -403,11 +404,9 @@ public class CView extends ViewPart implements ISetSelectionTarget, IPropertyCha
private void initDrop() {
int ops= DND.DROP_COPY | DND.DROP_MOVE | DND.DROP_LINK | DND.DROP_DEFAULT;
Transfer[] transfers= new Transfer[] {
- LocalSelectionTransfer.getInstance(),
ResourceTransfer.getInstance(),
FileTransfer.getInstance()};
TransferDropTargetListener[] dropListeners= new TransferDropTargetListener[] {
- new SelectionTransferDropAdapter(viewer),
new ResourceTransferDropAdapter(viewer),
new FileTransferDropAdapter(viewer)
};

Back to the top