Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Drag and Drop of tool bar element
Drag and Drop of tool bar element [message #1244300] Wed, 12 February 2014 06:17 Go to next message
Mithu Deb is currently offline Mithu DebFriend
Messages: 9
Registered: September 2013
Junior Member
Hi,

How do i enable drag and drop of a toolbar element added within ToolBarManager to graphiti area?

Kind Regards,

Mithu Deb
Re: Drag and Drop of tool bar element [message #1245898 is a reply to message #1244300] Fri, 14 February 2014 12:25 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Mithu,

you need to register a drop target listener to the graphical viewer of the
editor. For an example see DiagramBehavior.initializeGraphicalViewer(). At
the end of the method 2 drop target listeners are registered.

Michael
Previous Topic:How to automatically unselect 'connection creation' tool entry in palette ?
Next Topic:Flyout Palette
Goto Forum:
  


Current Time: Thu Apr 25 15:52:28 GMT 2024

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

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

Back to the top