Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » ProgressMonitor registration
ProgressMonitor registration [message #515409] Thu, 18 February 2010 17:06 Go to next message
dumi  is currently offline dumi Friend
Messages: 5
Registered: January 2010
Junior Member
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 18:59 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
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: Sat Oct 12 16:03:10 GMT 2024

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

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

Back to the top