Skip to main content



      Home
Home » Modeling » Graphiti » highlight places where element can be dropped
highlight places where element can be dropped [message #893289] Tue, 03 July 2012 09:15 Go to next message
Eclipse UserFriend
hi,

My diagram has some elements that can be placed only on certain connections.
So when user pics an element from palette, I'd like to visually highlight exact places where he can put that element, e.g. with small red dot or something like this.

Does Graphiti support anything like that?


thanks

Jacek
Re: highlight places where element can be dropped [message #893447 is a reply to message #893289] Wed, 04 July 2012 04:03 Go to previous messageGo to next message
Eclipse UserFriend
Hm, currently not quite. It is possible to influence the visualization of
shapes while hovering over them (see
IToolBehaviorProvider.getSelectionInfoForShapes) but using that will it will
not be possible to to highlight all places where the user can drop.

There is a such functionality for creating connections though (hooks within
the creation process), see the Chess example when creation a "Move"
connection. Maybe something similar is needed for shapes as well.

Would you file that as an enhancement request?

Michael
Re: highlight places where element can be dropped [message #893538 is a reply to message #893447] Wed, 04 July 2012 09:37 Go to previous message
Eclipse UserFriend
thanks for explaining Michael,

I opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=384271

You're doing great work with Graphiti!
Previous Topic:Viewing invisible rectangles in old diagrams
Next Topic:Using EMF.Edit with Graphiti
Goto Forum:
  


Current Time: Fri Jul 04 08:12:36 EDT 2025

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

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

Back to the top