diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org')
2 files changed, 3 insertions, 6 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/OseeTypesImportOperation.java b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/OseeTypesImportOperation.java index 234dfc5938a..b84a6e68f05 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/OseeTypesImportOperation.java +++ b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/OseeTypesImportOperation.java @@ -37,14 +37,12 @@ import org.eclipse.osee.framework.skynet.core.artifact.HttpClientMessage; public class OseeTypesImportOperation extends AbstractOperation { private final IOseeCachingService cacheService; private final URI model; - private final boolean isPersistAllowed; private final boolean createTypeChangeReport; - public OseeTypesImportOperation(IOseeCachingService cacheService, URI model, boolean createTypeChangeReport, boolean isPersistAllowed) { + public OseeTypesImportOperation(IOseeCachingService cacheService, URI model, boolean createTypeChangeReport) { super("Import Osee Types Model", DslUiIntegrationConstants.PLUGIN_ID); this.cacheService = cacheService; this.model = model; - this.isPersistAllowed = isPersistAllowed; this.createTypeChangeReport = createTypeChangeReport; } @@ -72,8 +70,7 @@ public class OseeTypesImportOperation extends AbstractOperation { Map<String, String> parameters = new HashMap<String, String>(); OseeImportModelRequest modelRequest = - new OseeImportModelRequest(getName(model), getModel(model.toURL()), createTypeChangeReport, false, - isPersistAllowed); + new OseeImportModelRequest(getName(model), getModel(model.toURL()), createTypeChangeReport, false); OseeImportModelResponse response = HttpClientMessage.send(OseeServerContext.OSEE_MODEL_CONTEXT, parameters, 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 b53b47f499e..5d83822655a 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 @@ -32,7 +32,7 @@ public class XtextOseeTypesHandler implements IOseeTypesHandler { @Override public void execute(IProgressMonitor monitor, URI uri) throws OseeCoreException { IOseeCachingService cacheService = getCachingService(); - IOperation operation = new OseeTypesImportOperation(cacheService, uri, false, true); + IOperation operation = new OseeTypesImportOperation(cacheService, uri, false); Operations.executeWorkAndCheckStatus(operation, monitor); } |