» tagged pages
» logout
EasyEclipse
Return to Planet Eclipse

Annamalai Chockalingam: BENDED LIKE BECKHAM IN GEF...

Tags Applied to this Entry

1 person has tagged this page:

Provide the following implementation in createFigure() of RootEditPartClass


//NOTE:-
The SmoothLineAlg Based on below 2Lines & Return the figure

f = new FreeformLayer();
f.setLayoutManager(new FreeformLayout());
f.setBorder(new MarginBorder(5));
ConnectionLayerconnLayer=(ConnectionLayer)getLayer(LayerConstants.CONNECTION_LAYER);
connLayer.setConnectionRouter(new ShortestPathConnectionRouter(f));
return
f;

Result will be like this…



Regards
karthik N:)

Username:
Password:
(or Cancel)