Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » ProgressMonitor "always run in background" problem
ProgressMonitor "always run in background" problem [message #107461] Wed, 01 October 2008 11:13 Go to next message
rollo is currently offline rolloFriend
Messages: 117
Registered: July 2009
Senior Member
Hi,

during an action I was showing a ProgressMonitor.
Then I checked the Checkbox "always run in background".

But now I never saw the Dialog again and don't know how re-show it.

Can somebody help me???
Roland
Re: ProgressMonitor "always run in background" problem [message #107477 is a reply to message #107461] Wed, 01 October 2008 11:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Roland,

did you try what was suggested in this post?
http://dev.eclipse.org/newslists/news.eclipse.technology.rap /msg04266.html

HTH
Rüdiger

Roland Siebert wrote:
> Hi,
>
> during an action I was showing a ProgressMonitor.
> Then I checked the Checkbox "always run in background".
>
> But now I never saw the Dialog again and don't know how re-show it.
>
> Can somebody help me???
> Roland
Re: ProgressMonitor "always run in background" problem [message #107491 is a reply to message #107477] Wed, 01 October 2008 12:05 Go to previous messageGo to next message
rollo is currently offline rolloFriend
Messages: 117
Registered: July 2009
Senior Member
Thanks.

Exactly what I'm searching for.

It works.

Roland

Rüdiger Herrmann schrieb:
> Roland,
>
> did you try what was suggested in this post?
> http://dev.eclipse.org/newslists/news.eclipse.technology.rap /msg04266.html
>
> HTH
> Rüdiger
>
> Roland Siebert wrote:
>> Hi,
>>
>> during an action I was showing a ProgressMonitor.
>> Then I checked the Checkbox "always run in background".
>>
>> But now I never saw the Dialog again and don't know how re-show it.
>>
>> Can somebody help me???
>> Roland
Re: ProgressMonitor "always run in background" problem [message #517024 is a reply to message #107477] Thu, 25 February 2010 19:04 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 5
Registered: July 2009
Junior Member
Hi,

I recently checked "Always run in background" for the "Progress" view. I would like to undo this. How can this be accomplished?

From your previous post, you point to a thread that states that I would have to edit the Eclipse code to do this? That doesn't make sense to me. At most I would think that I would have to change some persistent setting somewhere. But edit the code?!?!

Thank you.
Re: ProgressMonitor "always run in background" problem [message #517055 is a reply to message #517024] Thu, 25 February 2010 17:52 Go to previous messageGo to next message
Benjamin Wolff is currently offline Benjamin WolffFriend
Messages: 136
Registered: July 2009
Senior Member
Hi,

actually, the post you mentioned exactly suggests this, to set a persistent setting :).

WorkbenchPlugin.PlatformUI.getPreferenceStore().setValue( IPreferenceConstants.RUN_IN_BACKGROUND, false );

Doing this will cause a warning, because this is workbench internal. I'm using this in my application
as well and it works. but it is really ugly, of course. so if someone knows a better way i'd be glad to hear
about it.

greetings,
-ben



Am 25.02.2010 20:04, schrieb alopecoid@gmail.com:
> Hi,
>
> I recently checked "Always run in background" for the "Progress" view. I
> would like to undo this. How can this be accomplished?
>
> From your previous post, you point to a thread that states that I would
> have to edit the Eclipse code to do this? That doesn't make sense to me.
> At most I would think that I would have to change some persistent
> setting somewhere. But edit the code?!?!
>
> Thank you.
Re: ProgressMonitor "always run in background" problem [message #517394 is a reply to message #517024] Sat, 27 February 2010 14:01 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
these settings are stored under in the data location. By default, the
data location is <eclipse-install-folder/workspace. If you delete this
folder the default settings will be used.


HTH
Rüdiger

On 25.02.2010 20:04, alopecoid@gmail.com wrote:
> Hi,
>
> I recently checked "Always run in background" for the "Progress" view. I
> would like to undo this. How can this be accomplished?
>
> From your previous post, you point to a thread that states that I would
> have to edit the Eclipse code to do this? That doesn't make sense to me.
> At most I would think that I would have to change some persistent
> setting somewhere. But edit the code?!?!
>
> Thank you.
Re: ProgressMonitor "always run in background" problem [message #517669 is a reply to message #517394] Mon, 01 March 2010 16:17 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 5
Registered: July 2009
Junior Member
Rüdiger Herrmann wrote on Sat, 27 February 2010 09:01
these settings are stored under in the data location. By default, the
data location is <eclipse-install-folder/workspace. If you delete this
folder the default settings will be used.


But won't this delete all other settings as well?

It seem to me that this is a bug. There should definitely be a toggle somewhere in the preferences for this.
Re: ProgressMonitor "always run in background" problem [message #517693 is a reply to message #517669] Mon, 01 March 2010 17:48 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
On 01.03.2010 17:17, alopecoid@gmail.com wrote:
> Rüdiger Herrmann wrote on Sat, 27 February 2010 09:01
>> these settings are stored under in the data location. By default, the
>> data location is <eclipse-install-folder/workspace. If you delete this
>> folder the default settings will be used.
>
>
> But won't this delete all other settings as well?
yes

>
> It seem to me that this is a bug. There should definitely be a toggle
> somewhere in the preferences for this.
This setting can be changed in the WorkbenchPreferencePage.
Re: ProgressMonitor "always run in background" problem [message #517722 is a reply to message #517693] Mon, 01 March 2010 20:18 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 5
Registered: July 2009
Junior Member
Rüdiger Herrmann wrote on Mon, 01 March 2010 12:48

This setting can be changed in the WorkbenchPreferencePage.


Hi,

Would you mind telling me exactly how to navigate to this page? I can't seem to find it anywhere.

Just to clarify, I am not an Eclipse developer... I know next to nothing about the Eclipse codebase. It seems that you are referring me to a class name when you write something like "WorkbenchPreferencePage".

I am looking for something more like:

Go to: Window > Preferences > Some Section > Some Other Section. Once there, it's the checkbox labeled "something".

Thank you!
Re: ProgressMonitor "always run in background" problem [message #517741 is a reply to message #517722] Mon, 01 March 2010 17:00 Go to previous messageGo to next message
Benjamin Wolff is currently offline Benjamin WolffFriend
Messages: 136
Registered: July 2009
Senior Member
Window -> Preferences -> General -> uncheck 'always run in background'


I'm just wondering, it seems that this has nothing to do with RAP in particular.
I thought you were refering to a self-build RAP application, i guess that's why
you got the 'codebase' answers.

For questions about the Eclipse IDE itself you should consider asking in the Eclipse
User-Boards, since this is a newsgroup especially for Rich-Ajax-Platform developers.
So most probably you'll get a developer answer here ;)).

HTH,
-ben



Am 01.03.2010 21:18, schrieb alopecoid@gmail.com:
> Rüdiger Herrmann wrote on Mon, 01 March 2010 12:48
>> This setting can be changed in the WorkbenchPreferencePage.
>
>
> Hi,
>
> Would you mind telling me exactly how to navigate to this page? I can't
> seem to find it anywhere.
>
> Just to clarify, I am not an Eclipse developer... I know next to nothing
> about the Eclipse codebase. It seems that you are referring me to a
> class name when you write something like "WorkbenchPreferencePage".
>
> I am looking for something more like:
>
> Go to: Window > Preferences > Some Section > Some Other Section. Once
> there, it's the checkbox labeled "something".
>
> Thank you!
Re: ProgressMonitor "always run in background" problem [message #517750 is a reply to message #517741] Mon, 01 March 2010 22:24 Go to previous message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 5
Registered: July 2009
Junior Member
Benjamin Wolff wrote on Mon, 01 March 2010 12:00
Window -> Preferences -> General -> uncheck 'always run in background'


I'm just wondering, it seems that this has nothing to do with RAP in particular.
I thought you were refering to a self-build RAP application, i guess that's why
you got the 'codebase' answers.

For questions about the Eclipse IDE itself you should consider asking in the Eclipse
User-Boards, since this is a newsgroup especially for Rich-Ajax-Platform developers.
So most probably you'll get a developer answer here Wink).

HTH,
-ben


Thanks! That worked.

Sorry about that... I thought I just searched in the general forums off of the Eclipse links page, and found a related thread. Not sure how I ended up in this specific forum.
Previous Topic:RAP 1.2
Next Topic:Portlet
Goto Forum:
  


Current Time: Thu Mar 28 16:35:43 GMT 2024

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

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

Back to the top