Handle connection deletion outside of the editor [message #207888] |
Mon, 06 October 2008 12:13  |
Eclipse User |
|
|
|
Hi,
I'm using GMF 2.0 with Eclipse 3.3.
My meta-model :
- Association
1 -> Entity
1 -> Entity
- Entity
0..* -> associations: Association
An Entity is represented by a node and an association by a connection.
I'm using a CanonicalConnectionEditPolicy on the DiagramEditPart to
synchronize changes in the model. I have customized it to have multiple
diagrams for the same model following this tips :
http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg13013.html
My problem :
It works fine with Entity (nodes) but not with Association
(connections).
When I delete an Association from the model outside the editor (in an
explorer) using the TransactionnalEditingDomain, the connection is not
deleted.
Any ideas ?
Thank you,
Sylvain Dudoit
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.29501 seconds