|
Re: How to get the location of the mouse in the editor canvas [message #190245 is a reply to message #190182] |
Tue, 02 August 2005 21:59 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
We suggest that you do this in a location-neutral manner. What happens if
the context menu is brought up by pressing Shift+F10?
"Brahma Somanchi" <somanchi@ugs.com> wrote in message
news:c75b672bb8a5eb45291e9f633f20b823$1@www.eclipse.org...
> Hi
>
> How do I get the location in the Graphical Editor where the user right
> clicks to get the Context Menu?
>
> Here is the problem :
>
> In my graphical editor, user can right-click and select an action ( called
> "New Class") and bring up New Class dialog. Once the user fills in the
> required details and press OK, the class figure need to be placed in the
> location where the user right clicked in the editor canvas.
>
> How do I get the location (in the editor canvas) so that I can place the
> figure at the correct location
>
> Regards
> Brahma
>
>
>
|
|
|
Re: How to get the location of the mouse in the editor canvas [message #190250 is a reply to message #190182] |
Tue, 02 August 2005 22:00 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
P.S. You should search this newsgroup before posting queries. This has
been discussed several times before.
"Brahma Somanchi" <somanchi@ugs.com> wrote in message
news:c75b672bb8a5eb45291e9f633f20b823$1@www.eclipse.org...
> Hi
>
> How do I get the location in the Graphical Editor where the user right
> clicks to get the Context Menu?
>
> Here is the problem :
>
> In my graphical editor, user can right-click and select an action ( called
> "New Class") and bring up New Class dialog. Once the user fills in the
> required details and press OK, the class figure need to be placed in the
> location where the user right clicked in the editor canvas.
>
> How do I get the location (in the editor canvas) so that I can place the
> figure at the correct location
>
> Regards
> Brahma
>
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03894 seconds