1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

RESOLVED - bug 170615: Need access to ProgressMonitor in MBS Custom Pages

https://bugs.eclipse.org/bugs/show_bug.cgi?id=170615
This commit is contained in:
Chris Recoskie 2007-04-25 18:40:57 +00:00
parent 1d7403d060
commit dd55dc2b58

View file

@ -216,7 +216,7 @@ public final class MBSCustomPageManager
// Post 4.0, IRunnableWithProgress are accepted as well. // Post 4.0, IRunnableWithProgress are accepted as well.
if (operation instanceof Runnable) { if (operation instanceof Runnable) {
currentPageData = new MBSCustomPageData(id, wizardPage, (Runnable) operation, false); currentPageData = new MBSCustomPageData(id, wizardPage, (Runnable) operation, false);
} else if (operation instanceof IRunnableWithProgress) { } else if (operation instanceof IRunnableWithProgress || operation == null) {
currentPageData = new MBSCustomPageData(id, wizardPage, (IRunnableWithProgress) operation, false); currentPageData = new MBSCustomPageData(id, wizardPage, (IRunnableWithProgress) operation, false);
} else { } else {
throw new BuildException(element.getName()); throw new BuildException(element.getName());