Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF3D » intermodel connections and gmf
intermodel connections and gmf [message #563108] Thu, 22 October 2009 15:10
Matthias Then is currently offline Matthias ThenFriend
Messages: 10
Registered: July 2009
Junior Member
Dear GEF3D-developers,

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:

org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeNodeEditPa rt.
(org.eclipse.gef.ConnectionEditPart connEditPart)

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 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?

Best regards,
Previous Topic:Render figure position anaomolies..
Next Topic:intermodel connections and gmf
Goto Forum:

Current Time: Fri Jul 10 13:45:02 GMT 2020

Powered by FUDForum. Page generated in 0.01623 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top