|intermodel connections and gmf [message #563108]
||Thu, 22 October 2009 15:10
| Matthias Then
Registered: July 2009
in your article in the Eclipse-Magazine your working with intermodel connections. I tried to integrate these intermodel connections into my project the same way as you did in your demo project (de.eclipsemag.gef3d.sample).
It doesn't work, the problem is the following operation:
The operation starts with the following line:
final org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionEditP art connection = (org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionEdit Part) connEditPart;
In my case the ShapeNodeEditPart is a org.eclipse.uml2.diagram.clazz.edit.parts.Class2EditPart and the Connection is a MarkedElementEditPart. The class cast doesn't work. (The operation works for example for Class2EditParts and Associations.)
Is anyone here, who already solved the problem to use intermodel connections with org.eclipse.uml2 - elements?
Powered by FUDForum
. Page generated in 0.37331 seconds