Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How can I create context menu but on hover action?
How can I create context menu but on hover action? [message #996674] Wed, 02 January 2013 16:43
Marcin Matuszak is currently offline Marcin MatuszakFriend
Messages: 5
Registered: December 2012
Junior Member

I would like to create a menu like this:


but on hover action. Menu from the image is the context menu that I get when I right-click on the element on the diagram. I would like to customize it and display it when mouse is over some element.

I think that I should modify the showHoverFeedback() method that is in SelectionTool class but how can I create, customize and display such a menu while executing this method?

Best wishes,
  • Attachment: menu.jpg
    (Size: 25.31KB, Downloaded 532 times)

[Updated on: Wed, 02 January 2013 16:45]

Report message to a moderator

Previous Topic:Zest: Layout of Graph with GraphContainer
Next Topic:how can I specify different text on each of the multiple "Outline View" tabs?
Goto Forum:

Current Time: Sun Feb 19 12:11:53 GMT 2017

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

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