Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmisinco2013-11-20 20:00:16 +0000
committerGerrit Code Review @ Eclipse.org2013-12-03 15:29:58 +0000
commitc8164a62042005eb1c1c3313bf9c9f6bde2e494e (patch)
tree8b3c152c3eac998a2ef5053eb41a973a474e8a56 /plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org
parent6ff162945d3f4ddfa1dd7bab80e1b4321eda1cb9 (diff)
downloadorg.eclipse.osee-c8164a62042005eb1c1c3313bf9c9f6bde2e494e.tar.gz
org.eclipse.osee-c8164a62042005eb1c1c3313bf9c9f6bde2e494e.tar.xz
org.eclipse.osee-c8164a62042005eb1c1c3313bf9c9f6bde2e494e.zip
refactor[ats_ZFB9T]: Remove identity service
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org')
-rw-r--r--plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/OseeTypesImportOperation.java7
-rw-r--r--plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/XtextOseeTypesHandler.java2
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);
}

Back to the top