Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Draw lines on create
Draw lines on create [message #900152] Sat, 04 August 2012 14:03 Go to next message
Eclipse UserFriend
Hi everyone,


Is it possible to draw some lines when an object is being created or dragged from palette?
I would like to draw some guide lines, at the place where the object will be placed after layout.

Actually I'd like to draw them, and erase as creation is cancelled or the mouse goes over something else.


Thanks in advance.




Re: Draw lines on create [message #900250 is a reply to message #900152] Mon, 06 August 2012 03:35 Go to previous message
Eclipse UserFriend
Hello,

you can use custom LayoutEditPolicy and override showLayoutTargetFeedback/eraseTargetFeedback. You can take a look to here for an example.

Regards,
Previous Topic:Single editor for multiple editor files
Next Topic:Select, Zoom and Note Palette Icon Location?
Goto Forum:
  


Current Time: Wed Jul 23 09:42:57 EDT 2025

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

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

Back to the top