|
|
Re: ProgressMonitor [message #453654 is a reply to message #453620] |
Mon, 07 August 2006 10:00 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03938 seconds