Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2018-03-02 07:34:06 -0500
committerHenrik Rentz-Reichert2018-03-02 07:34:06 -0500
commitbaa0341750e7d06d6d22bf844d03b6d8d5c14e16 (patch)
treea524b9aa0d923fa3478a0bc166c93045bafc55a5
parenteb4cd99f0da3c13111403448fec60a5e66056a92 (diff)
downloadorg.eclipse.etrice-baa0341750e7d06d6d22bf844d03b6d8d5c14e16.tar.gz
org.eclipse.etrice-baa0341750e7d06d6d22bf844d03b6d8d5c14e16.tar.xz
org.eclipse.etrice-baa0341750e7d06d6d22bf844d03b6d8d5c14e16.zip
Bug 531923 - [beahavior.ui] interface items without incoming messages
should not occur in transition dialog Change-Id: I61562e79073879f59e1217a5bce3b454a02ca6e1
-rw-r--r--plugins/org.eclipse.etrice.ui.behavior.fsm/src/org/eclipse/etrice/ui/behavior/fsm/dialogs/TransitionTriggerCompartment.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.etrice.ui.behavior.fsm/src/org/eclipse/etrice/ui/behavior/fsm/dialogs/TransitionTriggerCompartment.java b/plugins/org.eclipse.etrice.ui.behavior.fsm/src/org/eclipse/etrice/ui/behavior/fsm/dialogs/TransitionTriggerCompartment.java
index 36bc320e9..d86bc6790 100644
--- a/plugins/org.eclipse.etrice.ui.behavior.fsm/src/org/eclipse/etrice/ui/behavior/fsm/dialogs/TransitionTriggerCompartment.java
+++ b/plugins/org.eclipse.etrice.ui.behavior.fsm/src/org/eclipse/etrice/ui/behavior/fsm/dialogs/TransitionTriggerCompartment.java
@@ -364,7 +364,9 @@ public class TransitionTriggerCompartment {
memberAwareConfiguration.configureMemberAwareness(interfaceCombo);
for (AbstractInterfaceItem item : interfaceItems) {
- interfaceCombo.add(item.getDisplayName());
+ if (!item.getAllIncomingAbstractMessages().isEmpty()) {
+ interfaceCombo.add(item.getDisplayName());
+ }
}
}

Back to the top