Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.ote.ui.test.manager/src/org/eclipse/osee/ote/ui/test/manager/batches/navigate/TestBatchData.java')
-rw-r--r--plugins/org.eclipse.osee.ote.ui.test.manager/src/org/eclipse/osee/ote/ui/test/manager/batches/navigate/TestBatchData.java56
1 files changed, 56 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.ote.ui.test.manager/src/org/eclipse/osee/ote/ui/test/manager/batches/navigate/TestBatchData.java b/plugins/org.eclipse.osee.ote.ui.test.manager/src/org/eclipse/osee/ote/ui/test/manager/batches/navigate/TestBatchData.java
new file mode 100644
index 00000000000..f83fa55f771
--- /dev/null
+++ b/plugins/org.eclipse.osee.ote.ui.test.manager/src/org/eclipse/osee/ote/ui/test/manager/batches/navigate/TestBatchData.java
@@ -0,0 +1,56 @@
+/*******************************************************************************
+ * 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.ote.ui.test.manager.batches.navigate;
+
+import java.net.URI;
+import org.eclipse.osee.framework.ui.plugin.xnavigate.XNavigateItem;
+
+/**
+ * @author Roberto E. Escobar
+ */
+public class TestBatchData {
+
+ private String name;
+ private XNavigateItem itemFolder;
+ private URI testBatchFile;
+ private URI projectSetFile;
+
+ protected TestBatchData(XNavigateItem itemFolder, String name, URI projectSetFile, URI testBatchFile) {
+ this.name = name;
+ this.testBatchFile = testBatchFile;
+ this.projectSetFile = projectSetFile;
+ this.itemFolder = itemFolder;
+ }
+
+ public String getId() {
+ return name;
+ }
+
+ public URI getTestBatchFile() {
+ return testBatchFile;
+ }
+
+ public URI getProjectSetFile() {
+ return projectSetFile;
+ }
+
+ public XNavigateItem getXNavigateItem() {
+ return itemFolder;
+ }
+
+ public void dispose() {
+ XNavigateItem parent = itemFolder.getParent();
+ if (parent != null) {
+ parent.removeChild(itemFolder);
+ itemFolder.setParent(null);
+ }
+ }
+}

Back to the top