Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Connection Styles: Avoid Obstacles Routing
Connection Styles: Avoid Obstacles Routing [message #194673] Thu, 26 June 2008 11:05 Go to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Hi there,

I use a rectilinear connection router for a connection created with GMF
from the models.
I need to set the RoutingStyle for this connection to enable obstruction
avoidance. How can I do that?

In the gmfgraph model there is no style element or attribute. The gmfgen
model has a "Styles" attribute for the ConnectionEditPart which I can
set to "RoutingStyle" but I cannot specify any particular routing styles.

Any hints?

Cheers,
Hauke
Re: Connection Styles: Avoid Obstacles Routing [message #194696 is a reply to message #194673] Thu, 26 June 2008 11:20 Go to previous message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Hauke Fuhrmann wrote:
> In the gmfgraph model there is no style element or attribute. The gmfgen
> model has a "Styles" attribute for the ConnectionEditPart which I can
> set to "RoutingStyle" but I cannot specify any particular routing styles.

Ok, found it myself: Adding the Styles attribute adds an "Appearance"
tab to the properties panel where you can manually activate the desired
routing style.

I did not notice, because I use the new BorderItemRectilinearRouter
which seems to be incompatible with the avoid obstacles feature...

Hauke
Previous Topic:Accessing diagram nodes from underlying domain objects
Next Topic:Font Color of a Label
Goto Forum:
  


Current Time: Sat Apr 20 03:57:59 GMT 2024

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

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

Back to the top