Commit 6c3468b4 authored by Nico Mack's avatar Nico Mack

Changes caused by changes in tetherable interface

parent 1e2b36bf
......@@ -63,7 +63,7 @@ public class GaugeWidget extends TetherableWidget implements InputChangeListener
@Override
public void inputChanged(InputEvent input) {
if (!this.isTethered()) {
Variable source = (Variable) input.getSource();
Variable<?> source = input.getSource();
double value = (Double) source.getValue();
LOGGER.trace("{} = {}", source.getName(), value); //$NON-NLS-1$
......@@ -74,8 +74,8 @@ public class GaugeWidget extends TetherableWidget implements InputChangeListener
// ---------------------------------------------------------------------------
@Override
public void separateFrom(Tetherable tethered) {
super.separateFrom(tethered);
public void separateFrom(Tetherable tethered, boolean propagate) {
super.separateFrom(tethered, propagate);
if (!this.isTethered()) {
InputEvent event = new InputEvent(this.variable);
this.inputChanged(event);
......
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