Routing Style .. [message #244999] |
Tue, 19 August 2008 15:47 |
Eclipse User |
|
|
|
Originally posted by: annamalai.ancitconsulting.com
Dear all
i would like to perform something like the Routing Style available in the
GMF Editor ... Rectilinear or Oblique etc.
How do i do it in GEF Editor ? Any help would be appreciated.
Regards
Malai
|
|
|
|
Re: Routing Style .. [message #245079 is a reply to message #245048] |
Fri, 22 August 2008 06:59 |
Eclipse User |
|
|
|
Originally posted by: annamalai.ancitconsulting.com
Dear Alex
Thanks for your reply .. i checkedout the code for ObliqueRouter from GMF
internal draw2d ... And added to my package ...
I tried to use it in Shapes Editor by commenting the
ShortestPathRouterConnection and also applying the routing stuff in the
ConnectionEditPart ...
And i dont see any output change ... can you please explain ... where do i
need to change to get the routing algo working.
Regards
malai
"Alex Boyko" <aboyko@ca.ibm.com> wrote in message
news:e8cd639b6a27bb6ca6aa82647bcdd564$1@www.eclipse.org...
> Hi,
>
> GMF ObliqueRouter is derived from BendpointConnectionRouter. So you should
> use it or your own extension of it with a GEF editor
> GMF RectilinearRouter corresponds to ManhattanConnectionRouter.
>
> Cheers,
> Alex
>
|
|
|
|
Re: Routing Style .. [message #245087 is a reply to message #245084] |
Fri, 22 August 2008 16:07 |
Eclipse User |
|
|
|
Originally posted by: annamalai.ancitconsulting.com
Dear Alex
Thanks for your reply once again ... Ok my expected output is ... when two
lines cross each other one of them needs to jump on the other line ... like
in GMF
If could be a Circular Jump or a Rectangular Jump ... So hope ObliqueRouter
helps me do this ... :)
Ok i get this .. ObliqueRouter helps in connecting the source to itself
again ... :) Hope this understanding is correct now ...
Me really confused with so many classes in GEF but the Framework is
amazingly good.
Thank you very much .. awaiting your reply.
Regards
Malai
"Alex Boyko" <aboyko@ca.ibm.com> wrote in message
news:f3e7a371d24809084b796796ba020728$1@www.eclipse.org...
> GMF ObliqueRouter and GEF BendpointConnectionRouter are very similar in
> terms of the output connection look.
> Differences in GMF ObliqueRouter are:
> 1) It handles routing around obstruction for a connection
> 2) Routes separately connection where source == target and where source
> and target intersect
> 3) Ignores bendpoints inside source and target shapes
>
> So, what are your expectations of GMF's ObliqueRouter in GEF? Perhaps, the
> behavior you're looking for can be implemented elsewhere... on connection
> anchors, or using a different bendpoint constraints...?
>
> Cheers,
> Alex
>
|
|
|
|
Re: Routing Style .. [message #245118 is a reply to message #245098] |
Sat, 23 August 2008 05:25 |
Eclipse User |
|
|
|
Originally posted by: annamalai.ancitconsulting.com
Dear Alex
Thanks for your patiently reply .. Now can i get some pointer on how to use
or implement these Jump Links in GEF ..
This is my requirement now .. i need to be able to jump the intersection of
links ...
Hoping to get some reply ..
Regards
Malai
"Alex Boyko" <aboyko@ca.ibm.com> wrote in message
news:7dc2b40867f62280c31c4ec8891f9d75$1@www.eclipse.org...
> Hi,
>
> Those are called "Jump Links" in GMF. Jump Link is a concept defined on
> PolylineConnectionEx class in GMF, not on the router.
>
> Cheers,
> Alex
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03243 seconds