Copy&paste / drag&drop into (different) FeatureMap attributes [message #1699019] |
Fri, 19 June 2015 10:11  |
Eclipse User |
|
|
|
It doesn't seem to be possible to paste / drop elements into a FeatureMap attribute from any other attribute. It only works if an elements is copied/dragged from the same attribute of another node of the same type.
I have attached a minimal xsd to show my problem.
Steps to reproduce:
Create model/edit/editor code from that xsd.
Create a structure containing two elements of type A and two elements of type B. Both have a "group" attribute which can hold arbitrary numbers of X and Y nodes (mixed). Now one is able to copy&paste / drag&drop say a X from one A to another A, but not from an A to a B and vice versa.
Is that a bug or is it meant that way? Is there a workaround. I already know that this couldn't be solved by simply overwriting ItemProviderAdapter#isValidValue(Object,Object,EStructuralFeature).
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.49059 seconds