Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Change source/target of a Connection
Change source/target of a Connection [message #654287] Mon, 14 February 2011 22:29 Go to next message
Artjom is currently offline ArtjomFriend
Messages: 9
Registered: December 2010
Junior Member
I want to change source/target of a Connection from one EditPart to another. How Can I do it in code?
I have just tried to get a model of a Connection and call setSource()/setTarget() method, but that's doesn't updates the view
Re: Change source/target of a Connection [message #654751 is a reply to message #654287] Wed, 16 February 2011 23:07 Go to previous message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member


did you already have a look to SetConnectionAnchorsCommand?


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Previous Topic:Performance issue on redundant painting of fully covered figures
Next Topic:Custom Editpart IFigure children fall apart
Goto Forum:

Current Time: Sat Mar 06 18:07:01 GMT 2021

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

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

Back to the top