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