Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] ProgressMonitor in MBS Custom Pages

Thanks Chris for the swift reply.

I tried changing my runnable (the one defined as the operation class in plugin.xml when extending org.eclipse.cdt.managedbuilder.ui.newWizardPages) to:

public class AIMWizardPageRunnable implements IRunnableWithProgress {

and in the run method added:

public void run(IProgressMonitor monitor) {

...but when I launch the C Project wizard I get the error:

Plug-in "addProject" was unable to instantiate class "addProjectRunnables.AIMWizardPageRunnable".

I suppose I must tell the MBSCustomPageManager I have an alternative runnable, but how?

By the way I am using Indigo and CDT 8.02

Thanks again...

On 27/03/2013 17:03, Chris Recoskie wrote:

Just make your runnable implement IRunnable with progress and you will then be passed a progress monitor to your run method which you can then use to update progress.

Chris Recoskie
Team Lead, IBM CDT and RDT
IBM Toronto

          hide details for Antony Burton ---03/27/2013 10:44:43 AM---Hi,
          I have extended MBSCustomPage but the runnable et thAntony Burton ---03/27/2013 10:44:43 AM---Hi,    I have extended MBSCustomPage but the runnable et the end of the

From: Antony Burton <aburton@xxxxxxxxxxx>
To: "cdt-dev@xxxxxxxxxxx" <cdt-dev@xxxxxxxxxxx>
Date: 03/27/2013 10:44 AM
Subject: [cdt-dev] ProgressMonitor in MBS Custom Pages
Sent by: cdt-dev-bounces@xxxxxxxxxxx

  I have extended MBSCustomPage but the runnable et the end of the
wizard lasts about 1 minute so I would like to report what's happening.
I found this bug report: but, try as I
might, I can't understand what is being done. Could someone please point
me to a concrete example?

Thanks in advance,

cdt-dev mailing list

cdt-dev mailing list

Back to the top