[cooja] plugins/VariableWatcher: Also disble addr and size input fields when monitoring

This commit is contained in:
Enrico Joerns 2014-08-28 18:21:45 +02:00
parent 33b211c0b3
commit 42ad188b69

View file

@ -483,6 +483,8 @@ public class VariableWatcher extends VisPlugin implements MotePlugin {
varAddrCheckBox.setEnabled(true);
readButton.setEnabled(true);
writeButton.setEnabled(true);
varAddressField.setEnabled(true);
varSizeField.setEnabled(true);
if (!varAddrCheckBox.isSelected()) {
varNameCombo.setEnabled(true);
}
@ -523,6 +525,8 @@ public class VariableWatcher extends VisPlugin implements MotePlugin {
varAddrCheckBox.setEnabled(false);
readButton.setEnabled(false);
writeButton.setEnabled(false);
varAddressField.setEnabled(false);
varSizeField.setEnabled(false);
varNameCombo.setEnabled(false);
}
});