[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] Re: snapping GraphicalEditParts
|
In the logic example, enable Snap To Geometry from the view menu. See how
logic example uses the SnapToGeometry class to achieve this.
"Joel Greenyer" <jgreen@xxxxxx> wrote in message
news:d1up99$m5d$1@xxxxxxxxxxxxxxxxxxx
> Hi,
> I have a question of how I can implement a "snap" feature in my editor.
> You can think of something like a toy train track editor in which I want
> to snap two "track"-EditParts when I drag the one close to the other.
>
> I'd be really happy about some advice or some hints!
>
> Thanks
>
> Joel