Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2011-10-14 22:44:21 -0400
committerRoberto E. Escobar2011-10-14 22:44:21 -0400
commit6e84909cc72b1037d9a71aebe47236f80a998986 (patch)
treed46861b68bdcaeda5822e994db2e61e8d0e950a7 /plugins/org.eclipse.osee.framework.core.message/src/org
parentec64dd05599669815ff8cfab3bb725fae1d8ff87 (diff)
downloadorg.eclipse.osee-6e84909cc72b1037d9a71aebe47236f80a998986.tar.gz
org.eclipse.osee-6e84909cc72b1037d9a71aebe47236f80a998986.tar.xz
org.eclipse.osee-6e84909cc72b1037d9a71aebe47236f80a998986.zip
feature[ats_Q9NLC]: Create type caches in orcs bundles
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.message/src/org')
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/IOseeModelingService.java26
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/IOseeModelingServiceProvider.java21
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/OseeImportModelRequest.java52
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/OseeImportModelResponse.java63
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/TableData.java42
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeImportModelRequestTranslator.java2
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeImportModelResponseTranslator.java4
-rw-r--r--plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/TableDataTranslator.java2
8 files changed, 4 insertions, 208 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/IOseeModelingService.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/IOseeModelingService.java
deleted file mode 100644
index 00197ed778..0000000000
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/IOseeModelingService.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.core.message;
-
-import java.io.OutputStream;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.osee.framework.core.exception.OseeCoreException;
-
-/**
- * @author Roberto E. Escobar
- */
-public interface IOseeModelingService {
-
- void importOseeTypes(IProgressMonitor monitor, boolean isInitializing, OseeImportModelRequest request, OseeImportModelResponse response) throws OseeCoreException;
-
- void exportOseeTypes(IProgressMonitor monitor, OutputStream outputStream) throws OseeCoreException;
-
-}
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/IOseeModelingServiceProvider.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/IOseeModelingServiceProvider.java
deleted file mode 100644
index 7b670742f5..0000000000
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/IOseeModelingServiceProvider.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.core.message;
-
-import org.eclipse.osee.framework.core.exception.OseeCoreException;
-
-/**
- * @author Roberto E. Escobar
- */
-public interface IOseeModelingServiceProvider {
-
- IOseeModelingService getOseeModelingService() throws OseeCoreException;
-}
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/OseeImportModelRequest.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/OseeImportModelRequest.java
deleted file mode 100644
index c1893cc8d1..0000000000
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/OseeImportModelRequest.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.core.message;
-
-/**
- * @author Roberto E. Escobar
- */
-public class OseeImportModelRequest {
-
- private final String model;
- private final String modelName;
- private final boolean isPersistAllowed;
- private final boolean createTypeChangeReport;
- private final boolean createCompareReport;
-
- public OseeImportModelRequest(String modelName, String model, boolean createTypeChangeReport, boolean createCompareReport, boolean isPersistAllowed) {
- this.modelName = modelName;
- this.model = model;
- this.isPersistAllowed = isPersistAllowed;
- this.createCompareReport = createCompareReport;
- this.createTypeChangeReport = createTypeChangeReport;
- }
-
- public String getModel() {
- return model;
- }
-
- public boolean isCreateTypeChangeReport() {
- return createTypeChangeReport;
- }
-
- public boolean isCreateCompareReport() {
- return createCompareReport;
- }
-
- public boolean isPersistAllowed() {
- return isPersistAllowed;
- }
-
- public String getModelName() {
- return modelName;
- }
-
-}
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/OseeImportModelResponse.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/OseeImportModelResponse.java
deleted file mode 100644
index 751ba0d9ec..0000000000
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/OseeImportModelResponse.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2009 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.core.message;
-
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.List;
-
-/**
- * @author Roberto E. Escobar
- */
-public class OseeImportModelResponse {
-
- private final List<TableData> reportData;
- private boolean wasPersisted;
- private String comparisonSnapshotModel;
- private String comparisonSnapshotModelName;
-
- public OseeImportModelResponse() {
- this.wasPersisted = false;
- this.reportData = new ArrayList<TableData>();
- }
-
- public List<TableData> getReportData() {
- return reportData;
- }
-
- public void setReportData(Collection<TableData> data) {
- reportData.addAll(data);
- }
-
- public boolean wasPersisted() {
- return wasPersisted;
- }
-
- public void setPersisted(boolean wasPersisted) {
- this.wasPersisted = wasPersisted;
- }
-
- public String getComparisonSnapshotModel() {
- return comparisonSnapshotModel;
- }
-
- public String getComparisonSnapshotModelName() {
- return comparisonSnapshotModelName;
- }
-
- public void setComparisonSnapshotModel(String comparisonSnapshotModel) {
- this.comparisonSnapshotModel = comparisonSnapshotModel;
- }
-
- public void setComparisonSnapshotModelName(String comparisonSnapshotModelName) {
- this.comparisonSnapshotModelName = comparisonSnapshotModelName;
- }
-}
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/TableData.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/TableData.java
deleted file mode 100644
index ef9352bcee..0000000000
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/TableData.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004, 2007 Boeing.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Boeing - initial API and implementation
- *******************************************************************************/
-package org.eclipse.osee.framework.core.message;
-
-import java.util.List;
-
-/**
- * @author Roberto E. Escobar
- */
-public class TableData {
-
- private final String title;
- private final String[] columns;
- private final List<String[]> rows;
-
- public TableData(String title, String[] columns, List<String[]> rows) {
- this.title = title;
- this.columns = columns;
- this.rows = rows;
- }
-
- public String getTitle() {
- return title;
- }
-
- public String[] getColumns() {
- return columns;
- }
-
- public List<String[]> getRows() {
- return rows;
- }
-
-}
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeImportModelRequestTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeImportModelRequestTranslator.java
index a02af8b81d..8cc98bb20c 100644
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeImportModelRequestTranslator.java
+++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeImportModelRequestTranslator.java
@@ -10,7 +10,7 @@
*******************************************************************************/
package org.eclipse.osee.framework.core.message.internal.translation;
-import org.eclipse.osee.framework.core.message.OseeImportModelRequest;
+import org.eclipse.osee.framework.core.model.OseeImportModelRequest;
import org.eclipse.osee.framework.core.translation.ITranslator;
import org.eclipse.osee.framework.jdk.core.type.PropertyStore;
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeImportModelResponseTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeImportModelResponseTranslator.java
index 283b485f27..4b28f13319 100644
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeImportModelResponseTranslator.java
+++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/OseeImportModelResponseTranslator.java
@@ -14,8 +14,8 @@ import java.util.ArrayList;
import java.util.List;
import org.eclipse.osee.framework.core.enums.CoreTranslatorId;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
-import org.eclipse.osee.framework.core.message.OseeImportModelResponse;
-import org.eclipse.osee.framework.core.message.TableData;
+import org.eclipse.osee.framework.core.model.OseeImportModelResponse;
+import org.eclipse.osee.framework.core.model.TableData;
import org.eclipse.osee.framework.core.translation.IDataTranslationService;
import org.eclipse.osee.framework.core.translation.ITranslator;
import org.eclipse.osee.framework.jdk.core.type.PropertyStore;
diff --git a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/TableDataTranslator.java b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/TableDataTranslator.java
index 1c5530babc..93c3ce285c 100644
--- a/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/TableDataTranslator.java
+++ b/plugins/org.eclipse.osee.framework.core.message/src/org/eclipse/osee/framework/core/message/internal/translation/TableDataTranslator.java
@@ -12,8 +12,8 @@ package org.eclipse.osee.framework.core.message.internal.translation;
import java.util.ArrayList;
import java.util.List;
-import org.eclipse.osee.framework.core.message.TableData;
import org.eclipse.osee.framework.core.message.TranslationUtil;
+import org.eclipse.osee.framework.core.model.TableData;
import org.eclipse.osee.framework.core.translation.ITranslator;
import org.eclipse.osee.framework.jdk.core.type.PropertyStore;

Back to the top