Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » ProgressMonitor registration
ProgressMonitor registration [message #515409] Thu, 18 February 2010 12:06 Go to next message
Eclipse UserFriend
Hi all

I want to implement the IProgressMonitor interface for building a custom progress monitor UI, especially used for operations with unknown time.

If IProgressMonitor is not very suitable for this, what class should I extend and how can I register this monitor for my application when used like:

Job job = new Job("something") {
...
protected void run(IProgressMonitor monitor) {
... standard monitor usage:
monitor.beginTask(..)
.. etc
}
}

to display my progress monitor and not the default one?

thanx & regards,
dumi
Re: ProgressMonitor registration [message #515445 is a reply to message #515409] Thu, 18 February 2010 13:59 Go to previous message
Eclipse UserFriend
Dumi,

are you aware of these articles?
http://www.eclipse.org/articles/Article-Progress-Monitors/ar ticle.html
http://www.eclipse.org/articles/Article-Concurrency/jobs-api .html

If these don't help, you may posted the question to the RCP newsgroup -
where the real RCP experts are:)

HTH
Rüdiger
--
Rüdiger Herrmann
http://eclipsesource.com

On 18.02.2010 18:06, dumi wrote:
> Hi all
>
> I want to implement the IProgressMonitor interface for building a custom
> progress monitor UI, especially used for operations with unknown time.
>
> If IProgressMonitor is not very suitable for this, what class should I
> extend and how can I register this monitor for my application when used
> like:
>
> Job job = new Job("something") {
> ...
> protected void run(IProgressMonitor monitor) {
> ... standard monitor usage:
> monitor.beginTask(..)
> .. etc
> }
> }
>
> to display my progress monitor and not the default one?
>
> thanx & regards,
> dumi
Previous Topic:Tree-Widget in RAP
Next Topic:Missing API from 3.5 in IWorkbenchPage
Goto Forum:
  


Current Time: Tue Mar 11 07:23:49 EDT 2025

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

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

Back to the top