Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » highlight places where element can be dropped
highlight places where element can be dropped [message #893289] Tue, 03 July 2012 13:15 Go to next message
Jacek Pospychala is currently offline Jacek PospychalaFriend
Messages: 159
Registered: July 2009
Senior Member
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 08:03 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
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 13:37 Go to previous message
Jacek Pospychala is currently offline Jacek PospychalaFriend
Messages: 159
Registered: July 2009
Senior Member
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 Mar 29 00:24:25 GMT 2024

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

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

Back to the top