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

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: 1927
Registered: July 2009
Location: Walldorf, Germany
Senior Member

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.

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

Current Time: Sun Jun 20 22:33:16 GMT 2021

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

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

Back to the top