mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-02 19:29:30 +00:00
[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);
|
varAddrCheckBox.setEnabled(true);
|
||||||
readButton.setEnabled(true);
|
readButton.setEnabled(true);
|
||||||
writeButton.setEnabled(true);
|
writeButton.setEnabled(true);
|
||||||
|
varAddressField.setEnabled(true);
|
||||||
|
varSizeField.setEnabled(true);
|
||||||
if (!varAddrCheckBox.isSelected()) {
|
if (!varAddrCheckBox.isSelected()) {
|
||||||
varNameCombo.setEnabled(true);
|
varNameCombo.setEnabled(true);
|
||||||
}
|
}
|
||||||
@ -523,6 +525,8 @@ public class VariableWatcher extends VisPlugin implements MotePlugin {
|
|||||||
varAddrCheckBox.setEnabled(false);
|
varAddrCheckBox.setEnabled(false);
|
||||||
readButton.setEnabled(false);
|
readButton.setEnabled(false);
|
||||||
writeButton.setEnabled(false);
|
writeButton.setEnabled(false);
|
||||||
|
varAddressField.setEnabled(false);
|
||||||
|
varSizeField.setEnabled(false);
|
||||||
varNameCombo.setEnabled(false);
|
varNameCombo.setEnabled(false);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user