From dacea03b11050127e7094532f96e20343c528ddb Mon Sep 17 00:00:00 2001 From: rbrooks Date: Mon, 23 Aug 2010 16:12:31 +0000 Subject: clarified in the Operations API that work percentage only applies to sub-operations --- .../core/dsl/ui/integration/operations/XtextOseeTypesHandler.java | 2 +- .../framework/core/dsl/ui/integration/wizards/OseeTypesImportPage.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/org.eclipse.osee.framework.core.dsl.ui.integration') diff --git a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/XtextOseeTypesHandler.java b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/XtextOseeTypesHandler.java index b2dd95bc709..c322b347557 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/XtextOseeTypesHandler.java +++ b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/XtextOseeTypesHandler.java @@ -31,7 +31,7 @@ public class XtextOseeTypesHandler implements IOseeTypesHandler { try { IOseeCachingService cacheService = Activator.getOseeCacheService(); IOperation operation = new OseeTypesImportOperation(cacheService, uri, false, false, true); - Operations.executeWorkAndCheckStatus(operation, monitor, -1); + Operations.executeWorkAndCheckStatus(operation, monitor); } catch (Exception ex) { OseeExceptions.wrapAndThrow(ex); } diff --git a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/wizards/OseeTypesImportPage.java b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/wizards/OseeTypesImportPage.java index 30c2ebc98ba..9b2a5454fcf 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/wizards/OseeTypesImportPage.java +++ b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/wizards/OseeTypesImportPage.java @@ -214,7 +214,7 @@ public class OseeTypesImportPage extends WizardDataTransferPage { @Override public void run(IProgressMonitor monitor) { - Operations.executeWork(operation, monitor, -1); + Operations.executeWork(operation, monitor); } }); } catch (InterruptedException e) { -- cgit v1.2.3