Popup a shell in GraphicalEditor [message #138372] |
Wed, 16 June 2004 06:37 |
Eclipse User |
|
|
|
Originally posted by: penzhan8451.sina.com
hi,
I want to pop up a window when i click a editpart in GraphicalEditor of
GEF.
but the shell coordinate is not as same as the editpart in
GraphicalEditor.
how can i convert the coordinate ? or use different way?
thanks and best regards.
|
|
|
Re: Popup a shell in GraphicalEditor [message #138442 is a reply to message #138372] |
Wed, 16 June 2004 14:05 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Use figure.translateToAbsolute()
and then Canvas.toDisplay()
"Peng Li Zhan" <penzhan8451@sina.com> wrote in message
news:caoprd$9ua$1@eclipse.org...
> hi,
>
> I want to pop up a window when i click a editpart in GraphicalEditor of
> GEF.
>
> but the shell coordinate is not as same as the editpart in
> GraphicalEditor.
>
> how can i convert the coordinate ? or use different way?
>
> thanks and best regards.
>
|
|
|
Powered by
FUDForum. Page generated in 0.04793 seconds