Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Re: [Bug 19568] {} on a german keyboard [swt-carbon]


It's pretty clear that the existing story that Eclipse uses (i.e. one set of accelerator choices on all platforms) won't work in the long run. However, until we can get them to define specific accelerators we need to do something which works. Note that, this mapping of the keys should only happen for the accelerators. So for example, ctrl is still ctrl from the point of view of the text widgets.

McQ.



"Bob Foster" <bob@xxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

07/09/2002 02:08 PM
Please respond to platform-swt-dev

       
        To:        <platform-swt-dev@xxxxxxxxxxx>
        cc:        
        Subject:        Re: [platform-swt-dev] Re: [Bug 19568] {} on a german keyboard [swt-carbon]


> Any other opinions?

What a question. ;-}

a) That's confusing. Command->CTRL. Ctrl->ALT. Alt/option->nothing.
b) Alt/option->nothing doesn't allow the alternate-menu usage of option.

Is this just something to get code written for other platforms to work
without a lot of change? Mapping Ctrl->Alt is going to be very weird for the
user if any existing applications use Alt for anything. The user can see
"alt" plainly printed on the option key.

The basic problem is, SWT is one key short. Ergo, cramming the Macintosh
into that mold loses a key.

How about adding SWT.COMMAND? Then the mapping could be Command->COMMAND,
Ctrl->CTRL, Alt->ALT.

Bob

----- Original Message -----
From: "Andre Weinand" <weinand@xxxxxxx>
To: <platform-swt-dev@xxxxxxxxxxx>
Sent: Tuesday, July 09, 2002 11:20 AM
Subject: [platform-swt-dev] Re: [Bug 19568] {} on a german keyboard
[swt-carbon]


>
> >I'm still confused here. The Mac "Command" key is what we should be
> >marking as equivalent to the "ALT". Is this key also what is used to
> >enter the special key codes? I thought it was the "option" key in
> >this case.
> >
>
> On MacOS the
> - Command modifier is used for entering shortcuts like the Control
> modifier under Windows
>    (and it is labelled with the Apple logo or cloverleaf)
> - Option modifier is used to enter special characters (and it is
> labelled 'Alt')
> - Control modifier is used to simulate the secondary mouse button and
> for entering
>    not so frequently used shortcuts
>
>
> Since Eclipse on MacOS X should be a Mac-like application I use the
> following mappings:
>
> - Mac Command modifier: for SWT.Control
> - Option modifier: for entering special characters, not reported to SWT
> - Control modifier: for SWT.ALT
>
> The Command -> Control mapping is already in place and I'm working on
> the Control -> ALT mapping.
>
> Any other opinions?
> --andre
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev



Back to the top