Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Popup a shell in GraphicalEditor
Popup a shell in GraphicalEditor [message #138372] Wed, 16 June 2004 06:37 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
>
Previous Topic:internal frames
Next Topic:Oval with shadow
Goto Forum:
  


Current Time: Thu Apr 25 14:06:57 GMT 2024

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

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

Back to the top