Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2021-02-12 17:19:32 +0000
committerRyan D. Brooks2021-02-12 17:19:32 +0000
commitf671349d8e024ce67d29775fea08bfbcc058a16b (patch)
tree0681e04671f06ee920926eef44959ee9dc9b61d1 /plugins/org.eclipse.osee.framework.core.dsl.ui.integration
parent33ada4bb6feaf091890ec26f5025d3cf18bbb9a1 (diff)
downloadorg.eclipse.osee-f671349d8e024ce67d29775fea08bfbcc058a16b.tar.gz
org.eclipse.osee-f671349d8e024ce67d29775fea08bfbcc058a16b.tar.xz
org.eclipse.osee-f671349d8e024ce67d29775fea08bfbcc058a16b.zip
refactor[TW18065]: Rename IAccessContextId to AccessContextToken
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl.ui.integration')
-rw-r--r--plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/OseeDslRoleContextProvider.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/OseeDslRoleContextProvider.java b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/OseeDslRoleContextProvider.java
index 7b154060cb8..deef33ade6e 100644
--- a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/OseeDslRoleContextProvider.java
+++ b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/OseeDslRoleContextProvider.java
@@ -25,7 +25,7 @@ import java.util.Set;
import java.util.logging.Level;
import org.eclipse.emf.common.util.EList;
import org.eclipse.osee.framework.core.data.ArtifactToken;
-import org.eclipse.osee.framework.core.data.IAccessContextId;
+import org.eclipse.osee.framework.core.data.AccessContextToken;
import org.eclipse.osee.framework.core.dsl.integration.OseeDslProvider;
import org.eclipse.osee.framework.core.dsl.integration.RoleContextProvider;
import org.eclipse.osee.framework.core.dsl.oseeDsl.AccessContext;
@@ -55,7 +55,7 @@ public class OseeDslRoleContextProvider implements RoleContextProvider {
}
@Override
- public Collection<? extends IAccessContextId> getContextId(ArtifactToken user) {
+ public Collection<? extends AccessContextToken> getContextId(ArtifactToken user) {
OseeDsl dsl = null;
try {
dsl = dslProvider.getDsl();
@@ -64,7 +64,7 @@ public class OseeDslRoleContextProvider implements RoleContextProvider {
return Collections.emptyList();
}
- Collection<IAccessContextId> toReturn = Collections.emptyList();
+ Collection<AccessContextToken> toReturn = Collections.emptyList();
EList<Role> roleDeclarations = dsl.getRoleDeclarations();
if (!roleDeclarations.isEmpty()) {
@@ -104,7 +104,7 @@ public class OseeDslRoleContextProvider implements RoleContextProvider {
for (Role role : applicableRoles) {
for (ReferencedContext ref : role.getReferencedContexts()) {
String contextName = ref.getAccessContextRef();
- toReturn.add(IAccessContextId.valueOf(accessContextMap.get(contextName), contextName));
+ toReturn.add(AccessContextToken.valueOf(accessContextMap.get(contextName), contextName));
}
}
}

Back to the top