Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » progress bar
progress bar [message #448982] Mon, 08 May 2006 10:05 Go to next message
Eclipse UserFriend
Hello,
I have seen that there is now the possibility to add a progress bar
under the "Branding" section of the "appname.product" file. However if
I check the "Add a progress bar" and "Add a progress message" check
boxes and enter some values in the dedicated fields (x-offset etc...)
nothing happens in my rcp application.

Is there something more to do to incorporate the progress bar into my
splash screen ?

Thanks very much in advance.
Re: progress bar [message #448983 is a reply to message #448982] Mon, 08 May 2006 10:17 Go to previous messageGo to next message
Eclipse UserFriend
Yes,
public void initialize(IWorkbenchConfigurer configurer) {

....

PlatformUI.getPreferenceStore().setValue(

IWorkbenchPreferenceConstants.SHOW_PROGRESS_ON_STARTUP, true);


}

If you wanna fix it

You can do it on property file to be configurable

"Dominique Buenzli" <dominique.buenzli@gmail.com> wrote in message
news:e3nj6m$h07$1@utils.eclipse.org...
> Hello,
> I have seen that there is now the possibility to add a progress bar
> under the "Branding" section of the "appname.product" file. However if
> I check the "Add a progress bar" and "Add a progress message" check
> boxes and enter some values in the dedicated fields (x-offset etc...)
> nothing happens in my rcp application.
>
> Is there something more to do to incorporate the progress bar into my
> splash screen ?
>
> Thanks very much in advance.
>
Re: progress bar [message #449027 is a reply to message #448983] Mon, 08 May 2006 10:55 Go to previous messageGo to next message
Eclipse UserFriend
Thanks I was able to show it up in my splash screen adding your code to
ApplicationWorkbenchWindowAdvisor.java.

However, changing the settings (widght, height) under the "Branding"
section of the "appname.product" didn't do anything.

What do you mean by do it on property file ? "plugin.properties" ? If yes how ?
Thanks
Dominique


> Yes,
> public void initialize(IWorkbenchConfigurer configurer) {
>
> ...
>
> PlatformUI.getPreferenceStore().setValue(
>
> IWorkbenchPreferenceConstants.SHOW_PROGRESS_ON_STARTUP, true);
>
>
> }
>
> If you wanna fix it
>
> You can do it on property file to be configurable
>
> "Dominique Buenzli" <dominique.buenzli@gmail.com> wrote in message
> news:e3nj6m$h07$1@utils.eclipse.org...
>> Hello,
>> I have seen that there is now the possibility to add a progress bar
>> under the "Branding" section of the "appname.product" file. However if
>> I check the "Add a progress bar" and "Add a progress message" check
>> boxes and enter some values in the dedicated fields (x-offset etc...)
>> nothing happens in my rcp application.
>>
>> Is there something more to do to incorporate the progress bar into my
>> splash screen ?
>>
>> Thanks very much in advance.
Re: progress bar [message #449030 is a reply to message #449027] Mon, 08 May 2006 12:05 Go to previous messageGo to next message
Eclipse UserFriend
When you change your appname.prduct you need to syncronyze it before launch
the product again, try to do this ...

"Dominique Buenzli" <dominique.buenzli@gmail.com> wrote in message
news:e3nm5b$3i2$1@utils.eclipse.org...
> Thanks I was able to show it up in my splash screen adding your code to
> ApplicationWorkbenchWindowAdvisor.java.
>
> However, changing the settings (widght, height) under the "Branding"
> section of the "appname.product" didn't do anything.
>
> What do you mean by do it on property file ? "plugin.properties" ? If yes
how ?
> Thanks
> Dominique
>
>
> > Yes,
> > public void initialize(IWorkbenchConfigurer configurer) {
> >
> > ...
> >
> > PlatformUI.getPreferenceStore().setValue(
> >
> > IWorkbenchPreferenceConstants.SHOW_PROGRESS_ON_STARTUP, true);
> >
> >
> > }
> >
> > If you wanna fix it
> >
> > You can do it on property file to be configurable
> >
> > "Dominique Buenzli" <dominique.buenzli@gmail.com> wrote in message
> > news:e3nj6m$h07$1@utils.eclipse.org...
> >> Hello,
> >> I have seen that there is now the possibility to add a progress bar
> >> under the "Branding" section of the "appname.product" file. However if
> >> I check the "Add a progress bar" and "Add a progress message" check
> >> boxes and enter some values in the dedicated fields (x-offset etc...)
> >> nothing happens in my rcp application.
> >>
> >> Is there something more to do to incorporate the progress bar into my
> >> splash screen ?
> >>
> >> Thanks very much in advance.
>
>
Re: progress bar [message #449033 is a reply to message #449030] Mon, 08 May 2006 16:13 Go to previous message
Eclipse UserFriend
This did the trick. Thanks for your help.

On 2006-05-08 18:05:49 +0200, "Mauro" <mauro@automaware.com.br> said:

> When you change your appname.prduct you need to syncronyze it before launch
> the product again, try to do this ...
>
> "Dominique Buenzli" <dominique.buenzli@gmail.com> wrote in message
> news:e3nm5b$3i2$1@utils.eclipse.org...
>> Thanks I was able to show it up in my splash screen adding your code to
>> ApplicationWorkbenchWindowAdvisor.java.
>>
>> However, changing the settings (widght, height) under the "Branding"
>> section of the "appname.product" didn't do anything.
>>
>> What do you mean by do it on property file ? "plugin.properties" ? If yes
> how ?
>> Thanks
>> Dominique
>>
>>
>>> Yes,
>>> public void initialize(IWorkbenchConfigurer configurer) {
>>>
>>> ...
>>>
>>> PlatformUI.getPreferenceStore().setValue(
>>>
>>> IWorkbenchPreferenceConstants.SHOW_PROGRESS_ON_STARTUP, true);
>>>
>>>
>>> }
>>>
>>> If you wanna fix it
>>>
>>> You can do it on property file to be configurable
>>>
>>> "Dominique Buenzli" <dominique.buenzli@gmail.com> wrote in message
>>> news:e3nj6m$h07$1@utils.eclipse.org...
>>>> Hello,
>>>> I have seen that there is now the possibility to add a progress bar
>>>> under the "Branding" section of the "appname.product" file. However if
>>>> I check the "Add a progress bar" and "Add a progress message" check
>>>> boxes and enter some values in the dedicated fields (x-offset etc...)
>>>> nothing happens in my rcp application.
>>>>
>>>> Is there something more to do to incorporate the progress bar into my
>>>> splash screen ?
>>>>
>>>> Thanks very much in advance.
Previous Topic:Trying to add key listeners to custom control
Next Topic:Error when tryying to export a feature with digital signing
Goto Forum:
  


Current Time: Sun Aug 31 07:42:19 EDT 2025

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

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

Back to the top