浏览代码

Bugfix:NPE in OperationMockup

Andreas Mülder 12 年之前
父节点
当前提交
e159bd03fb

+ 1 - 1
plugins/org.yakindu.sct.simulation.ui/src/org/yakindu/sct/simulation/ui/model/presenter/DefaultDynamicNotationHandler.java

@@ -123,7 +123,7 @@ public class DefaultDynamicNotationHandler extends AbstractDynamicNotationHandle
 					} else if (notification.getFeature() == EXECUTION_CONTEXT__SUSPENDED_ELEMENTS) {
 						if (eventType == ADD || eventType == ADD_MANY) {
 							getHighlightingSupport().fadeIn((EObject) notification.getNewValue(), SUSPENDED_PARAMS);
-						} else if (eventType == REMOVE || eventType == REMOVE_MANY) {
+						} else if (eventType == REMOVE) {
 							getHighlightingSupport().fadeOut((EObject) notification.getOldValue(), SUSPENDED_PARAMS);
 						}
 					}