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:
parent
1d7403d060
commit
dd55dc2b58
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||||
|
|
Loading…
Add table
Reference in a new issue