| Snap in the logic and flow examples [message #140356] |
Mon, 28 June 2004 04:33 |
Eclipse User |
|
|
|
Originally posted by: raritzu.yahoo.co.uk
You will need to enable the snap-to-geometry in your editor. In the
LogicEditor class have a look at the loadProperties() method. The code that
enables it is :
// Snap to Geometry property
getGraphicalViewer().setProperty( SnapToGeometry.PROPERTY_SNAP_ENABLED, new
Boolean(getContents().getSnapToGeometry() ) );
I am not sure, but you might need to enable the grid (layer) too, and that
is on the following lines.
But I am not sure if this is what you really need, the PolylineConnection
seems to do a snap to node behaviour, so looking arround that area might
give you some ideas.
Hope it Helps,
Art.
|
|
|
Powered by
FUDForum. Page generated in 0.57329 seconds