Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » ProgressMonitorDialog problem!!!!
ProgressMonitorDialog problem!!!! [message #459700] Sun, 14 August 2005 17:22 Go to next message
Vicente is currently offline VicenteFriend
Messages: 7
Registered: July 2009
Junior Member
Hello. I have a problem!!!!

In my code i use a JFace progressmonitorDialog... but i don´t know how
can i change the default "CANCEL" button text....
I mean, i want to change Cancel text button in progressmonitordialog to
"Cancelar" text in spanish...
i don´t see the setText method and i don´t know if exists for this jFace
dialog.

I guess i have to overwrite the createbuttonsforbar method of the dialog
class, but i don´t know to do it!!!

Thansk for your help
Re: ProgressMonitorDialog problem!!!! [message #459727 is a reply to message #459700] Sun, 14 August 2005 22:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

"Vicente" <vicenrico@gmail.com> wrote in message
news:ddnul9$l9k$1@news.eclipse.org...
> Hello. I have a problem!!!!
>
> In my code i use a JFace progressmonitorDialog... but i don
Re: ProgressMonitorDialog problem!!!! [message #459759 is a reply to message #459727] Mon, 15 August 2005 18:10 Go to previous message
Vicente is currently offline VicenteFriend
Messages: 7
Registered: July 2009
Junior Member
Sunil Kamath escribió:
> "Vicente" <vicenrico@gmail.com> wrote in message
> news:ddnul9$l9k$1@news.eclipse.org...
>
>>Hello. I have a problem!!!!
>>
>>In my code i use a JFace progressmonitorDialog... but i don´t know how can
>>i change the default "CANCEL" button text....
>>I mean, i want to change Cancel text button in progressmonitordialog to
>>"Cancelar" text in spanish...
>>i don´t see the setText method and i don´t know if exists for this jFace
>>dialog.
>>
>>I guess i have to overwrite the createbuttonsforbar method of the dialog
>>class, but i don´t know to do it!!!
>>
>>Thansk for your help
>
>
> Have you downloaded the language packs for Eclipse?
> ---
> Sunil
>
>
Well, really, i want to "i18n" my program in various languages. Because
of that, i wanna know if there is a "settext method" for the cancel
button of the Jface progressmonitordialog.

I do "extends ProgressMonitorDialog" in my class, but i cannot access to
button cancel to change his text. The doc for this class, says i can
access, but i don´t know how...

Thanks...
Previous Topic:delete from explorer AND editor window
Next Topic:Keyboard Accelerator on Button
Goto Forum:
  


Current Time: Sun Apr 18 00:54:41 GMT 2021

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

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

Back to the top