Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptessier2014-03-11 08:57:13 +0000
committerptessier2014-03-11 08:57:13 +0000
commit11e3e81f09f7439b87400c95b1ece63dde395fbe (patch)
treec374d26d49c22baf339a1d0fa89dd13822d41ae0 /plugins/uml
parent092c199d76f56d68517af972b41917b8e9501d6a (diff)
downloadorg.eclipse.papyrus-11e3e81f09f7439b87400c95b1ece63dde395fbe.tar.gz
org.eclipse.papyrus-11e3e81f09f7439b87400c95b1ece63dde395fbe.tar.xz
org.eclipse.papyrus-11e3e81f09f7439b87400c95b1ece63dde395fbe.zip
Bug 386118 - [EMF Facet] Papyrus should progressively support EMF Facet
0.2 add the command copy cut paste in the model explorer
Diffstat (limited to 'plugins/uml')
-rw-r--r--plugins/uml/org.eclipse.papyrus.uml.commands/src/org/eclipse/papyrus/uml/commands/handler/AbstractEMFCommandHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/uml/org.eclipse.papyrus.uml.commands/src/org/eclipse/papyrus/uml/commands/handler/AbstractEMFCommandHandler.java b/plugins/uml/org.eclipse.papyrus.uml.commands/src/org/eclipse/papyrus/uml/commands/handler/AbstractEMFCommandHandler.java
index f414d96790b..a4f86f1d451 100644
--- a/plugins/uml/org.eclipse.papyrus.uml.commands/src/org/eclipse/papyrus/uml/commands/handler/AbstractEMFCommandHandler.java
+++ b/plugins/uml/org.eclipse.papyrus.uml.commands/src/org/eclipse/papyrus/uml/commands/handler/AbstractEMFCommandHandler.java
@@ -142,7 +142,7 @@ public abstract class AbstractEMFCommandHandler extends AbstractHandler {
IStructuredSelection structuredSelection = (IStructuredSelection)selection;
for(Object current : structuredSelection.toArray()) {
// Adapt current selection to EObject
- EObject eobject=EMFHelper.getEObject(selection);
+ EObject eobject=EMFHelper.getEObject(current);
if(eobject != null) {
selectedEObjects.add(eobject);
}

Back to the top