Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeremie.tatibouet2016-09-02 13:17:12 +0000
committerjeremie.tatibouet2016-09-02 13:17:12 +0000
commit8b57b09210270b3bb5b7ffeda65201c600f326a5 (patch)
tree4a94b58d6c4c694b15dd6cfb74c42e3ea75c354c
parent411cd972c40893688d911e8424d2776b1aee3f52 (diff)
downloadorg.eclipse.papyrus-8b57b09210270b3bb5b7ffeda65201c600f326a5.tar.gz
org.eclipse.papyrus-8b57b09210270b3bb5b7ffeda65201c600f326a5.tar.xz
org.eclipse.papyrus-8b57b09210270b3bb5b7ffeda65201c600f326a5.zip
[FIX] Invalid check for trigger with ports when the event occurrence
that is received is a CS_SignalEventOccurrence. Change-Id: Iec8726c61a1027bfd1080e7ad9a1d84a58fcc753 Signed-off-by: jeremie.tatibouet <jeremie.tatibouet@cea.fr>
-rw-r--r--extraplugins/moka/org.eclipse.papyrus.moka.fuml.statemachines/src/org/eclipse/papyrus/moka/fuml/statemachines/Semantics/StateMachines/StateMachineSemanticVisitor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/extraplugins/moka/org.eclipse.papyrus.moka.fuml.statemachines/src/org/eclipse/papyrus/moka/fuml/statemachines/Semantics/StateMachines/StateMachineSemanticVisitor.java b/extraplugins/moka/org.eclipse.papyrus.moka.fuml.statemachines/src/org/eclipse/papyrus/moka/fuml/statemachines/Semantics/StateMachines/StateMachineSemanticVisitor.java
index 5fefd711219..4d349b44260 100644
--- a/extraplugins/moka/org.eclipse.papyrus.moka.fuml.statemachines/src/org/eclipse/papyrus/moka/fuml/statemachines/Semantics/StateMachines/StateMachineSemanticVisitor.java
+++ b/extraplugins/moka/org.eclipse.papyrus.moka.fuml.statemachines/src/org/eclipse/papyrus/moka/fuml/statemachines/Semantics/StateMachines/StateMachineSemanticVisitor.java
@@ -161,7 +161,7 @@ public abstract class StateMachineSemanticVisitor extends SemanticVisitor {
int j = 0;
boolean matchingPort = false;
while(j < trigger.getPorts().size() & !matchingPort){
- if(((CS_SignalInstance)signalEventOccurrence.signalInstance).interactionPoint == trigger.getPorts().get(j)){
+ if(((CS_SignalInstance)signalEventOccurrence.signalInstance).interactionPoint.definingPort == trigger.getPorts().get(j)){
matchingPort = true;
}
j = j + 1;

Back to the top