Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » SnaptoGeometry!!!
SnaptoGeometry!!! [message #190992] Mon, 08 August 2005 09:29 Go to next message
Eclipse UserFriend
Originally posted by: gautamn.iitk.ac.in

i am unable to implement Snap to Geometry facility...however i made my
grid property working fine now...I made relevant changes in
myeditor,diagrameditpart and actionbarcontributor...seeing logical
example..
Can anybody give me some suggestions...
Regards,
Nitin.
Re: SnaptoGeometry!!! [message #191034 is a reply to message #190992] Mon, 08 August 2005 14:16 Go to previous message
Roger Villars is currently offline Roger VillarsFriend
Messages: 57
Registered: July 2009
Member
Hmm, could it be that you forgot

installEditPolicy("Snap Feedback", new SnapFeedbackPolicy());

in the createEditPolicies() method of your DiagramEditPart?
Without this snap to geometry works, but there is no visual feedback (the
blue lines).


"Nitin Gautam" <gautamn@iitk.ac.in> schrieb im Newsbeitrag
news:392ab683492051e379fe6e252c192f93$1@www.eclipse.org...
>
>
> i am unable to implement Snap to Geometry facility...however i made my
> grid property working fine now...I made relevant changes in
> myeditor,diagrameditpart and actionbarcontributor...seeing logical
> example..
> Can anybody give me some suggestions...
> Regards,
> Nitin.
>
Previous Topic:How to expend the tree in GEF TreeViewer
Next Topic:PropertyDescriptors in Shapes Example
Goto Forum:
  


Current Time: Thu Apr 25 20:53:55 GMT 2024

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

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

Back to the top