Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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.
getTargetConnectionAnchor
(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 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?

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


Current Time: Fri Apr 26 09:13:07 GMT 2024

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

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

Back to the top