Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » ProgressMonitor
ProgressMonitor [message #453620] Fri, 04 August 2006 09:58 Go to next message
cenk Mising name is currently offline cenk Mising nameFriend
Messages: 159
Registered: July 2009
Senior Member
I can open Progress Monitor with Job class in my Thread run. The problem is
that When press the Run Background button on ProgressMonitor dialog dialog
minimized but I cant maxisimized again. How can I it.

By the way Is the Job Class a thread. Becase I am using a thread and I am
calling Job class in run function of the Thread

Is there any disadvantage?
Re: ProgressMonitor [message #453636 is a reply to message #453620] Fri, 04 August 2006 14:29 Go to previous messageGo to next message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
Cenk Dundar wrote:

> By the way Is the Job Class a thread. Becase I am using a thread and I am
> calling Job class in run function of the Thread
>
If you are running a Job, you do not need to (but certainly may) spawn an additional Thread (I am
pretty sure a Job either isA Thread or hasA Thread). I have half-a-dozen Job types running around my
RCP, and never once needed to say "Thread" in my code.

HTH,
Paul
Re: ProgressMonitor [message #453654 is a reply to message #453620] Mon, 07 August 2006 10:00 Go to previous message
Eclipse UserFriend
Originally posted by: tom.seidel.spiritlink.de

Cenk Dundar wrote:
> I can open Progress Monitor with Job class in my Thread run. The problem is
> that When press the Run Background button on ProgressMonitor dialog dialog
> minimized but I cant maxisimized again. How can I it.
>
> By the way Is the Job Class a thread. Becase I am using a thread and I am
> calling Job class in run function of the Thread
>
> Is there any disadvantage?
>
>
For reopening the job, you have to integrate the progress-view.

1.
You have to define the view, in your own plugin.xml, because the view is
integrated in the org.eclipse.ui Plugin but will be defined by the
org.eclipse.ui.ide Plugin, that is probably not integrated in your RCP.
<view
name="%Views.Progress"
icon="icons/pview.gif"
category="org.eclipse.ui"
class="org.eclipse.ui.internal.progress.JobView"
id="org.eclipse.ui.views.ProgressView">
</view>

2.
activate the ProgressIndicator in your ApplicationWorkbenchWindowAdvisor
public void preWindowOpen() {
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
configurer.setShowProgressIndicator(true);

}

--
Cheerz,
Tom
Previous Topic:How to create a customized Problemview?
Next Topic:How to prevent other plugins from contributing actions to menubar
Goto Forum:
  


Current Time: Thu Oct 10 16:46:02 GMT 2024

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

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

Back to the top