Skip to main content



      Home
Home » Eclipse Projects » GEF » How to determine the state of the Control Key
How to determine the state of the Control Key [message #119650] Thu, 26 February 2004 11:35 Go to next message
Eclipse UserFriend
Originally posted by: vgusev.graphlogic.com

in a GEF editor?

Thanks.

Vladimir
Re: How to determine the state of the Control Key [message #119911 is a reply to message #119650] Mon, 01 March 2004 14:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

The CTRL key's state is send with any key or mouse event
"Vladimir" <vgusev@graphlogic.com> wrote in message
news:c1l723$dpb$1@eclipse.org...
> in a GEF editor?
>
> Thanks.
>
> Vladimir
>
>
Re: How to determine the state of the Control Key [message #120176 is a reply to message #119650] Mon, 01 March 2004 07:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: scheglov_ke.nlmk.ru

Vladimir <vgusev@graphlogic.com> wrote:

> in a GEF editor?
You can inherit EditorDomain, save Ctrl state and then ask it from
you GEF classes.


--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: How to determine the state of the Control Key [message #120591 is a reply to message #120176] Thu, 04 March 2004 11:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vgusev.graphlogic.com

Konstantin, thanks. I did a search on EditorDomain but did not find this
class. Could you please elaborate?

Vladimir
"Konstantin Scheglov" <scheglov_ke@nlmk.ru> wrote in message
news:t0DXCy4$DHA.2836@fairy.ao.nlmk...
> Vladimir <vgusev@graphlogic.com> wrote:
>
> > in a GEF editor?
> You can inherit EditorDomain, save Ctrl state and then ask it from
> you GEF classes.
>
>
> --
> SY, Konstantin.
> Advanced Eclipse SWT Designer (http://www.swt-designer.com)
Re: How to determine the state of the Control Key [message #120701 is a reply to message #120591] Thu, 04 March 2004 15:02 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

I think he means EditDomain, but like Randy said, you can always test a
mouse/keyevent by seeing if (event.stateMask & SWT.Control) > 0.

"Vladimir" <vgusev@graphlogic.com> wrote in message
news:c27mjd$2r7$1@eclipse.org...
> Konstantin, thanks. I did a search on EditorDomain but did not find this
> class. Could you please elaborate?
>
> Vladimir
> "Konstantin Scheglov" <scheglov_ke@nlmk.ru> wrote in message
> news:t0DXCy4$DHA.2836@fairy.ao.nlmk...
> > Vladimir <vgusev@graphlogic.com> wrote:
> >
> > > in a GEF editor?
> > You can inherit EditorDomain, save Ctrl state and then ask it from
> > you GEF classes.
> >
> >
> > --
> > SY, Konstantin.
> > Advanced Eclipse SWT Designer (http://www.swt-designer.com)
>
>
Previous Topic:Lost in EditParts/Viewers/Models
Next Topic:How to select a connection programmatically based on model
Goto Forum:
  


Current Time: Sun Jul 13 13:05:59 EDT 2025

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

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

Back to the top