Commit 06b2140a authored by Valérie Maquil's avatar Valérie Maquil

added ConditionalTextBox corona

parent 3c1d7acb
......@@ -36,6 +36,7 @@ import lu.list.itis.dkd.tui.utility.PropertiesFetcher;
import lu.list.itis.dkd.tui.widget.BaseWidget;
import lu.list.itis.dkd.tui.widget.ValueWidget;
import lu.list.itis.dkd.tui.widget.corona.ConditionalCorona;
import lu.list.itis.dkd.tui.widget.corona.ConditionalTextBox;
import com.google.common.base.Preconditions;
......@@ -141,6 +142,9 @@ public class Scenario {
for (final ConditionalCorona corona : widget.getCoronas(ConditionalCorona.class)) {
corona.getTriggers().forEach(trigger -> corona.addVariable(retrieveVariableByName(trigger)));
}
for (final ConditionalTextBox corona : widget.getCoronas(ConditionalTextBox.class)) {
corona.getTriggers().forEach(trigger -> corona.addVariable(retrieveVariableByName(trigger)));
}
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment