Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » How to use the progress monitor with a custom wizard
icon5.gif  How to use the progress monitor with a custom wizard [message #903398] Thu, 23 August 2012 09:33 Go to previous message
Gary Long is currently offline Gary Long
Messages: 3
Registered: August 2012
Junior Member
Hello Smile

I created a custom WizardDialog and a custom Wizard. The problem is that I can't find how to activate the progress monitor available in the wizard. I set the needsProgressMonitor to true but it doesn't show when I start the wizard dialog :

My code is :

ImpactGenerationWizard wizard = new ImpactGenerationWizard();
wizard.setWindowTitle(wizardTitle);
wizard.setHelpAvailable(false);
wizard.addPages(impacts);
wizard.setNeedsProgressMonitor(true);

ImpactGenerationWizardDialog wd = new ImpactGenerationWizardDialog(shell, wizard);				
wd.open();


I read something about using the wd.run(fork, cancelable, runnable) but I don't really understand how it works.

Any help will be appreciated.

Thank you Smile
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic:WizardPage depend of previous WizardPages
Next Topic:Treeviewer expander gives false indication
Goto Forum:
  


Current Time: Sat May 25 03:50:07 EDT 2013

Powered by FUDForum. Page generated in 0.01659 seconds