Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » how to change tooltip "close" of the "X" button in CTabItem?
how to change tooltip "close" of the "X" button in CTabItem? [message #452359] Fri, 18 March 2005 02:18 Go to next message
Eclipse UserFriend
Originally posted by: gato05mx.todito.com

Hi!!!:

How can I change the message "close" of the "X" button in CTabItem with
SWT.CLOSE style?

thank you very much for yours answers!!!

Marcos Albornoz.
Re: how to change tooltip "close" of the "X" button in CTabItem? [message #452365 is a reply to message #452359] Fri, 18 March 2005 09:05 Go to previous messageGo to next message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
Marcos Albornoz wrote:

> Hi!!!:
>
> How can I change the message "close" of the "X" button in CTabItem
> with SWT.CLOSE style?
>
> thank you very much for yours answers!!!
>
> Marcos Albornoz.
>
That Tooltip is coming from a properties file that sits inside SWT.jar:
org/eclipse/swt/internal/SWTMessages.properties

If you are having swt-nl.jar on your classpath, these messages are
takein from there are localized.
You could edit the contents of that JAR file to change the wording.

Unfortunately it is not possible to override / set the wording from the
sourcecode.

Ben
Re: how to change tooltip "close" of the "X" button in CTabItem? [message #452377 is a reply to message #452365] Fri, 18 March 2005 16:13 Go to previous message
Eclipse UserFriend
Originally posted by: gato05mx.todito.com

Thank you very much Benjamin!!!. Your solution is very usefull!!!

Marcos Albornoz

Benjamin Pasero wrote:

> Marcos Albornoz wrote:

>> Hi!!!:
>>
>> How can I change the message "close" of the "X" button in CTabItem
>> with SWT.CLOSE style?
>>
>> thank you very much for yours answers!!!
>>
>> Marcos Albornoz.
>>
> That Tooltip is coming from a properties file that sits inside SWT.jar:
> org/eclipse/swt/internal/SWTMessages.properties

> If you are having swt-nl.jar on your classpath, these messages are
> takein from there are localized.
> You could edit the contents of that JAR file to change the wording.

> Unfortunately it is not possible to override / set the wording from the
> sourcecode.

> Ben
Previous Topic:Q: SWT/JFace utilities project
Next Topic:How show only text of Action with image???
Goto Forum:
  


Current Time: Fri Apr 26 09:54:56 GMT 2024

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

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

Back to the top