Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/scoping/RoomScopeProvider.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/scoping/RoomScopeProvider.java b/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/scoping/RoomScopeProvider.java
index 11fcad7e7..bbb627cf4 100644
--- a/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/scoping/RoomScopeProvider.java
+++ b/plugins/org.eclipse.etrice.core.room/src/org/eclipse/etrice/core/scoping/RoomScopeProvider.java
@@ -26,6 +26,7 @@ import org.eclipse.etrice.core.fsm.scoping.FSMScopeProvider;
import org.eclipse.etrice.core.room.ActorClass;
import org.eclipse.etrice.core.room.ActorContainerClass;
import org.eclipse.etrice.core.room.ActorRef;
+import org.eclipse.etrice.core.room.Binding;
import org.eclipse.etrice.core.room.BindingEndPoint;
import org.eclipse.etrice.core.room.CompoundProtocolClass;
import org.eclipse.etrice.core.room.ExternalPort;
@@ -258,6 +259,22 @@ public class RoomScopeProvider extends FSMScopeProvider {
return new SimpleScope(IScope.NULLSCOPE, scopes);
}
+
+ public IScope scope_BindingEndPoint_port(Binding bind, EReference ref) {
+ if(bind.getEndpoint1() != null){
+ return scope_BindingEndPoint_port(bind.getEndpoint1(), ref);
+ }
+
+ return IScope.NULLSCOPE;
+ }
+
+ public IScope scope_BindingEndPoint_actorRef(Binding bind, EReference ref) {
+ if(bind.getEndpoint1() != null){
+ return scope_BindingEndPoint_actorRef(bind.getEndpoint1(), ref);
+ }
+
+ return IScope.NULLSCOPE;
+ }
/**
* returns a flat list of Port scopes for a {@link BindingEndPoint}

Back to the top