Commit beb28ec3 authored by Nico Mack's avatar Nico Mack

Re-activated old version of getVariables method

parent 43e6c743
...@@ -85,15 +85,18 @@ public class DisplayMarker extends InfoMarker implements InputChangeListener, Va ...@@ -85,15 +85,18 @@ public class DisplayMarker extends InfoMarker implements InputChangeListener, Va
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
public Collection<Variable<?>> getVariables() { public Collection<Variable<?>> getVariables() {
// Collection<Variable<?>> variables = new ArrayList<>(); Collection<Variable<?>> variables = new ArrayList<>();
// List<ValueCorona> displays = this.getCoronas(ValueCorona.class); this.dispatcher.clear();
// for (ValueCorona display : displays) {
// Variable<?> variable = display.getVariable(); List<ValueCorona> displays = this.getCoronas(ValueCorona.class);
// if (variable != null) { for (ValueCorona display : displays) {
// variables.add(variable); Variable<?> variable = display.getVariable();
// } if (variable != null) {
// } variables.add(variable);
return variables.values(); this.dispatcher.put(variable.getName(), display);
}
}
return variables;
} }
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
......
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