GEF Popup Toolbar [message #212565] |
Mon, 27 March 2006 09:54 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.02576 seconds