Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivian Kong2010-01-19 16:40:47 +0000
committerVivian Kong2010-01-19 16:40:47 +0000
commit46fb9bb077e39d534f5cfef93460b933392e39b2 (patch)
tree7e6bf414a10e89a23f8c44d70ef4298da72aa0d5
parent17c0e66dacfca3d2773fe93a87b3778ecfec6884 (diff)
downloadorg.eclipse.cdt-46fb9bb077e39d534f5cfef93460b933392e39b2.tar.gz
org.eclipse.cdt-46fb9bb077e39d534f5cfef93460b933392e39b2.tar.xz
org.eclipse.cdt-46fb9bb077e39d534f5cfef93460b933392e39b2.zip
Bug 279853 - enable copy action in project explorer
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CopyAction.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CopyAction.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CopyAction.java
index 048a76c3ccf..d11f76f9638 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CopyAction.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/cview/CopyAction.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
+ * Copyright (c) 2000, 2010 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
@@ -194,7 +194,7 @@ public class CopyAction extends SelectionListenerAction {
if (!currentResource.getParent().equals(firstParent))
return false;
// resource location must exist
- if (currentResource.getLocation() == null)
+ if (currentResource.getLocationURI() == null)
return false;
}

Back to the top