Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/workitem/WorkItemJsonWriter.java4
-rw-r--r--plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/data/IRelationLink.java (renamed from plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/RelationReadable.java)8
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/editor/action/AddRelationColumnAction.java107
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/editor/action/XViewerRelatedArtifactsColumn.java74
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/massEditor/MassXViewer.java12
-rw-r--r--plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/access/UserGroupImpl.java4
-rw-r--r--plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/proxy/impl/ArtifactReadOnlyImpl.java13
-rw-r--r--plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/relation/Relation.java4
-rw-r--r--plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/ArtifactReadable.java3
-rw-r--r--plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/ArtifactReadableImpl.java3
10 files changed, 213 insertions, 19 deletions
diff --git a/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/workitem/WorkItemJsonWriter.java b/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/workitem/WorkItemJsonWriter.java
index f92fd9db070..e5e7c90c0f8 100644
--- a/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/workitem/WorkItemJsonWriter.java
+++ b/plugins/org.eclipse.osee.ats.rest/src/org/eclipse/osee/ats/rest/internal/workitem/WorkItemJsonWriter.java
@@ -42,6 +42,7 @@ import org.eclipse.osee.framework.core.data.ArtifactToken;
import org.eclipse.osee.framework.core.data.AttributeId;
import org.eclipse.osee.framework.core.data.AttributeTypeToken;
import org.eclipse.osee.framework.core.data.GammaId;
+import org.eclipse.osee.framework.core.data.IRelationLink;
import org.eclipse.osee.framework.core.util.JsonUtil;
import org.eclipse.osee.framework.jdk.core.type.ResultSet;
import org.eclipse.osee.framework.jdk.core.util.DateUtil;
@@ -51,7 +52,6 @@ import org.eclipse.osee.orcs.OrcsApi;
import org.eclipse.osee.orcs.data.ArtifactReadable;
import org.eclipse.osee.orcs.data.AttributeReadable;
import org.eclipse.osee.orcs.data.AttributeTypes;
-import org.eclipse.osee.orcs.data.RelationReadable;
/**
* @author Donald G. Dunne
@@ -236,7 +236,7 @@ public class WorkItemJsonWriter implements MessageBodyWriter<IAtsWorkItem> {
private static void writeTargetedVersion(AtsApi atsApi, JsonGenerator writer, ArtifactReadable action, IAtsWorkItem workItem, List<WorkItemWriterOptions> options) throws IOException, JsonGenerationException, JsonProcessingException {
IAtsTeamWorkflow teamWf = workItem.getParentTeamWorkflow();
if (teamWf != null) {
- ResultSet<RelationReadable> relations =
+ ResultSet<IRelationLink> relations =
action.getRelations(AtsRelationTypes.TeamWorkflowTargetedForVersion_Version);
if (!relations.isEmpty()) {
writer.writeObjectFieldStart("TargetedVersion");
diff --git a/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/RelationReadable.java b/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/data/IRelationLink.java
index 8d33bbb82e0..60048ff1815 100644
--- a/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/RelationReadable.java
+++ b/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/data/IRelationLink.java
@@ -8,21 +8,17 @@
* Contributors:
* Boeing - initial API and implementation
*******************************************************************************/
-package org.eclipse.osee.orcs.data;
+package org.eclipse.osee.framework.core.data;
-import org.eclipse.osee.framework.core.data.IRelationType;
-import org.eclipse.osee.framework.core.data.RelationId;
-import org.eclipse.osee.framework.core.data.RelationTypeId;
import org.eclipse.osee.framework.core.enums.ModificationType;
/**
* @author Donald G. Dunne
*/
-public interface RelationReadable extends RelationId, OrcsReadable {
+public interface IRelationLink extends RelationId {
long getGammaId();
- @Override
ModificationType getModificationType();
RelationTypeId getRelationType();
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/editor/action/AddRelationColumnAction.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/editor/action/AddRelationColumnAction.java
new file mode 100644
index 00000000000..c75d9b4e0f5
--- /dev/null
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/editor/action/AddRelationColumnAction.java
@@ -0,0 +1,107 @@
+/*******************************************************************************
+ * Copyright (c) 2020 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.ui.skynet.artifact.editor.action;
+
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.List;
+import org.eclipse.jface.action.Action;
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.jface.viewers.LabelProvider;
+import org.eclipse.nebula.widgets.xviewer.core.model.CustomizeData;
+import org.eclipse.nebula.widgets.xviewer.core.model.XViewerColumn;
+import org.eclipse.osee.framework.core.data.RelationTypeSide;
+import org.eclipse.osee.framework.core.enums.RelationSide;
+import org.eclipse.osee.framework.core.model.type.RelationType;
+import org.eclipse.osee.framework.skynet.core.relation.RelationTypeManager;
+import org.eclipse.osee.framework.ui.plugin.util.ArrayTreeContentProvider;
+import org.eclipse.osee.framework.ui.skynet.FrameworkImage;
+import org.eclipse.osee.framework.ui.skynet.ToStringViewerSorter;
+import org.eclipse.osee.framework.ui.skynet.artifact.massEditor.MassXViewer;
+import org.eclipse.osee.framework.ui.skynet.widgets.dialog.FilteredCheckboxTreeDialog;
+import org.eclipse.osee.framework.ui.swt.ImageManager;
+import org.eclipse.swt.widgets.TreeColumn;
+
+/**
+ * @author Donald G. Dunne
+ */
+public class AddRelationColumnAction extends Action {
+
+ private final MassXViewer xViewer;
+ private final boolean asToken;
+
+ public AddRelationColumnAction(MassXViewer xViewer, boolean asToken) {
+ super(String.format("Add Related Artifact(s) %s Column", (asToken ? "Token(s)" : "Name(s)")));
+ this.xViewer = xViewer;
+ this.asToken = asToken;
+ }
+
+ @Override
+ public ImageDescriptor getImageDescriptor() {
+ return ImageManager.getImageDescriptor(FrameworkImage.ADD_GREEN);
+ }
+
+ @Override
+ public void run() {
+ TreeColumn insertTreeCol = xViewer.getRightClickSelectedColumn();
+ XViewerColumn insertXCol = (XViewerColumn) insertTreeCol.getData();
+ FilteredCheckboxTreeDialog<RelationTypeSide> dialog =
+ new FilteredCheckboxTreeDialog<RelationTypeSide>("Add Relation Column", "Select Relation Type and Side",
+ getInput(), new ArrayTreeContentProvider(), new RelationSideLabelProvider(), new ToStringViewerSorter());
+ if (dialog.open() == 0) {
+ CustomizeData custData = xViewer.getCustomizeMgr().generateCustDataFromTable();
+ List<XViewerColumn> xCols = custData.getColumnData().getColumns();
+ List<XViewerColumn> newXCols = new ArrayList<>();
+ for (XViewerColumn currXCol : xCols) {
+ if (currXCol.equals(insertXCol)) {
+ for (RelationTypeSide rts : dialog.getChecked()) {
+ XViewerRelatedArtifactsColumn newXCol = new XViewerRelatedArtifactsColumn(rts, asToken);
+ newXCol.setShow(true);
+ newXCol.setXViewer(xViewer);
+ newXCols.add(newXCol);
+ }
+ }
+ newXCols.add(currXCol);
+ }
+ custData.getColumnData().setColumns(newXCols);
+ xViewer.getCustomizeMgr().loadCustomization(custData);
+ xViewer.refresh();
+ }
+ }
+
+ private Collection<RelationTypeSide> getInput() {
+ List<RelationTypeSide> sides = new ArrayList<>();
+ for (RelationType type : RelationTypeManager.getAllTypes()) {
+ sides.add(new RelationTypeSide(type, RelationSide.SIDE_A));
+ sides.add(new RelationTypeSide(type, RelationSide.SIDE_B));
+ }
+ return sides;
+ }
+
+ private class RelationSideLabelProvider extends LabelProvider {
+
+ @Override
+ public String getText(Object element) {
+ if (element instanceof RelationTypeSide) {
+ RelationTypeSide typeSide = ((RelationTypeSide) element);
+ return getTypeSideName(typeSide);
+ }
+ return element.toString();
+ }
+
+ }
+
+ public static String getTypeSideName(RelationTypeSide typeSide) {
+ RelationType type = RelationTypeManager.getType(typeSide.getRelationType());
+ return String.format("%s - %s", typeSide.getRelationType().getName(),
+ (typeSide.getSide().isSideA() ? type.getSideAName() : type.getSideBName()));
+ }
+}
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/editor/action/XViewerRelatedArtifactsColumn.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/editor/action/XViewerRelatedArtifactsColumn.java
new file mode 100644
index 00000000000..1f40a10b67d
--- /dev/null
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/editor/action/XViewerRelatedArtifactsColumn.java
@@ -0,0 +1,74 @@
+/*******************************************************************************
+ * Copyright (c) 2020 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.ui.skynet.artifact.editor.action;
+
+import java.util.List;
+import org.eclipse.nebula.widgets.xviewer.XViewerValueColumn;
+import org.eclipse.nebula.widgets.xviewer.core.model.SortDataType;
+import org.eclipse.nebula.widgets.xviewer.core.model.XViewerAlign;
+import org.eclipse.nebula.widgets.xviewer.core.model.XViewerColumn;
+import org.eclipse.osee.framework.core.data.RelationTypeSide;
+import org.eclipse.osee.framework.skynet.core.artifact.Artifact;
+
+/**
+ * @author Donald G. Dunne
+ */
+public class XViewerRelatedArtifactsColumn extends XViewerValueColumn {
+
+ private final static String ID = "osee.framework.related.artifacts";
+ private final RelationTypeSide rts;
+ private final boolean asToken;
+
+ public XViewerRelatedArtifactsColumn(RelationTypeSide rts, boolean asToken) {
+ super(ID, "", 90, XViewerAlign.Left, false, SortDataType.String, false,
+ "Show delimited list of artifacts on other side of relation.");
+ this.rts = rts;
+ this.asToken = asToken;
+ }
+
+ @Override
+ public String getColumnText(Object element, XViewerColumn column, int columnIndex) {
+ if (element instanceof Artifact) {
+ List<Artifact> relatedArtifacts = ((Artifact) element).getRelatedArtifacts(rts);
+ StringBuilder sb = new StringBuilder();
+ for (Artifact art : relatedArtifacts) {
+ if (!asToken) {
+ sb.append("[");
+ }
+ sb.append(asToken ? art.toStringWithId() : art.getName());
+ if (!asToken) {
+ sb.append("], [");
+ } else {
+ sb.append(", ");
+ }
+ }
+ if (asToken) {
+ return sb.toString().replaceFirst(", $", "");
+ } else {
+ return sb.toString().replaceFirst(", \\[$", "");
+ }
+ }
+ return "";
+ }
+
+ @Override
+ public String getName() {
+ return AddRelationColumnAction.getTypeSideName(rts);
+ }
+
+ @Override
+ public XViewerRelatedArtifactsColumn copy() {
+ XViewerRelatedArtifactsColumn col = new XViewerRelatedArtifactsColumn(rts, asToken);
+ col.setXViewer(getXViewer());
+ return col;
+ }
+
+}
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/massEditor/MassXViewer.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/massEditor/MassXViewer.java
index 7476fcb6cc3..58518d7672f 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/massEditor/MassXViewer.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/artifact/massEditor/MassXViewer.java
@@ -18,6 +18,7 @@ import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.eclipse.jface.action.Action;
+import org.eclipse.jface.action.GroupMarker;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
@@ -44,6 +45,7 @@ import org.eclipse.osee.framework.ui.plugin.util.AWorkbench;
import org.eclipse.osee.framework.ui.skynet.ArtifactDoubleClick;
import org.eclipse.osee.framework.ui.skynet.artifact.ArtifactPromptChange;
import org.eclipse.osee.framework.ui.skynet.artifact.ArtifactTransfer;
+import org.eclipse.osee.framework.ui.skynet.artifact.editor.action.AddRelationColumnAction;
import org.eclipse.osee.framework.ui.skynet.change.ChangeUiUtil;
import org.eclipse.osee.framework.ui.skynet.internal.Activator;
import org.eclipse.osee.framework.ui.skynet.menu.GlobalMenu;
@@ -72,7 +74,6 @@ import org.eclipse.swt.widgets.TreeItem;
*/
public class MassXViewer extends XViewer implements IMassViewerEventHandler {
- private String title;
private final Set<Artifact> artifacts = new HashSet<>(50);
private final IDirtiableEditor editor;
private final List<String> EXTRA_COLUMNS = Arrays.asList(new String[] {"GUID", "Artifact Type"});
@@ -441,4 +442,13 @@ public class MassXViewer extends XViewer implements IMassViewerEventHandler {
super.refreshColumnsWithPreCompute(getInput());
}
+ @Override
+ public void updateMenuActionsForHeader() {
+ MenuManager mm = getMenuManager();
+ mm.insert(0, new GroupMarker("TOP"));
+ mm.insertBefore("TOP", new AddRelationColumnAction(this, false));
+ mm.insertBefore("TOP", new AddRelationColumnAction(this, true));
+ mm.insertBefore("TOP", new Separator());
+ }
+
}
diff --git a/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/access/UserGroupImpl.java b/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/access/UserGroupImpl.java
index a1e101b4efb..edd2aaecd42 100644
--- a/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/access/UserGroupImpl.java
+++ b/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/access/UserGroupImpl.java
@@ -14,6 +14,7 @@ import java.util.Collection;
import org.eclipse.osee.framework.core.data.ArtifactToken;
import org.eclipse.osee.framework.core.data.ArtifactTypeToken;
import org.eclipse.osee.framework.core.data.BranchId;
+import org.eclipse.osee.framework.core.data.IRelationLink;
import org.eclipse.osee.framework.core.data.UserId;
import org.eclipse.osee.framework.core.data.UserToken;
import org.eclipse.osee.framework.core.enums.CoreArtifactTypes;
@@ -22,7 +23,6 @@ import org.eclipse.osee.framework.core.util.AbstractUserGroupImpl;
import org.eclipse.osee.framework.jdk.core.util.Collections;
import org.eclipse.osee.framework.jdk.core.util.Conditions;
import org.eclipse.osee.orcs.data.ArtifactReadable;
-import org.eclipse.osee.orcs.data.RelationReadable;
/**
* @author Donald G. Dunne
@@ -62,7 +62,7 @@ public class UserGroupImpl extends AbstractUserGroupImpl {
@Override
public boolean isMember(Long id) {
checkGroupExists();
- for (RelationReadable rel : getArtifact().getRelations(CoreRelationTypes.Users_User)) {
+ for (IRelationLink rel : getArtifact().getRelations(CoreRelationTypes.Users_User)) {
if (rel.getArtIdB() == id.intValue()) {
return true;
}
diff --git a/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/proxy/impl/ArtifactReadOnlyImpl.java b/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/proxy/impl/ArtifactReadOnlyImpl.java
index 56034d7e0b7..7a55a9ee123 100644
--- a/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/proxy/impl/ArtifactReadOnlyImpl.java
+++ b/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/proxy/impl/ArtifactReadOnlyImpl.java
@@ -23,6 +23,7 @@ import org.eclipse.osee.framework.core.data.AttributeId;
import org.eclipse.osee.framework.core.data.AttributeTypeId;
import org.eclipse.osee.framework.core.data.AttributeTypeToken;
import org.eclipse.osee.framework.core.data.BranchId;
+import org.eclipse.osee.framework.core.data.IRelationLink;
import org.eclipse.osee.framework.core.data.IRelationType;
import org.eclipse.osee.framework.core.data.RelationTypeId;
import org.eclipse.osee.framework.core.data.RelationTypeSide;
@@ -45,7 +46,6 @@ import org.eclipse.osee.orcs.core.internal.relation.Relation;
import org.eclipse.osee.orcs.core.internal.relation.RelationManager;
import org.eclipse.osee.orcs.data.ArtifactReadable;
import org.eclipse.osee.orcs.data.AttributeReadable;
-import org.eclipse.osee.orcs.data.RelationReadable;
/**
* @author Megumi Telles
@@ -265,9 +265,14 @@ public class ArtifactReadOnlyImpl extends AbstractProxied<Artifact> implements A
}
@Override
- public ResultSet<RelationReadable> getRelations(RelationTypeSide typeAndSide) {
- return new ResultSetList<>(
- Collections.castAll(getRelationManager().getRelations(getProxiedObject(), DeletionFlag.EXCLUDE_DELETED)));
+ public ResultSet<IRelationLink> getRelations(RelationTypeSide typeAndSide) {
+ List<IRelationLink> rels = new ArrayList<>();
+ for (IRelationLink link : getRelationManager().getRelations(getProxiedObject(), DeletionFlag.EXCLUDE_DELETED)) {
+ if (link.getRelationType().equals(typeAndSide.getRelationType())) {
+ rels.add(link);
+ }
+ }
+ return new ResultSetList<>(Collections.castAll(rels));
}
@Override
diff --git a/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/relation/Relation.java b/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/relation/Relation.java
index 7b0cff5fec8..df6a04a7fc4 100644
--- a/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/relation/Relation.java
+++ b/plugins/org.eclipse.osee.orcs.core/src/org/eclipse/osee/orcs/core/internal/relation/Relation.java
@@ -12,6 +12,7 @@ package org.eclipse.osee.orcs.core.internal.relation;
import org.eclipse.osee.framework.core.data.ApplicabilityId;
import org.eclipse.osee.framework.core.data.ArtifactId;
+import org.eclipse.osee.framework.core.data.IRelationLink;
import org.eclipse.osee.framework.core.data.IRelationType;
import org.eclipse.osee.framework.core.data.RelationTypeId;
import org.eclipse.osee.framework.core.data.RelationTypeToken;
@@ -20,12 +21,11 @@ import org.eclipse.osee.framework.core.enums.RelationSide;
import org.eclipse.osee.orcs.core.ds.HasOrcsData;
import org.eclipse.osee.orcs.core.ds.RelationData;
import org.eclipse.osee.orcs.core.internal.util.OrcsWriteable;
-import org.eclipse.osee.orcs.data.RelationReadable;
/**
* @author Roberto E. Escobar
*/
-public class Relation implements RelationReadable, HasOrcsData<RelationTypeToken, RelationData>, OrcsWriteable {
+public class Relation implements IRelationLink, HasOrcsData<RelationTypeToken, RelationData>, OrcsWriteable {
private RelationData relationData;
public Relation(RelationData relationData) {
diff --git a/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/ArtifactReadable.java b/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/ArtifactReadable.java
index 4f810dd1d31..1a3d5bab7aa 100644
--- a/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/ArtifactReadable.java
+++ b/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/ArtifactReadable.java
@@ -21,6 +21,7 @@ import org.eclipse.osee.framework.core.data.ArtifactToken;
import org.eclipse.osee.framework.core.data.ArtifactTypeToken;
import org.eclipse.osee.framework.core.data.AttributeId;
import org.eclipse.osee.framework.core.data.AttributeTypeToken;
+import org.eclipse.osee.framework.core.data.IRelationLink;
import org.eclipse.osee.framework.core.data.RelationTypeId;
import org.eclipse.osee.framework.core.data.RelationTypeSide;
import org.eclipse.osee.framework.core.data.TransactionId;
@@ -142,7 +143,7 @@ public interface ArtifactReadable extends ArtifactToken, HasTransaction, OrcsRea
String getRationale(RelationTypeSide typeAndSide, ArtifactReadable readable);
- ResultSet<RelationReadable> getRelations(RelationTypeSide relationTypeSide);
+ ResultSet<IRelationLink> getRelations(RelationTypeSide relationTypeSide);
Collection<Long> getChildrentIds();
diff --git a/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/ArtifactReadableImpl.java b/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/ArtifactReadableImpl.java
index b9e8b8cdeae..190c72b1d27 100644
--- a/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/ArtifactReadableImpl.java
+++ b/plugins/org.eclipse.osee.orcs/src/org/eclipse/osee/orcs/data/ArtifactReadableImpl.java
@@ -25,6 +25,7 @@ import org.eclipse.osee.framework.core.data.AttributeTypeGeneric;
import org.eclipse.osee.framework.core.data.AttributeTypeToken;
import org.eclipse.osee.framework.core.data.BranchId;
import org.eclipse.osee.framework.core.data.IAttribute;
+import org.eclipse.osee.framework.core.data.IRelationLink;
import org.eclipse.osee.framework.core.data.RelationTypeId;
import org.eclipse.osee.framework.core.data.RelationTypeSide;
import org.eclipse.osee.framework.core.data.RelationTypeToken;
@@ -338,7 +339,7 @@ public final class ArtifactReadableImpl extends BaseId implements ArtifactReadab
}
@Override
- public ResultSet<RelationReadable> getRelations(RelationTypeSide relationTypeSide) {
+ public ResultSet<IRelationLink> getRelations(RelationTypeSide relationTypeSide) {
throw new UnsupportedOperationException();
}

Back to the top