[cooja] plugins/VariableWatcher: Also disble addr and size input fields when monitoring
This commit is contained in:
parent
33b211c0b3
commit
42ad188b69
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue