summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Thoms2011-08-22 15:52:40 (EDT)
committer Karsten Thoms2011-08-22 15:52:40 (EDT)
commitc0c377c9dd7026328c7a5b01263ea140674ec6a8 (patch)
treec4b10bdacd54718918a6b51f384895f6d4e34c18
parent101f8474968f0971b1d198ab8bf71148b86792ff (diff)
downloadorg.eclipse.mwe-c0c377c9dd7026328c7a5b01263ea140674ec6a8.zip
org.eclipse.mwe-c0c377c9dd7026328c7a5b01263ea140674ec6a8.tar.gz
org.eclipse.mwe-c0c377c9dd7026328c7a5b01263ea140674ec6a8.tar.bz2
Fix for bug#352734
-rw-r--r--plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/container/ConditionalComponent.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/container/ConditionalComponent.java b/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/container/ConditionalComponent.java
index 0b06fc3..0c21bce 100644
--- a/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/container/ConditionalComponent.java
+++ b/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/container/ConditionalComponent.java
@@ -12,6 +12,7 @@ package org.eclipse.emf.mwe.core.container;
import java.util.Iterator;
+import org.eclipse.emf.mwe.core.ConfigurationException;
import org.eclipse.emf.mwe.core.WorkflowComponent;
import org.eclipse.emf.mwe.core.WorkflowContext;
import org.eclipse.emf.mwe.core.WorkflowInterruptedException;
@@ -66,4 +67,13 @@ public abstract class ConditionalComponent extends CompositeComponent implements
}
}
+ @Override
+ public void checkConfiguration(Issues issues) throws ConfigurationException {
+ super.checkConfiguration(issues);
+
+ // Do not forget to check the config on the elseComp
+ if (elseComp != null) {
+ elseComp.checkConfiguration(issues);
+ }
+ }
}