Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian W. Damus2014-05-14 13:37:34 +0000
committerChristian W. Damus2014-05-14 13:37:34 +0000
commit86dceaeacf31216d2f690110ed5ea9dfb714c7a7 (patch)
tree5fe6c4cebb6480b9e2f757d3526fc4792156038b /plugins/views
parentcc21ad8e23433e604a8375710087808c3f546c5a (diff)
downloadorg.eclipse.papyrus-86dceaeacf31216d2f690110ed5ea9dfb714c7a7.tar.gz
org.eclipse.papyrus-86dceaeacf31216d2f690110ed5ea9dfb714c7a7.tar.xz
org.eclipse.papyrus-86dceaeacf31216d2f690110ed5ea9dfb714c7a7.zip
434857: [Model Explorer] Drag & Drop broken
https://bugs.eclipse.org/bugs/show_bug.cgi?id=434857 Fix regression caused by ModelExplorer tree elements no longer being EObjects, themselves, but only adapting to EObject (which actually restores Kepler semantics).
Diffstat (limited to 'plugins/views')
-rw-r--r--plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/plugin.xml14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/plugin.xml b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/plugin.xml
index ede15b3d6a4..eef10e57d32 100644
--- a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/plugin.xml
+++ b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/plugin.xml
@@ -45,7 +45,7 @@
<or>
<instanceof value="org.eclipse.gmf.runtime.notation.impl.DiagramImpl">
</instanceof>
- <instanceof value="org.eclipse.emf.ecore.EObject"/>
+ <adapt type="org.eclipse.emf.ecore.EObject"/>
</or>
</possibleChildren>
<actionProvider class="org.eclipse.papyrus.views.modelexplorer.actionprovider.GenericTransformActionProvider" id="org.eclipse.papyrus.views.modelexplorer.actionprovider.GenericTransformActionProvider">
@@ -67,9 +67,9 @@
<instanceof value="org.eclipse.gmf.runtime.notation.Diagram">
</instanceof>
</not>
- <instanceof
- value="org.eclipse.emf.ecore.EObject">
- </instanceof>
+ <adapt
+ type="org.eclipse.emf.ecore.EObject">
+ </adapt>
</and>
</enablement>
</actionProvider>
@@ -78,9 +78,9 @@
<or>
<instanceof value="org.eclipse.gmf.runtime.notation.impl.DiagramImpl">
</instanceof>
- <instanceof
- value="org.eclipse.emf.ecore.EObject">
- </instanceof>
+ <adapt
+ type="org.eclipse.emf.ecore.EObject">
+ </adapt>
</or>
</possibleDropTargets>
</dropAssistant>

Back to the top