Skip to main content



      Home
Home » Eclipse Projects » GEF » Find the location of the Action
Find the location of the Action [message #70883] Sun, 16 March 2003 14:51 Go to next message
Eclipse UserFriend
Originally posted by: oro7d3.netscape.net

Hi,

How can I find out the location of where the Action take place?
E.g. if I want to do Paste I would like to find out where the user does a
right click so that I can create new figures there. In the logic editor
example, it is hard code to (10, 10).

What can I do to paste it to where the click does the right click (for the
Paste Pop up menu to show up)?

Thank you.
Re: Find the location of the Action [message #70903 is a reply to message #70883] Sun, 16 March 2003 15:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

The user can invoke paste with the keyboard (Ctrl+V). The user can invoke
the context menu without a mouse (SHIFT+F10). Therefore, you can't assume
that the mouse location is important. The mouse location is not available
except through the Display class.

"oro" <oro7d3@netscape.net> wrote in message
news:b52kll$m8g$1@rogue.oti.com...
> Hi,
>
> How can I find out the location of where the Action take place?
> E.g. if I want to do Paste I would like to find out where the user does a
> right click so that I can create new figures there. In the logic editor
> example, it is hard code to (10, 10).
>
> What can I do to paste it to where the click does the right click (for the
> Paste Pop up menu to show up)?
>
> Thank you.
>
>
Re: Find the location of the Action [message #70923 is a reply to message #70903] Sun, 16 March 2003 17:30 Go to previous message
Eclipse UserFriend
Originally posted by: oro7d3.netscape.net

Thanks.

How can My action listens for Ctrl+V event?
I try that on the LogicEditor, it does not seem to work.
I select an item on the Palette and then choose "Copy" and the I do a
Ctrl-V, it does not paste.



"Randy Hudson" <none@us.ibm.com> wrote in message
news:b52o4n$no9$1@rogue.oti.com...
> The user can invoke paste with the keyboard (Ctrl+V). The user can invoke
> the context menu without a mouse (SHIFT+F10). Therefore, you can't assume
> that the mouse location is important. The mouse location is not available
> except through the Display class.
>
> "oro" <oro7d3@netscape.net> wrote in message
> news:b52kll$m8g$1@rogue.oti.com...
> > Hi,
> >
> > How can I find out the location of where the Action take place?
> > E.g. if I want to do Paste I would like to find out where the user does
a
> > right click so that I can create new figures there. In the logic editor
> > example, it is hard code to (10, 10).
> >
> > What can I do to paste it to where the click does the right click (for
the
> > Paste Pop up menu to show up)?
> >
> > Thank you.
> >
> >
>
>
Previous Topic:selection
Next Topic:Performace of DirectEdit in latest GEF build
Goto Forum:
  


Current Time: Mon Jul 14 09:56:08 EDT 2025

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

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

Back to the top