[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Error on pasting Connections

Dear community,
 
I am facing a strange error upon pasting Nodes that contain connections.
I attached two screenshots - one of the original diagram, one of the diagram after pasting.
I also attached the two corresponding notation (.hmid) and domain model (.hmim) files.
 
Pasting generally works fine - I finally managed to paste elements into comparments as well.
 
Reproduce:
1. Create a diagram that contains nodes and edges.
2. Copy nodes, that are associated with edges (similar to the attached image)
3. Paste the node -> The first paste will delete all styles of the connection, also the ones of the original
4. Paste the node again -> The Editor will freeze and throw a long list of exceptions, where i can't trace the problem down to its origin.
 
Taking a look at the the hrefs of the notation model and the ids of the domain model, the creation and association seems to be messed up.
Maybe the order of the elements is important upon pasting?
 
Any hint or help is very much appreciated
 
 
TIA & regards
Thomas

Attachment: original.png
Description: PNG image

Attachment: afterpaste.png
Description: PNG image

Attachment: original.hmid
Description: Binary data

Attachment: original.hmim
Description: Binary data

Attachment: afterpaste.hmid
Description: Binary data

Attachment: afterpaste.hmim
Description: Binary data