Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Menu labels , mnemonic and key assist view
Menu labels , mnemonic and key assist view [message #335778] Wed, 29 April 2009 12:52 Go to next message
Parvez is currently offline ParvezFriend
Messages: 181
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------020106080400010909000802
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

If & is used in Labels for Mnemonic then key assist view shows & in the
text.

Please see attached image.

Is there way around it?

Thanks.
- Parvez

PS: using eclipse 3.4.1


--------------020106080400010909000802
Content-Type: image/jpeg;
name="key_assist.JPG"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="key_assist.JPG"

/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsL DBkSEw8UHRof
Hh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwL DBgNDRgyIRwh
MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy MjIyMjL/wAAR
CABUAWsDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcI CQoL/8QAtRAA
AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS 0fAkM2JyggkK
FhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1 dnd4eXqDhIWG
h4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW 19jZ2uHi4+Tl
5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcI CQoL/8QAtREA
AgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMz UvAVYnLRChYk
NOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0 dXZ3eHl6goOE
hYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU 1dbX2Nna4uPk
5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD2iiiiucsKKKKACiiigAoo ooAKKKKACiii
gAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKA CiiigAooooAK
KKKACiiigAooooAKr2X+ob/rrL/6G1WKr2X+ob/rrL/6G1AFiiiigAooooAK KKKACiiigAoo
ooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiii gAooooAKKKKA
CiiigAooooAKKKKACiiigAqvZf6hv+usv/obVYqvZf6hv+usv/obUAWKKKKA CiiigAooooAK
KKKACiiigAoorn/EdhZ6nqvhizv7SC7tZNTffDPGJEbFpckZU8HBAP4UCOgo rlPE2l+EPDv2
X/iidDn87efms4o9+3H7qL5D5k77v3cXG/a3zDHNyz8P+Cr7Xr3TYPCnh+RL W3ilM6WcLAs8
k0bJgLwVaAg89SRgYpX6hc36K5DS4/hxqQtUHhvRhLMkO500Ym3V5Y0kRPPa FUyRImA20kso
wCcVY8K6J4O8QaDYXL+F/D5vHsre4uki0yPZG8sYfaCVIzg525JAZSeGBJcL nT0VxmnaX4fa
fVjrPgXwrY2umyrbySW8a3DySskTqqJ9nUtkSqAB8xb5QpyDVy80vwLF4W1T XLTwlo040+3l
le3l0xIJAyJv2OrxhkJGCMr0YHBBGS4XOnorjPs3gvTbySx8R+EPDmn3g8ox LbWi3KTeYJSi
qfJVjIfs8g27efkAJZto0Dpnw6F5Najw1pTSRbxlNE3JIyAl443Ee2SQbWyi Et8jDGVOC4XO
jorlNPtfh1exWGfDmh+ZdxQvvi0nfAjSqrIhmMQVWbcu1X2sd6fKCwBr3Y+H 0DWTQeDrG6t7
m7FuZotBZgQYpZFeL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G/ 56N+n+FGxv8A
no36f4UUUAGxv+ejfp/hRsb/AJ6N+n+FFFABsb/no36f4UbG/wCejfp/hRRQ AbG/56N+n+FG
xv8Ano36f4UUUAGxv+ejfp/hRsb/AJ6N+n+FFFABsb/no36f4UbG/wCejfp/ hRRQAbG/56N+
n+FGxv8Ano36f4UUUAMjU+UnzsOB6f4U/Y3/AD0b9P8ACiigA2N/z0b9P8KN jf8APRv0/wAK
KKADY3/PRv0/wo2N/wA9G/T/AAoooANjf89G/T/CjY3/AD0b9P8ACiigA2N/ z0b9P8KNjf8A
PRv0/wAKKKAGOp2j526j09fpT9jf89G/T/CiigDn/HSn/hX3iX52P/EquvT/ AJ5N7Vymgf8A
IFg+r/8AoZooq47Af//Z
--------------020106080400010909000802--
Re: Menu labels , mnemonic and key assist view [message #335783 is a reply to message #335778] Wed, 29 April 2009 17:25 Go to previous messageGo to next message
Ben Vitale is currently offline Ben VitaleFriend
Messages: 247
Registered: July 2009
Senior Member
Mnemonics would only apply in a menu I believe.

If you are using the org.eclipse.ui.menus extension point then you
should specify your mnemonic in the "mnemonic" sub-element of the "menu"
element. The & should be intentionally left out, as that is handled
differently on different platforms.

Other labels for your command should not include a mnemonic character.

Hope that helps,
Ben

PC wrote:
> Hi,
>
> If & is used in Labels for Mnemonic then key assist view shows & in the
> text.
>
> Please see attached image.
>
> Is there way around it?
>
> Thanks.
> - Parvez
>
> PS: using eclipse 3.4.1
>
>
> ------------------------------------------------------------ ------------
>
Re: Menu labels , mnemonic and key assist view [message #335799 is a reply to message #335778] Thu, 30 April 2009 13:31 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

As Ben mentioned, Commands should not have '&' in their names. When
using o.e.ui.menus to actually place commands in menus, then you can
either use the mnemonic element or override the label completely and use
'&' there.

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclips e.platform.doc.isv/guide/workbench.htm


Previous Topic:Unable to launch Eclipse on SLES 11 (PPC) from remote X Client
Next Topic:Export plugin
Goto Forum:
  


Current Time: Fri Dec 27 04:02:30 GMT 2024

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

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

Back to the top