mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Fix for bug 148114 - Move-refactor should be disabled within C/C++ Project view
This commit is contained in:
parent
50c51184a1
commit
9e1827d28b
1 changed files with 2 additions and 3 deletions
|
@ -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
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -7,6 +7,7 @@
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* QNX Software Systems - Initial API and implementation
|
* QNX Software Systems - Initial API and implementation
|
||||||
|
* Anton Leherbauer (Wind River Systems) - Fix bug 148114
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.cdt.internal.ui.cview;
|
package org.eclipse.cdt.internal.ui.cview;
|
||||||
|
|
||||||
|
@ -403,11 +404,9 @@ public class CView extends ViewPart implements ISetSelectionTarget, IPropertyCha
|
||||||
private void initDrop() {
|
private void initDrop() {
|
||||||
int ops= DND.DROP_COPY | DND.DROP_MOVE | DND.DROP_LINK | DND.DROP_DEFAULT;
|
int ops= DND.DROP_COPY | DND.DROP_MOVE | DND.DROP_LINK | DND.DROP_DEFAULT;
|
||||||
Transfer[] transfers= new Transfer[] {
|
Transfer[] transfers= new Transfer[] {
|
||||||
LocalSelectionTransfer.getInstance(),
|
|
||||||
ResourceTransfer.getInstance(),
|
ResourceTransfer.getInstance(),
|
||||||
FileTransfer.getInstance()};
|
FileTransfer.getInstance()};
|
||||||
TransferDropTargetListener[] dropListeners= new TransferDropTargetListener[] {
|
TransferDropTargetListener[] dropListeners= new TransferDropTargetListener[] {
|
||||||
new SelectionTransferDropAdapter(viewer),
|
|
||||||
new ResourceTransferDropAdapter(viewer),
|
new ResourceTransferDropAdapter(viewer),
|
||||||
new FileTransferDropAdapter(viewer)
|
new FileTransferDropAdapter(viewer)
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue