Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » GEF Popup Toolbar
GEF Popup Toolbar [message #212565] Mon, 27 March 2006 09:54 Go to next message
Eclipse UserFriend
Originally posted by: mphk_www.yahoo.com

Hello,

Has anyone an idea on how the popup toolbars in GMF are implemented using
GEF? That functionality works like this - after pausing with the mouse for a
while on a specific figure, several buttons appear next to the figure,
allowing to draw connections from that figure to another, for example.

Thanks in advance,
Mihai
Re: GEF Popup Toolbar [message #212580 is a reply to message #212565] Mon, 27 March 2006 19:28 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

It is implemented as a figure on one of the layers, probably in response to
SELECTION_HOVER, but maybe not. this has the limitation that the popup is
clipped by the canvas' client area. IMO, the correct way to do this is using
a Shell, but, it might be hard to acheive both non-rectangular shell and
native tooltip shadowing. Also, there would be the difficulties of managing
focus (really, ACTIVATE) and making sure the popup shell hides eventually.

"Mihai Pasca" <mphk_www@yahoo.com> wrote in message
news:e08cn9$r76$1@utils.eclipse.org...
> Hello,
>
> Has anyone an idea on how the popup toolbars in GMF are implemented using
> GEF? That functionality works like this - after pausing with the mouse for
> a while on a specific figure, several buttons appear next to the figure,
> allowing to draw connections from that figure to another, for example.
>
> Thanks in advance,
> Mihai
>
Previous Topic:Buliding GEF Editor with an EMF Model
Next Topic:Tree viewer and Drag and Drop DND.DND_COPY
Goto Forum:
  


Current Time: Thu Jan 16 16:37:55 GMT 2025

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

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

Back to the top