Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Tracking progress of MonoReconciler
Tracking progress of MonoReconciler [message #1006849] Sat, 02 February 2013 21:12 Go to next message
Alex Molochnikov is currently offline Alex MolochnikovFriend
Messages: 25
Registered: July 2009
Junior Member
I would like to show progress of MonoReconciler working on a large text. It
has a setter method for IProgressMonitor, but the monitor is normally
obtained from the Job, which MonoReconciler does not run (it uses its own
private BackgroundThread class which is not related to Job).

All examples that I've seen plug NullProgressMonitor into MonoReconciler
which means no tracking of progress.

Am I missing something obvious, or is the MonoReconciler not really meant
for tracking with IProgressMonitor? And if so, why does it provide the
setter method?

Thanks for any ideas.

Alex Molochnikov
Re: Tracking progress of MonoReconciler [message #1007083 is a reply to message #1006849] Mon, 04 February 2013 11:30 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 02.02.2013 22:12, Alex Molochnikov wrote:
> I would like to show progress of MonoReconciler working on a large
> text. It has a setter method for IProgressMonitor, but the monitor is
> normally obtained from the Job, which MonoReconciler does not run (it
> uses its own private BackgroundThread class which is not related to Job).
>
> All examples that I've seen plug NullProgressMonitor into
> MonoReconciler which means no tracking of progress.
>
> Am I missing something obvious, or is the MonoReconciler not really
> meant for tracking with IProgressMonitor? And if so, why does it
> provide the setter method?
Currently the reconciler framework only uses the progress monitor to
allow to cancel the current reconciling.

Dani
>
> Thanks for any ideas.
>
> Alex Molochnikov
Re: Tracking progress of MonoReconciler [message #1007225 is a reply to message #1007083] Tue, 05 February 2013 06:49 Go to previous message
Alex Molochnikov is currently offline Alex MolochnikovFriend
Messages: 25
Registered: July 2009
Junior Member
Thanks. It looks like the setter method for IProgressMonitor is meant for
the internal use only, in spite being the public one.

"Daniel Megert" wrote in message news:keo64u$p5r$1@xxxxxxxxe.org...

> Currently the reconciler framework only uses the progress monitor to allow
> to cancel the current reconciling.

> Dani
Previous Topic:Target Definition with P2 Update Site Repository
Next Topic:What is locationURI to contribute to the Project Explorer New Menu?
Goto Forum:
  


Current Time: Fri Apr 19 03:51:40 GMT 2024

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

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

Back to the top